#281789#281789
#281789 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.5% C 0.173 H 277.5°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).
Color values
| HEX | #281789 |
|---|---|
| RGB | rgb(40, 23, 137) |
| HSL | hsl(249, 71%, 31%) |
| HSV | hsv(249, 83%, 54%) |
| CMYK | cmyk(70.8%, 83.2%, 0%, 46.3%) |
| CIE-LAB | lab(19.51, 42.58, -59.44) |
| CIE-LCH | lch(19.51, 73.12, 305.62°) |
| OKLab | oklab(32.52% 0.0225 -0.1717) |
| OKLCH | oklch(32.52% 0.173 277.5) |
| XYZ | xyz(5.6954, 2.8695, 23.9158) |
| Luminance | 0.0287 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.40
Indigo (survey)
#380282
ΔE00 3.86
Darkblue
#00008B
ΔE00 4.11
Midnight Blue
#191970
ΔE00 4.45
Cobalt Blue
#030AA7
ΔE00 4.53
Navy
#000080
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#281789 #788917
analogous
#173F89 #281789 #611789
triadic
#281789 #892817 #178928
tetradic
#281789 #89173F #788917 #178961
square
#281789 #89173F #788917 #178961
split-complementary
#281789 #896117 #3F8917
monochromatic
#090520 #190E55 #281789 #3720BD #543CDE
Accessibility & contrast
On white
13.34
#281789 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#281789 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #281789
13.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##281789 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##281789 | 1.00 | 13.34 | 1.57 | 13.34 |
| #FFFFFF | 13.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00348C
Deuteranopia (green-blind)
#002A87
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #281789; /* rgb */ color: rgb(40, 23, 137); /* oklch */ color: oklch(32.5% 0.173 277.5);
Tailwind
colors: {
custom: {
50: '#7258ad',
500: '#281789',
950: '#000000',
},
}SCSS
$custom: #281789; $custom-light: #7258ad; $custom-dark: #000000;
JSON
{
"hex": "#281789",
"rgb": {
"r": 40,
"g": 23,
"b": 137
},
"hsl": {
"h": 248.947,
"s": 71.25,
"l": 31.373
},
"oklch": {
"l": 0.32521,
"c": 0.1732,
"h": 277.5
},
"luminance": 0.0287
}Semantic roles & 50–950 ramp
primary
#281789
secondary
#AABD3F
accent
#EE3AD3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F