#281F83#281F83
#281F83 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.9% C 0.158 H 277.2°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).
Color values
| HEX | #281F83 |
|---|---|
| RGB | rgb(40, 31, 131) |
| HSL | hsl(245, 62%, 32%) |
| HSV | hsv(245, 76%, 51%) |
| CMYK | cmyk(69.5%, 76.3%, 0%, 48.6%) |
| CIE-LAB | lab(20.32, 36.38, -54.33) |
| CIE-LCH | lch(20.32, 65.39, 303.81°) |
| OKLab | oklab(32.89% 0.0198 -0.157) |
| OKLCH | oklch(32.89% 0.158 277.2) |
| XYZ | xyz(5.4605, 3.0693, 21.7730) |
| Luminance | 0.0307 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.44
Midnight Blue
#191970
ΔE00 3.47
Indigo (survey)
#380282
ΔE00 5.43
Darkblue
#00008B
ΔE00 5.83
Navy
#000080
ΔE00 6.06
Cobalt Blue
#030AA7
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#281F83 #7A831F
analogous
#1F4883 #281F83 #5A1F83
triadic
#281F83 #83281F #1F8328
tetradic
#281F83 #831F48 #7A831F #1F835A
square
#281F83 #831F48 #7A831F #1F835A
split-complementary
#281F83 #835A1F #48831F
monochromatic
#0A0820 #191352 #281F83 #372BB4 #5549D4
Accessibility & contrast
On white
13.01
#281F83 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#281F83 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #281F83
13.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##281F83 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##281F83 | 1.00 | 13.01 | 1.61 | 13.01 |
| #FFFFFF | 13.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003586
Deuteranopia (green-blind)
#002D81
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #281f83; /* rgb */ color: rgb(40, 31, 131); /* oklch */ color: oklch(32.9% 0.158 277.2);
Tailwind
colors: {
custom: {
50: '#705ca8',
500: '#281f83',
950: '#000000',
},
}SCSS
$custom: #281f83; $custom-light: #705ca8; $custom-dark: #000000;
JSON
{
"hex": "#281f83",
"rgb": {
"r": 40,
"g": 31,
"b": 131
},
"hsl": {
"h": 245.4,
"s": 61.728,
"l": 31.765
},
"oklch": {
"l": 0.32885,
"c": 0.15823,
"h": 277.2
},
"luminance": 0.0307
}Semantic roles & 50–950 ramp
primary
#281F83
secondary
#ACB648
accent
#E543D6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F