#281C87#281C87
#281C87 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.9% C 0.166 H 277.1°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).
Color values
| HEX | #281C87 |
|---|---|
| RGB | rgb(40, 28, 135) |
| HSL | hsl(247, 66%, 32%) |
| HSV | hsv(247, 79%, 53%) |
| CMYK | cmyk(70.4%, 79.3%, 0%, 47.1%) |
| CIE-LAB | lab(20.17, 39.39, -57.11) |
| CIE-LCH | lch(20.17, 69.38, 304.60°) |
| OKLab | oklab(32.91% 0.0206 -0.165) |
| OKLCH | oklch(32.91% 0.166 277.1) |
| XYZ | xyz(5.6621, 3.0304, 23.2035) |
| Luminance | 0.0303 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.71
Midnight Blue
#191970
ΔE00 3.98
Indigo (survey)
#380282
ΔE00 4.73
Darkblue
#00008B
ΔE00 5.04
Cobalt Blue
#030AA7
ΔE00 5.23
Navy
#000080
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#281C87 #7B871C
analogous
#1C4687 #281C87 #5E1C87
triadic
#281C87 #87281C #1C8728
tetradic
#281C87 #871C46 #7B871C #1C875E
square
#281C87 #871C46 #7B871C #1C875E
split-complementary
#281C87 #875E1C #46871C
monochromatic
#0A0722 #191154 #281C87 #3727BA #5645D8
Accessibility & contrast
On white
13.07
#281C87 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#281C87 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #281C87
13.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##281C87 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##281C87 | 1.00 | 13.07 | 1.61 | 13.07 |
| #FFFFFF | 13.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00358A
Deuteranopia (green-blind)
#002C85
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #281c87; /* rgb */ color: rgb(40, 28, 135); /* oklch */ color: oklch(32.9% 0.166 277.1);
Tailwind
colors: {
custom: {
50: '#715bab',
500: '#281c87',
950: '#000000',
},
}SCSS
$custom: #281c87; $custom-light: #715bab; $custom-dark: #000000;
JSON
{
"hex": "#281c87",
"rgb": {
"r": 40,
"g": 28,
"b": 135
},
"hsl": {
"h": 246.729,
"s": 65.644,
"l": 31.961
},
"oklch": {
"l": 0.32907,
"c": 0.16631,
"h": 277.1
},
"luminance": 0.03031
}Semantic roles & 50–950 ramp
primary
#281C87
secondary
#ADBA45
accent
#E93FD6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F