#2A7DD5

Color Details

HEX
#2A7DD5
RGB
rgb(42, 125, 213)
HSL
hsl(211, 67%, 50%)
CMYK
cmyk(80%, 41%, 0%, 16%)
Best text on this color #000000 (CR 4.99:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #2A7DD5 swatch

Embed this swatch

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

Open image

About #2A7DD5

#2A7DD5 converts to RGB(42, 125, 213) and HSL(211, 67%, 50%). 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).

#2A7DD5 FAQs

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