#281887#281887
#281887 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.170 H 277.6°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).
Color values
| HEX | #281887 |
|---|---|
| RGB | rgb(40, 24, 135) |
| HSL | hsl(249, 70%, 31%) |
| HSV | hsv(249, 82%, 53%) |
| CMYK | cmyk(70.4%, 82.2%, 0%, 47.1%) |
| CIE-LAB | lab(19.45, 41.47, -58.30) |
| CIE-LCH | lch(19.45, 71.54, 305.42°) |
| OKLab | oklab(32.41% 0.0226 -0.1684) |
| OKLCH | oklch(32.41% 0.17 277.6) |
| XYZ | xyz(5.5735, 2.8532, 23.1740) |
| Luminance | 0.0285 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.57
Indigo (survey)
#380282
ΔE00 3.98
Midnight Blue
#191970
ΔE00 4.13
Darkblue
#00008B
ΔE00 4.31
Navy
#000080
ΔE00 4.73
Cobalt Blue
#030AA7
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#281887 #778718
analogous
#183F87 #281887 #5F1887
triadic
#281887 #872818 #188728
tetradic
#281887 #87183F #778718 #18875F
square
#281887 #87183F #778718 #18875F
split-complementary
#281887 #875F18 #3F8718
monochromatic
#09061F #190F53 #281887 #3721BB #543DDC
Accessibility & contrast
On white
13.37
#281887 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#281887 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #281887
13.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##281887 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##281887 | 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)
#00338A
Deuteranopia (green-blind)
#002A85
Tritanopia (blue-blind)
#003A50
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #281887; /* rgb */ color: rgb(40, 24, 135); /* oklch */ color: oklch(32.4% 0.170 277.6);
Tailwind
colors: {
custom: {
50: '#7259ab',
500: '#281887',
950: '#000000',
},
}SCSS
$custom: #281887; $custom-light: #7259ab; $custom-dark: #000000;
JSON
{
"hex": "#281887",
"rgb": {
"r": 40,
"g": 24,
"b": 135
},
"hsl": {
"h": 248.649,
"s": 69.811,
"l": 31.176
},
"oklch": {
"l": 0.32405,
"c": 0.16994,
"h": 277.6
},
"luminance": 0.02854
}Semantic roles & 50–950 ramp
primary
#281887
secondary
#A9BB40
accent
#ED3BD3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F