#17167C#17167C
#17167C is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.163 H 271.1°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).
Color values
| HEX | #17167C |
|---|---|
| RGB | rgb(23, 22, 124) |
| HSL | hsl(241, 70%, 29%) |
| HSV | hsv(241, 82%, 49%) |
| CMYK | cmyk(81.5%, 82.3%, 0%, 51.4%) |
| CIE-LAB | lab(16.56, 37.52, -56.15) |
| CIE-LCH | lch(16.56, 67.53, 303.75°) |
| OKLab | oklab(29.69% 0.0031 -0.1626) |
| OKLCH | oklch(29.69% 0.163 271.1) |
| XYZ | xyz(4.2771, 2.2107, 19.2662) |
| Luminance | 0.0221 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.22
Royal
#0C1793
ΔE00 3.34
Dark Royal Blue
#02066F
ΔE00 3.65
Navy
#000080
ΔE00 3.92
Deep Blue
#040273
ΔE00 3.94
Darkblue
#00008B
ΔE00 4.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17167C #7B7C16
analogous
#16487C #17167C #4A167C
triadic
#17167C #7C1716 #167C17
tetradic
#17167C #7C1648 #7B7C16 #167C4A
square
#17167C #7C1648 #7B7C16 #167C4A
split-complementary
#17167C #7C4A16 #487C16
monochromatic
#05051A #0D0D48 #17167C #211FB0 #3332DB
Accessibility & contrast
On white
14.56
#17167C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#17167C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17167C
14.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17167C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17167C | 1.00 | 14.56 | 1.44 | 14.56 |
| #FFFFFF | 14.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7F
Deuteranopia (green-blind)
#00247A
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #17167c; /* rgb */ color: rgb(23, 22, 124); /* oklch */ color: oklch(29.7% 0.163 271.1);
Tailwind
colors: {
custom: {
50: '#6956a3',
500: '#17167c',
950: '#000000',
},
}SCSS
$custom: #17167c; $custom-light: #6956a3; $custom-dark: #000000;
JSON
{
"hex": "#17167c",
"rgb": {
"r": 23,
"g": 22,
"b": 124
},
"hsl": {
"h": 240.588,
"s": 69.863,
"l": 28.627
},
"oklch": {
"l": 0.29691,
"c": 0.16259,
"h": 271.1
},
"luminance": 0.02211
}Semantic roles & 50–950 ramp
primary
#17167C
secondary
#B0B13D
accent
#ED3BEB
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F