#17167E#17167E
#17167E is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.165 H 270.9°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).
Color values
| HEX | #17167E |
|---|---|
| RGB | rgb(23, 22, 126) |
| HSL | hsl(241, 70%, 29%) |
| HSV | hsv(241, 83%, 49%) |
| CMYK | cmyk(81.7%, 82.5%, 0%, 50.6%) |
| CIE-LAB | lab(16.81, 38.20, -57.01) |
| CIE-LCH | lch(16.81, 68.63, 303.82°) |
| OKLab | oklab(29.94% 0.0027 -0.1651) |
| OKLCH | oklch(29.94% 0.165 270.9) |
| XYZ | xyz(4.4049, 2.2618, 19.9390) |
| Luminance | 0.0226 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.51
Royal
#0C1793
ΔE00 3.04
Dark Royal Blue
#02066F
ΔE00 3.79
Navy
#000080
ΔE00 3.85
Darkblue
#00008B
ΔE00 4.00
Deep Blue
#040273
ΔE00 4.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17167E #7D7E16
analogous
#16497E #17167E #4B167E
triadic
#17167E #7E1716 #167E17
tetradic
#17167E #7E1649 #7D7E16 #167E4B
square
#17167E #7E1649 #7D7E16 #167E4B
split-complementary
#17167E #7E4B16 #497E16
monochromatic
#05051A #0D0D4A #17167E #211FB2 #3533DB
Accessibility & contrast
On white
14.46
#17167E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#17167E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17167E
14.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17167E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17167E | 1.00 | 14.46 | 1.45 | 14.46 |
| #FFFFFF | 14.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F81
Deuteranopia (green-blind)
#00247C
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #17167e; /* rgb */ color: rgb(23, 22, 126); /* oklch */ color: oklch(29.9% 0.165 270.9);
Tailwind
colors: {
custom: {
50: '#6956a5',
500: '#17167e',
950: '#000000',
},
}SCSS
$custom: #17167e; $custom-light: #6956a5; $custom-dark: #000000;
JSON
{
"hex": "#17167e",
"rgb": {
"r": 23,
"g": 22,
"b": 126
},
"hsl": {
"h": 240.577,
"s": 70.27,
"l": 29.02
},
"oklch": {
"l": 0.29937,
"c": 0.16508,
"h": 270.9
},
"luminance": 0.02262
}Semantic roles & 50–950 ramp
primary
#17167E
secondary
#B2B33D
accent
#ED3BEB
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F