#281C86#281C86
#281C86 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.8% C 0.165 H 277.3°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).
Color values
| HEX | #281C86 |
|---|---|
| RGB | rgb(40, 28, 134) |
| HSL | hsl(247, 65%, 32%) |
| HSV | hsv(247, 79%, 53%) |
| CMYK | cmyk(70.1%, 79.1%, 0%, 47.5%) |
| CIE-LAB | lab(20.05, 39.06, -56.66) |
| CIE-LCH | lch(20.05, 68.82, 304.58°) |
| OKLab | oklab(32.8% 0.0209 -0.1637) |
| OKLCH | oklch(32.8% 0.165 277.3) |
| XYZ | xyz(5.5920, 3.0024, 22.8345) |
| Luminance | 0.0300 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.82
Midnight Blue
#191970
ΔE00 3.84
Indigo (survey)
#380282
ΔE00 4.73
Darkblue
#00008B
ΔE00 5.07
Cobalt Blue
#030AA7
ΔE00 5.36
Navy
#000080
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#281C86 #7A861C
analogous
#1C4586 #281C86 #5D1C86
triadic
#281C86 #86281C #1C8628
tetradic
#281C86 #861C45 #7A861C #1C865D
square
#281C86 #861C45 #7A861C #1C865D
split-complementary
#281C86 #865D1C #45861C
monochromatic
#0A0721 #191153 #281C86 #3727B9 #5544D8
Accessibility & contrast
On white
13.12
#281C86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#281C86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #281C86
13.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##281C86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##281C86 | 1.00 | 13.12 | 1.60 | 13.12 |
| #FFFFFF | 13.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003589
Deuteranopia (green-blind)
#002C84
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #281c86; /* rgb */ color: rgb(40, 28, 134); /* oklch */ color: oklch(32.8% 0.165 277.3);
Tailwind
colors: {
custom: {
50: '#715baa',
500: '#281c86',
950: '#000000',
},
}SCSS
$custom: #281c86; $custom-light: #715baa; $custom-dark: #000000;
JSON
{
"hex": "#281c86",
"rgb": {
"r": 40,
"g": 28,
"b": 134
},
"hsl": {
"h": 246.792,
"s": 65.432,
"l": 31.765
},
"oklch": {
"l": 0.32796,
"c": 0.16505,
"h": 277.3
},
"luminance": 0.03003
}Semantic roles & 50–950 ramp
primary
#281C86
secondary
#ACB945
accent
#E83FD5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F