#10217E#10217E
#10217E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.3% C 0.156 H 267.1°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).
Color values
| HEX | #10217E |
|---|---|
| RGB | rgb(16, 33, 126) |
| HSL | hsl(231, 77%, 28%) |
| HSV | hsv(231, 87%, 49%) |
| CMYK | cmyk(87.3%, 73.8%, 0%, 50.6%) |
| CIE-LAB | lab(18.82, 31.11, -53.70) |
| CIE-LCH | lch(18.82, 62.06, 300.09°) |
| OKLab | oklab(31.27% -0.0079 -0.1557) |
| OKLCH | oklch(31.27% 0.156 267.1) |
| XYZ | xyz(4.5221, 2.7037, 20.0181) |
| Luminance | 0.0270 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.04
Royal
#0C1793
ΔE00 4.28
Dark Royal Blue
#02066F
ΔE00 6.28
Navy
#000080
ΔE00 6.76
Darkblue
#00008B
ΔE00 6.76
Deep Blue
#040273
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#10217E #7E6D10
analogous
#10587E #10217E #36107E
triadic
#10217E #7E1021 #217E10
tetradic
#10217E #7E1058 #7E6D10 #107E36
square
#10217E #7E1058 #7E6D10 #107E36
split-complementary
#10217E #7E3610 #587E10
monochromatic
#03071B #091348 #10217E #172FB4 #2542E3
Accessibility & contrast
On white
13.63
#10217E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#10217E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #10217E
13.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##10217E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##10217E | 1.00 | 13.63 | 1.54 | 13.63 |
| #FFFFFF | 13.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003381
Deuteranopia (green-blind)
#00287C
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #10217e; /* rgb */ color: rgb(16, 33, 126); /* oklch */ color: oklch(31.3% 0.156 267.1);
Tailwind
colors: {
custom: {
50: '#665ca4',
500: '#10217e',
950: '#000000',
},
}SCSS
$custom: #10217e; $custom-light: #665ca4; $custom-dark: #000000;
JSON
{
"hex": "#10217e",
"rgb": {
"r": 16,
"g": 33,
"b": 126
},
"hsl": {
"h": 230.727,
"s": 77.465,
"l": 27.843
},
"oklch": {
"l": 0.31273,
"c": 0.15587,
"h": 267.1
},
"luminance": 0.02704
}Semantic roles & 50–950 ramp
primary
#10217E
secondary
#B4A136
accent
#D634F4
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F