#17227F#17227F
#17227F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.9% C 0.154 H 269.3°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).
Color values
| HEX | #17227F |
|---|---|
| RGB | rgb(23, 34, 127) |
| HSL | hsl(234, 69%, 29%) |
| HSV | hsv(234, 82%, 50%) |
| CMYK | cmyk(81.9%, 73.2%, 0%, 50.2%) |
| CIE-LAB | lab(19.47, 31.36, -53.25) |
| CIE-LCH | lch(19.47, 61.80, 300.50°) |
| OKLab | oklab(31.86% -0.002 -0.1542) |
| OKLCH | oklch(31.86% 0.154 269.3) |
| XYZ | xyz(4.7548, 2.8580, 20.3756) |
| Luminance | 0.0286 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.13
Royal
#0C1793
ΔE00 4.23
Dark Royal Blue
#02066F
ΔE00 6.49
Darkblue
#00008B
ΔE00 6.84
Navy
#000080
ΔE00 6.89
Deep Blue
#040273
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17227F #7F7417
analogous
#17567F #17227F #40177F
triadic
#17227F #7F1722 #227F17
tetradic
#17227F #7F1756 #7F7417 #177F40
square
#17227F #7F1756 #7F7417 #177F40
split-complementary
#17227F #7F4017 #567F17
monochromatic
#05071A #0E144B #17227F #2030B3 #3647DB
Accessibility & contrast
On white
13.36
#17227F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#17227F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17227F
13.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17227F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17227F | 1.00 | 13.36 | 1.57 | 13.36 |
| #FFFFFF | 13.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#002A7D
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #17227f; /* rgb */ color: rgb(23, 34, 127); /* oklch */ color: oklch(31.9% 0.154 269.3);
Tailwind
colors: {
custom: {
50: '#685da5',
500: '#17227f',
950: '#000000',
},
}SCSS
$custom: #17227f; $custom-light: #685da5; $custom-dark: #000000;
JSON
{
"hex": "#17227f",
"rgb": {
"r": 23,
"g": 34,
"b": 127
},
"hsl": {
"h": 233.654,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.31859,
"c": 0.15425,
"h": 269.3
},
"luminance": 0.02859
}Semantic roles & 50–950 ramp
primary
#17227F
secondary
#B4A73E
accent
#D93CEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F