#281884#281884
#281884 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.166 H 278.1°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).
Color values
| HEX | #281884 |
|---|---|
| RGB | rgb(40, 24, 132) |
| HSL | hsl(249, 69%, 31%) |
| HSV | hsv(249, 82%, 52%) |
| CMYK | cmyk(69.7%, 81.8%, 0%, 48.2%) |
| CIE-LAB | lab(19.10, 40.52, -56.98) |
| CIE-LCH | lch(19.10, 69.92, 305.42°) |
| OKLab | oklab(32.06% 0.0235 -0.1646) |
| OKLCH | oklch(32.06% 0.166 278.1) |
| XYZ | xyz(5.3652, 2.7699, 22.0772) |
| Luminance | 0.0277 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.89
Midnight Blue
#191970
ΔE00 3.74
Indigo (survey)
#380282
ΔE00 3.95
Darkblue
#00008B
ΔE00 4.41
Navy
#000080
ΔE00 4.68
Deep Blue
#040273
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#281884 #748418
analogous
#183E84 #281884 #5E1884
triadic
#281884 #842818 #188428
tetradic
#281884 #84183E #748418 #18845E
square
#281884 #84183E #748418 #18845E
split-complementary
#281884 #845E18 #3E8418
monochromatic
#09051C #180F50 #281884 #3821B8 #533BDB
Accessibility & contrast
On white
13.51
#281884 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#281884 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #281884
13.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##281884 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##281884 | 1.00 | 13.51 | 1.55 | 13.51 |
| #FFFFFF | 13.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003387
Deuteranopia (green-blind)
#002A82
Tritanopia (blue-blind)
#00394E
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #281884; /* rgb */ color: rgb(40, 24, 132); /* oklch */ color: oklch(32.1% 0.166 278.1);
Tailwind
colors: {
custom: {
50: '#7158a9',
500: '#281884',
950: '#000000',
},
}SCSS
$custom: #281884; $custom-light: #7158a9; $custom-dark: #000000;
JSON
{
"hex": "#281884",
"rgb": {
"r": 40,
"g": 24,
"b": 132
},
"hsl": {
"h": 248.889,
"s": 69.231,
"l": 30.588
},
"oklch": {
"l": 0.32061,
"c": 0.16628,
"h": 278.1
},
"luminance": 0.0277
}Semantic roles & 50–950 ramp
primary
#281884
secondary
#A6B840
accent
#EC3CD2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F