#2E7FDB

Color Details

HEX
#2E7FDB
RGB
rgb(46, 127, 219)
HSL
hsl(212, 71%, 52%)
CMYK
cmyk(79%, 42%, 0%, 14%)
Best text on this color #000000 (CR 5.17:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #2E7FDB swatch

Embed this swatch

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

Open image

About #2E7FDB

#2E7FDB converts to RGB(46, 127, 219) and HSL(212, 71%, 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).

#2E7FDB FAQs

What is the RGB value of #2E7FDB?
RGB: 46, 127, 219. Copy as CSS: rgb(46, 127, 219)
Is #2E7FDB a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #2E7FDB?
Complement: #dc8a2e.
Does #2E7FDB have good contrast on white or black?
On white: 4.06:1 (AA (large text)). On black: 5.17:1 (AA (normal text)).