#281589#281589
#281589 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.3% C 0.175 H 277.7°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).
Color values
| HEX | #281589 |
|---|---|
| RGB | rgb(40, 21, 137) |
| HSL | hsl(250, 73%, 31%) |
| HSV | hsv(250, 85%, 54%) |
| CMYK | cmyk(70.8%, 84.7%, 0%, 46.3%) |
| CIE-LAB | lab(19.20, 43.51, -59.97) |
| CIE-LCH | lch(19.20, 74.09, 305.97°) |
| OKLab | oklab(32.3% 0.0233 -0.1732) |
| OKLCH | oklch(32.3% 0.175 277.7) |
| XYZ | xyz(5.6571, 2.7931, 23.9031) |
| Luminance | 0.0279 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.46
Indigo (survey)
#380282
ΔE00 3.56
Darkblue
#00008B
ΔE00 3.81
Navy
#000080
ΔE00 4.35
Cobalt Blue
#030AA7
ΔE00 4.41
Midnight Blue
#191970
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#281589 #768915
analogous
#153C89 #281589 #621589
triadic
#281589 #892815 #158928
tetradic
#281589 #89153C #768915 #158962
square
#281589 #89153C #768915 #158962
split-complementary
#281589 #896215 #3C8915
monochromatic
#09051F #190D54 #281589 #371DBE #5438E0
Accessibility & contrast
On white
13.47
#281589 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#281589 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #281589
13.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##281589 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##281589 | 1.00 | 13.47 | 1.56 | 13.47 |
| #FFFFFF | 13.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00338C
Deuteranopia (green-blind)
#002A87
Tritanopia (blue-blind)
#003A51
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #281589; /* rgb */ color: rgb(40, 21, 137); /* oklch */ color: oklch(32.3% 0.175 277.7);
Tailwind
colors: {
custom: {
50: '#7257ad',
500: '#281589',
950: '#000000',
},
}SCSS
$custom: #281589; $custom-light: #7257ad; $custom-dark: #000000;
JSON
{
"hex": "#281589",
"rgb": {
"r": 40,
"g": 21,
"b": 137
},
"hsl": {
"h": 249.828,
"s": 73.418,
"l": 30.98
},
"oklch": {
"l": 0.32301,
"c": 0.1748,
"h": 277.7
},
"luminance": 0.02794
}Semantic roles & 50–950 ramp
primary
#281589
secondary
#A8BD3D
accent
#F038D2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F