#281B84#281B84
#281B84 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.164 H 277.7°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).
Color values
| HEX | #281B84 |
|---|---|
| RGB | rgb(40, 27, 132) |
| HSL | hsl(247, 66%, 31%) |
| HSV | hsv(247, 80%, 52%) |
| CMYK | cmyk(69.7%, 79.5%, 0%, 48.2%) |
| CIE-LAB | lab(19.64, 38.95, -56.09) |
| CIE-LCH | lch(19.64, 68.28, 304.78°) |
| OKLab | oklab(32.44% 0.0219 -0.162) |
| OKLCH | oklch(32.44% 0.164 277.7) |
| XYZ | xyz(5.4305, 2.9005, 22.0990) |
| Luminance | 0.0290 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.98
Midnight Blue
#191970
ΔE00 3.59
Indigo (survey)
#380282
ΔE00 4.53
Darkblue
#00008B
ΔE00 4.95
Navy
#000080
ΔE00 5.22
Cobalt Blue
#030AA7
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#281B84 #77841B
analogous
#1B4284 #281B84 #5C1B84
triadic
#281B84 #84281B #1B8428
tetradic
#281B84 #841B42 #77841B #1B845C
square
#281B84 #841B42 #77841B #1B845C
split-complementary
#281B84 #845C1B #42841B
monochromatic
#09061E #191151 #281B84 #3725B7 #5441D8
Accessibility & contrast
On white
13.29
#281B84 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#281B84 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #281B84
13.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##281B84 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##281B84 | 1.00 | 13.29 | 1.58 | 13.29 |
| #FFFFFF | 13.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003487
Deuteranopia (green-blind)
#002B82
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #281b84; /* rgb */ color: rgb(40, 27, 132); /* oklch */ color: oklch(32.4% 0.164 277.7);
Tailwind
colors: {
custom: {
50: '#715aa9',
500: '#281b84',
950: '#000000',
},
}SCSS
$custom: #281b84; $custom-light: #715aa9; $custom-dark: #000000;
JSON
{
"hex": "#281b84",
"rgb": {
"r": 40,
"g": 27,
"b": 132
},
"hsl": {
"h": 247.429,
"s": 66.038,
"l": 31.176
},
"oklch": {
"l": 0.3244,
"c": 0.16352,
"h": 277.7
},
"luminance": 0.02901
}Semantic roles & 50–950 ramp
primary
#281B84
secondary
#A9B743
accent
#E93FD4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F