#281B85#281B85
#281B85 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.6% C 0.165 H 277.6°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).
Color values
| HEX | #281B85 |
|---|---|
| RGB | rgb(40, 27, 133) |
| HSL | hsl(247, 66%, 31%) |
| HSV | hsv(247, 80%, 52%) |
| CMYK | cmyk(69.9%, 79.7%, 0%, 47.8%) |
| CIE-LAB | lab(19.75, 39.28, -56.53) |
| CIE-LCH | lch(19.75, 68.84, 304.79°) |
| OKLab | oklab(32.55% 0.0217 -0.1633) |
| OKLCH | oklch(32.55% 0.165 277.6) |
| XYZ | xyz(5.4993, 2.9280, 22.4611) |
| Luminance | 0.0293 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.86
Midnight Blue
#191970
ΔE00 3.73
Indigo (survey)
#380282
ΔE00 4.52
Darkblue
#00008B
ΔE00 4.91
Navy
#000080
ΔE00 5.22
Cobalt Blue
#030AA7
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#281B85 #78851B
analogous
#1B4385 #281B85 #5D1B85
triadic
#281B85 #85281B #1B8528
tetradic
#281B85 #851B43 #78851B #1B855D
square
#281B85 #851B43 #78851B #1B855D
split-complementary
#281B85 #855D1B #43851B
monochromatic
#09061F #191152 #281B85 #3725B8 #5442D9
Accessibility & contrast
On white
13.24
#281B85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#281B85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #281B85
13.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##281B85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##281B85 | 1.00 | 13.24 | 1.59 | 13.24 |
| #FFFFFF | 13.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003488
Deuteranopia (green-blind)
#002B83
Tritanopia (blue-blind)
#003B4F
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #281b85; /* rgb */ color: rgb(40, 27, 133); /* oklch */ color: oklch(32.6% 0.165 277.6);
Tailwind
colors: {
custom: {
50: '#715aaa',
500: '#281b85',
950: '#000000',
},
}SCSS
$custom: #281b85; $custom-light: #715aaa; $custom-dark: #000000;
JSON
{
"hex": "#281b85",
"rgb": {
"r": 40,
"g": 27,
"b": 133
},
"hsl": {
"h": 247.358,
"s": 66.25,
"l": 31.373
},
"oklch": {
"l": 0.32552,
"c": 0.16476,
"h": 277.6
},
"luminance": 0.02928
}Semantic roles & 50–950 ramp
primary
#281B85
secondary
#AAB844
accent
#E93FD4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F