#281F86#281F86
#281F86 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.2% C 0.162 H 276.8°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).
Color values
| HEX | #281F86 |
|---|---|
| RGB | rgb(40, 31, 134) |
| HSL | hsl(245, 62%, 32%) |
| HSV | hsv(245, 77%, 53%) |
| CMYK | cmyk(70.1%, 76.9%, 0%, 47.5%) |
| CIE-LAB | lab(20.64, 37.39, -55.69) |
| CIE-LCH | lch(20.64, 67.08, 303.88°) |
| OKLab | oklab(33.21% 0.0192 -0.1609) |
| OKLCH | oklch(33.21% 0.162 276.8) |
| XYZ | xyz(5.6667, 3.1518, 22.8594) |
| Luminance | 0.0315 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.11
Midnight Blue
#191970
ΔE00 3.86
Indigo (survey)
#380282
ΔE00 5.39
Darkblue
#00008B
ΔE00 5.70
Cobalt Blue
#030AA7
ΔE00 5.75
Navy
#000080
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#281F86 #7D861F
analogous
#1F4986 #281F86 #5C1F86
triadic
#281F86 #86281F #1F8628
tetradic
#281F86 #861F49 #7D861F #1F865C
square
#281F86 #861F49 #7D861F #1F865C
split-complementary
#281F86 #865C1F #49861F
monochromatic
#0A0823 #191454 #281F86 #372AB8 #564AD5
Accessibility & contrast
On white
12.88
#281F86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#281F86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #281F86
12.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##281F86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##281F86 | 1.00 | 12.88 | 1.63 | 12.88 |
| #FFFFFF | 12.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#002D84
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #281f86; /* rgb */ color: rgb(40, 31, 134); /* oklch */ color: oklch(33.2% 0.162 276.8);
Tailwind
colors: {
custom: {
50: '#715daa',
500: '#281f86',
950: '#000000',
},
}SCSS
$custom: #281f86; $custom-light: #715daa; $custom-dark: #000000;
JSON
{
"hex": "#281f86",
"rgb": {
"r": 40,
"g": 31,
"b": 134
},
"hsl": {
"h": 245.243,
"s": 62.424,
"l": 32.353
},
"oklch": {
"l": 0.3321,
"c": 0.16207,
"h": 276.8
},
"luminance": 0.03152
}Semantic roles & 50–950 ramp
primary
#281F86
secondary
#AEB849
accent
#E542D7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F