#281C88#281C88
#281C88 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.0% C 0.168 H 277.0°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).
Color values
| HEX | #281C88 |
|---|---|
| RGB | rgb(40, 28, 136) |
| HSL | hsl(247, 66%, 32%) |
| HSV | hsv(247, 79%, 53%) |
| CMYK | cmyk(70.6%, 79.4%, 0%, 46.7%) |
| CIE-LAB | lab(20.28, 39.72, -57.55) |
| CIE-LCH | lch(20.28, 69.92, 304.61°) |
| OKLab | oklab(33.02% 0.0203 -0.1663) |
| OKLCH | oklch(33.02% 0.168 277) |
| XYZ | xyz(5.7328, 3.0587, 23.5760) |
| Luminance | 0.0306 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.62
Midnight Blue
#191970
ΔE00 4.11
Indigo (survey)
#380282
ΔE00 4.74
Darkblue
#00008B
ΔE00 5.01
Cobalt Blue
#030AA7
ΔE00 5.11
Navy
#000080
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#281C88 #7C881C
analogous
#1C4688 #281C88 #5E1C88
triadic
#281C88 #88281C #1C8828
tetradic
#281C88 #881C46 #7C881C #1C885E
square
#281C88 #881C46 #7C881C #1C885E
split-complementary
#281C88 #885E1C #46881C
monochromatic
#0A0722 #191255 #281C88 #3726BB #5646D9
Accessibility & contrast
On white
13.03
#281C88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#281C88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #281C88
13.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##281C88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##281C88 | 1.00 | 13.03 | 1.61 | 13.03 |
| #FFFFFF | 13.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00358B
Deuteranopia (green-blind)
#002C86
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #281c88; /* rgb */ color: rgb(40, 28, 136); /* oklch */ color: oklch(33.0% 0.168 277.0);
Tailwind
colors: {
custom: {
50: '#715bac',
500: '#281c88',
950: '#000000',
},
}SCSS
$custom: #281c88; $custom-light: #715bac; $custom-dark: #000000;
JSON
{
"hex": "#281c88",
"rgb": {
"r": 40,
"g": 28,
"b": 136
},
"hsl": {
"h": 246.667,
"s": 65.854,
"l": 32.157
},
"oklch": {
"l": 0.33019,
"c": 0.16755,
"h": 277
},
"luminance": 0.03059
}Semantic roles & 50–950 ramp
primary
#281C88
secondary
#ADBA45
accent
#E93FD6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F