#281B78#281B78
#281B78 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.1% C 0.148 H 279.7°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).
Color values
| HEX | #281B78 |
|---|---|
| RGB | rgb(40, 27, 120) |
| HSL | hsl(248, 63%, 29%) |
| HSV | hsv(248, 78%, 47%) |
| CMYK | cmyk(66.7%, 77.5%, 0%, 52.9%) |
| CIE-LAB | lab(18.32, 35.00, -50.63) |
| CIE-LCH | lch(18.32, 61.55, 304.66°) |
| OKLab | oklab(31.12% 0.025 -0.1461) |
| OKLCH | oklch(31.12% 0.148 279.7) |
| XYZ | xyz(4.6561, 2.5907, 18.0203) |
| Luminance | 0.0259 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.19
Royal
#0C1793
ΔE00 4.61
Indigo (survey)
#380282
ΔE00 5.01
Dark Royal Blue
#02066F
ΔE00 5.05
Deep Blue
#040273
ΔE00 5.39
Navy
#000080
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#281B78 #6B781B
analogous
#1B3D78 #281B78 #571B78
triadic
#281B78 #78281B #1B7828
tetradic
#281B78 #781B3D #6B781B #1B7857
square
#281B78 #781B3D #6B781B #1B7857
split-complementary
#281B78 #78571B #3D781B
monochromatic
#080619 #171046 #281B78 #3926AA #503BD3
Accessibility & contrast
On white
13.83
#281B78 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#281B78 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #281B78
13.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##281B78 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##281B78 | 1.00 | 13.83 | 1.52 | 13.83 |
| #FFFFFF | 13.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00307B
Deuteranopia (green-blind)
#002976
Tritanopia (blue-blind)
#003648
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #281b78; /* rgb */ color: rgb(40, 27, 120); /* oklch */ color: oklch(31.1% 0.148 279.7);
Tailwind
colors: {
custom: {
50: '#6e59a0',
500: '#281b78',
950: '#000000',
},
}SCSS
$custom: #281b78; $custom-light: #6e59a0; $custom-dark: #000000;
JSON
{
"hex": "#281b78",
"rgb": {
"r": 40,
"g": 27,
"b": 120
},
"hsl": {
"h": 248.387,
"s": 63.265,
"l": 28.824
},
"oklch": {
"l": 0.31121,
"c": 0.14826,
"h": 279.7
},
"luminance": 0.02591
}Semantic roles & 50–950 ramp
primary
#281B78
secondary
#9DAC43
accent
#E641CF
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08040F
muted
#7B797F