#281D4C
Color Details
HEX
#281D4C
RGB
rgb(40, 29, 76)
HSL
hsl(254, 45%, 21%)
CMYK
cmyk(47%, 62%, 0%, 70%)
Best text on this color
#FFFFFF (CR 15.32:1)
Determined by WCAG contrast ratio
Readability Previews
Monochrome
Analogous
Complementary Mix
About #281D4C
#281D4C converts to RGB(40, 29, 76) and HSL(254, 45%, 21%). 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).
#281D4C FAQs
What is the RGB value of #281D4C?
RGB: 40, 29, 76. Copy as CSS:
rgb(40, 29, 76)
Is #281D4C a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #281D4C?
Complement: #424e1d.
Does #281D4C have good contrast on white or black?
On white: 15.32:1 (AAA (normal text)).
On black: 1.37:1 (Fails AA).