#281889#281889
#281889 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.6% C 0.172 H 277.3°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).
Color values
| HEX | #281889 |
|---|---|
| RGB | rgb(40, 24, 137) |
| HSL | hsl(248, 70%, 32%) |
| HSV | hsv(248, 82%, 54%) |
| CMYK | cmyk(70.8%, 82.5%, 0%, 46.3%) |
| CIE-LAB | lab(19.68, 42.10, -59.17) |
| CIE-LCH | lch(19.68, 72.61, 305.43°) |
| OKLab | oklab(32.64% 0.022 -0.171) |
| OKLCH | oklch(32.64% 0.172 277.3) |
| XYZ | xyz(5.7156, 2.9100, 23.9225) |
| Luminance | 0.0291 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.39
Indigo (survey)
#380282
ΔE00 4.02
Darkblue
#00008B
ΔE00 4.27
Midnight Blue
#191970
ΔE00 4.39
Cobalt Blue
#030AA7
ΔE00 4.60
Navy
#000080
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#281889 #798918
analogous
#184189 #281889 #611889
triadic
#281889 #892818 #188928
tetradic
#281889 #891841 #798918 #188961
square
#281889 #891841 #798918 #188961
split-complementary
#281889 #896118 #418918
monochromatic
#0A0621 #190F55 #281889 #3721BD #553EDD
Accessibility & contrast
On white
13.27
#281889 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#281889 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #281889
13.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##281889 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##281889 | 1.00 | 13.27 | 1.58 | 13.27 |
| #FFFFFF | 13.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00348C
Deuteranopia (green-blind)
#002B87
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #281889; /* rgb */ color: rgb(40, 24, 137); /* oklch */ color: oklch(32.6% 0.172 277.3);
Tailwind
colors: {
custom: {
50: '#7259ad',
500: '#281889',
950: '#000000',
},
}SCSS
$custom: #281889; $custom-light: #7259ad; $custom-dark: #000000;
JSON
{
"hex": "#281889",
"rgb": {
"r": 40,
"g": 24,
"b": 137
},
"hsl": {
"h": 248.496,
"s": 70.186,
"l": 31.569
},
"oklch": {
"l": 0.32636,
"c": 0.17237,
"h": 277.3
},
"luminance": 0.02911
}Semantic roles & 50–950 ramp
primary
#281889
secondary
#ABBD40
accent
#ED3BD4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F