#281B88#281B88
#281B88 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.9% C 0.168 H 277.1°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).
Color values
| HEX | #281B88 |
|---|---|
| RGB | rgb(40, 27, 136) |
| HSL | hsl(247, 67%, 32%) |
| HSV | hsv(247, 80%, 53%) |
| CMYK | cmyk(70.6%, 80.1%, 0%, 46.7%) |
| CIE-LAB | lab(20.09, 40.25, -57.86) |
| CIE-LCH | lch(20.09, 70.48, 304.83°) |
| OKLab | oklab(32.89% 0.0209 -0.1672) |
| OKLCH | oklch(32.89% 0.168 277.1) |
| XYZ | xyz(5.7095, 3.0120, 23.5683) |
| Luminance | 0.0301 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.55
Midnight Blue
#191970
ΔE00 4.13
Indigo (survey)
#380282
ΔE00 4.54
Darkblue
#00008B
ΔE00 4.82
Cobalt Blue
#030AA7
ΔE00 5.00
Navy
#000080
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#281B88 #7B881B
analogous
#1B4588 #281B88 #5F1B88
triadic
#281B88 #88281B #1B8828
tetradic
#281B88 #881B45 #7B881B #1B885F
square
#281B88 #881B45 #7B881B #1B885F
split-complementary
#281B88 #885F1B #45881B
monochromatic
#0A0722 #191155 #281B88 #3725BB #5644DA
Accessibility & contrast
On white
13.10
#281B88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#281B88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #281B88
13.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##281B88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##281B88 | 1.00 | 13.10 | 1.60 | 13.10 |
| #FFFFFF | 13.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00358B
Deuteranopia (green-blind)
#002C86
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #281b88; /* rgb */ color: rgb(40, 27, 136); /* oklch */ color: oklch(32.9% 0.168 277.1);
Tailwind
colors: {
custom: {
50: '#715aac',
500: '#281b88',
950: '#000000',
},
}SCSS
$custom: #281b88; $custom-light: #715aac; $custom-dark: #000000;
JSON
{
"hex": "#281b88",
"rgb": {
"r": 40,
"g": 27,
"b": 136
},
"hsl": {
"h": 247.156,
"s": 66.871,
"l": 31.961
},
"oklch": {
"l": 0.32889,
"c": 0.16849,
"h": 277.1
},
"luminance": 0.03013
}Semantic roles & 50–950 ramp
primary
#281B88
secondary
#ADBB44
accent
#EA3ED5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F