#2A8EDF

Color Details

HEX
#2A8EDF
RGB
rgb(42, 142, 223)
HSL
hsl(207, 74%, 52%)
CMYK
cmyk(81%, 36%, 0%, 13%)
Best text on this color #000000 (CR 6.03:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #2A8EDF swatch

Embed this swatch

Use this HTML on your site (free with a link):

Open image

About #2A8EDF

#2A8EDF converts to RGB(42, 142, 223) and HSL(207, 74%, 52%). This page provides quick readability checks, related hues (complementary and analogous), and ready-made palettes so you can drop the color into UI components, images, or CSS immediately.

Tip: Use the “Best text” chip above as a safe default foreground on this color (chosen by contrast ratio).

#2A8EDF FAQs

What is the RGB value of #2A8EDF?
RGB: 42, 142, 223. Copy as CSS: rgb(42, 142, 223)
Is #2A8EDF a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #2A8EDF?
Complement: #df7c2a.
Does #2A8EDF have good contrast on white or black?
On white: 3.48:1 (AA (large text)). On black: 6.03:1 (AA (normal text)).