#2D0E7B

Color Details

HEX
#2D0E7B
RGB
rgb(45, 14, 123)
HSL
hsl(257, 80%, 27%)
CMYK
cmyk(63%, 89%, 0%, 52%)
Best text on this color #FFFFFF (CR 14.38:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #2D0E7B swatch

Embed this swatch

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

Open image

About #2D0E7B

#2D0E7B converts to RGB(45, 14, 123) and HSL(257, 80%, 27%). 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).

#2D0E7B FAQs

What is the RGB value of #2D0E7B?
RGB: 45, 14, 123. Copy as CSS: rgb(45, 14, 123)
Is #2D0E7B a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #2D0E7B?
Complement: #5d7c0e.
Does #2D0E7B have good contrast on white or black?
On white: 14.38:1 (AAA (normal text)). On black: 1.46:1 (Fails AA).