#281B87#281B87
#281B87 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.8% C 0.167 H 277.3°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).
Color values
| HEX | #281B87 |
|---|---|
| RGB | rgb(40, 27, 135) |
| HSL | hsl(247, 67%, 32%) |
| HSV | hsv(247, 80%, 53%) |
| CMYK | cmyk(70.4%, 80%, 0%, 47.1%) |
| CIE-LAB | lab(19.98, 39.93, -57.42) |
| CIE-LCH | lch(19.98, 69.93, 304.82°) |
| OKLab | oklab(32.78% 0.0211 -0.1659) |
| OKLCH | oklch(32.78% 0.167 277.3) |
| XYZ | xyz(5.6388, 2.9837, 23.1957) |
| Luminance | 0.0298 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.65
Midnight Blue
#191970
ΔE00 4.00
Indigo (survey)
#380282
ΔE00 4.53
Darkblue
#00008B
ΔE00 4.84
Cobalt Blue
#030AA7
ΔE00 5.13
Navy
#000080
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#281B87 #7A871B
analogous
#1B4487 #281B87 #5E1B87
triadic
#281B87 #87281B #1B8728
tetradic
#281B87 #871B44 #7A871B #1B875E
square
#281B87 #871B44 #7A871B #1B875E
split-complementary
#281B87 #875E1B #44871B
monochromatic
#0A0721 #191154 #281B87 #3725BA #5543D9
Accessibility & contrast
On white
13.15
#281B87 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#281B87 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #281B87
13.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##281B87 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##281B87 | 1.00 | 13.15 | 1.60 | 13.15 |
| #FFFFFF | 13.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00358A
Deuteranopia (green-blind)
#002C85
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #281b87; /* rgb */ color: rgb(40, 27, 135); /* oklch */ color: oklch(32.8% 0.167 277.3);
Tailwind
colors: {
custom: {
50: '#715aab',
500: '#281b87',
950: '#000000',
},
}SCSS
$custom: #281b87; $custom-light: #715aab; $custom-dark: #000000;
JSON
{
"hex": "#281b87",
"rgb": {
"r": 40,
"g": 27,
"b": 135
},
"hsl": {
"h": 247.222,
"s": 66.667,
"l": 31.765
},
"oklch": {
"l": 0.32777,
"c": 0.16725,
"h": 277.3
},
"luminance": 0.02984
}Semantic roles & 50–950 ramp
primary
#281B87
secondary
#ACBA44
accent
#EA3ED5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F