#2D0A8F
Color Details
HEX
#2D0A8F
RGB
rgb(45, 10, 143)
HSL
hsl(256, 87%, 30%)
CMYK
cmyk(69%, 93%, 0%, 44%)
Best text on this color
#FFFFFF (CR 13.53:1)
Determined by WCAG contrast ratio
Readability Previews
Monochrome
Analogous
Complementary Mix
About #2D0A8F
#2D0A8F converts to RGB(45, 10, 143) and HSL(256, 87%, 30%). 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).
#2D0A8F FAQs
What is the RGB value of #2D0A8F?
RGB: 45, 10, 143. Copy as CSS:
rgb(45, 10, 143)
Is #2D0A8F a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #2D0A8F?
Complement: #6c8f0a.
Does #2D0A8F have good contrast on white or black?
On white: 13.53:1 (AAA (normal text)).
On black: 1.55:1 (Fails AA).