#281B89#281B89
#281B89 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.0% C 0.170 H 277.0°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).
Color values
| HEX | #281B89 |
|---|---|
| RGB | rgb(40, 27, 137) |
| HSL | hsl(247, 67%, 32%) |
| HSV | hsv(247, 80%, 54%) |
| CMYK | cmyk(70.8%, 80.3%, 0%, 46.3%) |
| CIE-LAB | lab(20.21, 40.57, -58.30) |
| CIE-LCH | lch(20.21, 71.03, 304.84°) |
| OKLab | oklab(33% 0.0206 -0.1685) |
| OKLCH | oklch(33% 0.17 277) |
| XYZ | xyz(5.7809, 3.0406, 23.9443) |
| Luminance | 0.0304 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.46
Midnight Blue
#191970
ΔE00 4.27
Indigo (survey)
#380282
ΔE00 4.56
Darkblue
#00008B
ΔE00 4.80
Cobalt Blue
#030AA7
ΔE00 4.87
Navy
#000080
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#281B89 #7C891B
analogous
#1B4589 #281B89 #5F1B89
triadic
#281B89 #89281B #1B8928
tetradic
#281B89 #891B45 #7C891B #1B895F
square
#281B89 #891B45 #7C891B #1B895F
split-complementary
#281B89 #895F1B #45891B
monochromatic
#0A0723 #191156 #281B89 #3725BC #5644DA
Accessibility & contrast
On white
13.06
#281B89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#281B89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #281B89
13.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##281B89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##281B89 | 1.00 | 13.06 | 1.61 | 13.06 |
| #FFFFFF | 13.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00358C
Deuteranopia (green-blind)
#002C87
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #281b89; /* rgb */ color: rgb(40, 27, 137); /* oklch */ color: oklch(33.0% 0.170 277.0);
Tailwind
colors: {
custom: {
50: '#725aad',
500: '#281b89',
950: '#000000',
},
}SCSS
$custom: #281b89; $custom-light: #725aad; $custom-dark: #000000;
JSON
{
"hex": "#281b89",
"rgb": {
"r": 40,
"g": 27,
"b": 137
},
"hsl": {
"h": 247.091,
"s": 67.073,
"l": 32.157
},
"oklch": {
"l": 0.33002,
"c": 0.16972,
"h": 277
},
"luminance": 0.03041
}Semantic roles & 50–950 ramp
primary
#281B89
secondary
#ADBC44
accent
#EA3ED6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F