#281A84#281A84
#281A84 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.3% C 0.164 H 277.9°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).
Color values
| HEX | #281A84 |
|---|---|
| RGB | rgb(40, 26, 132) |
| HSL | hsl(248, 67%, 31%) |
| HSV | hsv(248, 80%, 52%) |
| CMYK | cmyk(69.7%, 80.3%, 0%, 48.2%) |
| CIE-LAB | lab(19.46, 39.49, -56.39) |
| CIE-LCH | lch(19.46, 68.84, 305.00°) |
| OKLab | oklab(32.31% 0.0225 -0.1629) |
| OKLCH | oklch(32.31% 0.164 277.9) |
| XYZ | xyz(5.4080, 2.8554, 22.0915) |
| Luminance | 0.0286 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.93
Midnight Blue
#191970
ΔE00 3.63
Indigo (survey)
#380282
ΔE00 4.33
Darkblue
#00008B
ΔE00 4.77
Navy
#000080
ΔE00 5.03
Cobalt Blue
#030AA7
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#281A84 #76841A
analogous
#1A4184 #281A84 #5D1A84
triadic
#281A84 #84281A #1A8428
tetradic
#281A84 #841A41 #76841A #1A845D
square
#281A84 #841A41 #76841A #1A845D
split-complementary
#281A84 #845D1A #41841A
monochromatic
#09061E #191051 #281A84 #3724B7 #543FD9
Accessibility & contrast
On white
13.37
#281A84 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#281A84 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #281A84
13.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##281A84 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##281A84 | 1.00 | 13.37 | 1.57 | 13.37 |
| #FFFFFF | 13.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003387
Deuteranopia (green-blind)
#002B82
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #281a84; /* rgb */ color: rgb(40, 26, 132); /* oklch */ color: oklch(32.3% 0.164 277.9);
Tailwind
colors: {
custom: {
50: '#7159a9',
500: '#281a84',
950: '#000000',
},
}SCSS
$custom: #281a84; $custom-light: #7159a9; $custom-dark: #000000;
JSON
{
"hex": "#281a84",
"rgb": {
"r": 40,
"g": 26,
"b": 132
},
"hsl": {
"h": 247.925,
"s": 67.089,
"l": 30.98
},
"oklch": {
"l": 0.3231,
"c": 0.16446,
"h": 277.9
},
"luminance": 0.02856
}Semantic roles & 50–950 ramp
primary
#281A84
secondary
#A8B842
accent
#EA3ED3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F