#17226C#17226C
#17226C is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.8% C 0.128 H 269.9°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).
Color values
| HEX | #17226C |
|---|---|
| RGB | rgb(23, 34, 108) |
| HSL | hsl(232, 65%, 26%) |
| HSV | hsv(232, 79%, 42%) |
| CMYK | cmyk(78.7%, 68.5%, 0%, 57.6%) |
| CIE-LAB | lab(17.50, 24.00, -44.28) |
| CIE-LCH | lch(17.50, 50.36, 298.46°) |
| OKLab | oklab(29.84% -0.0002 -0.128) |
| OKLCH | oklch(29.84% 0.128 269.9) |
| XYZ | xyz(3.6312, 2.4085, 14.4580) |
| Luminance | 0.0241 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.22
Darkblue (survey)
#030764
ΔE00 6.88
Marine
#042E60
ΔE00 6.93
Dark Royal Blue
#02066F
ΔE00 7.12
Navy Blue (survey)
#001146
ΔE00 7.21
Royal
#0C1793
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17226C #6C6117
analogous
#174C6C #17226C #36176C
triadic
#17226C #6C1722 #226C17
tetradic
#17226C #6C174C #6C6117 #176C36
square
#17226C #6C174C #6C6117 #176C36
split-complementary
#17226C #6C3617 #4C6C17
monochromatic
#050819 #0C123A #17226C #22329E #2C42D1
Accessibility & contrast
On white
14.17
#17226C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#17226C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17226C
14.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17226C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17226C | 1.00 | 14.17 | 1.48 | 14.17 |
| #FFFFFF | 14.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F6E
Deuteranopia (green-blind)
#00276B
Tritanopia (blue-blind)
#003643
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #17226c; /* rgb */ color: rgb(23, 34, 108); /* oklch */ color: oklch(29.8% 0.128 269.9);
Tailwind
colors: {
custom: {
50: '#635d97',
500: '#17226c',
950: '#000000',
},
}SCSS
$custom: #17226c; $custom-light: #635d97; $custom-dark: #000000;
JSON
{
"hex": "#17226c",
"rgb": {
"r": 23,
"g": 34,
"b": 108
},
"hsl": {
"h": 232.235,
"s": 64.885,
"l": 25.686
},
"oklch": {
"l": 0.29836,
"c": 0.12805,
"h": 269.9
},
"luminance": 0.02409
}Semantic roles & 50–950 ramp
primary
#17226C
secondary
#A2953D
accent
#D240E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E