#281881#281881
#281881 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.7% C 0.163 H 278.6°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).
Color values
| HEX | #281881 |
|---|---|
| RGB | rgb(40, 24, 129) |
| HSL | hsl(249, 69%, 30%) |
| HSV | hsv(249, 81%, 51%) |
| CMYK | cmyk(69%, 81.4%, 0%, 49.4%) |
| CIE-LAB | lab(18.75, 39.57, -55.66) |
| CIE-LCH | lch(18.75, 68.29, 305.41°) |
| OKLab | oklab(31.72% 0.0244 -0.1607) |
| OKLCH | oklch(31.72% 0.163 278.6) |
| XYZ | xyz(5.1629, 2.6889, 21.0116) |
| Luminance | 0.0269 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.25
Midnight Blue
#191970
ΔE00 3.36
Indigo (survey)
#380282
ΔE00 3.98
Darkblue
#00008B
ΔE00 4.57
Navy
#000080
ΔE00 4.68
Dark Royal Blue
#02066F
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#281881 #718118
analogous
#183C81 #281881 #5D1881
triadic
#281881 #812818 #188128
tetradic
#281881 #81183C #718118 #18815D
square
#281881 #81183C #718118 #18815D
split-complementary
#281881 #815D18 #3C8118
monochromatic
#08051A #180E4D #281881 #3822B5 #5239DA
Accessibility & contrast
On white
13.66
#281881 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#281881 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #281881
13.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##281881 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##281881 | 1.00 | 13.66 | 1.54 | 13.66 |
| #FFFFFF | 13.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003284
Deuteranopia (green-blind)
#00297F
Tritanopia (blue-blind)
#00384C
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #281881; /* rgb */ color: rgb(40, 24, 129); /* oklch */ color: oklch(31.7% 0.163 278.6);
Tailwind
colors: {
custom: {
50: '#7058a7',
500: '#281881',
950: '#000000',
},
}SCSS
$custom: #281881; $custom-light: #7058a7; $custom-dark: #000000;
JSON
{
"hex": "#281881",
"rgb": {
"r": 40,
"g": 24,
"b": 129
},
"hsl": {
"h": 249.143,
"s": 68.627,
"l": 30
},
"oklch": {
"l": 0.31719,
"c": 0.16259,
"h": 278.6
},
"luminance": 0.02689
}Semantic roles & 50–950 ramp
primary
#281881
secondary
#A3B540
accent
#EB3CD1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F