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