#17167F#17167F
#17167F is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.166 H 270.8°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).
Color values
| HEX | #17167F |
|---|---|
| RGB | rgb(23, 22, 127) |
| HSL | hsl(241, 70%, 29%) |
| HSV | hsv(241, 83%, 50%) |
| CMYK | cmyk(81.9%, 82.7%, 0%, 50.2%) |
| CIE-LAB | lab(16.93, 38.53, -57.44) |
| CIE-LCH | lch(16.93, 69.17, 303.85°) |
| OKLab | oklab(30.06% 0.0024 -0.1663) |
| OKLCH | oklch(30.06% 0.166 270.8) |
| XYZ | xyz(4.4697, 2.2878, 20.2806) |
| Luminance | 0.0229 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.65
Royal
#0C1793
ΔE00 2.89
Navy
#000080
ΔE00 3.82
Dark Royal Blue
#02066F
ΔE00 3.87
Darkblue
#00008B
ΔE00 3.92
Deep Blue
#040273
ΔE00 4.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17167F #7E7F16
analogous
#164A7F #17167F #4C167F
triadic
#17167F #7F1716 #167F17
tetradic
#17167F #7F164A #7E7F16 #167F4C
square
#17167F #7F164A #7E7F16 #167F4C
split-complementary
#17167F #7F4C16 #4A7F16
monochromatic
#05051A #0E0D4B #17167F #201FB3 #3534DC
Accessibility & contrast
On white
14.41
#17167F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#17167F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17167F
14.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17167F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17167F | 1.00 | 14.41 | 1.46 | 14.41 |
| #FFFFFF | 14.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F82
Deuteranopia (green-blind)
#00247D
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #17167f; /* rgb */ color: rgb(23, 22, 127); /* oklch */ color: oklch(30.1% 0.166 270.8);
Tailwind
colors: {
custom: {
50: '#6a56a5',
500: '#17167f',
950: '#000000',
},
}SCSS
$custom: #17167f; $custom-light: #6a56a5; $custom-dark: #000000;
JSON
{
"hex": "#17167f",
"rgb": {
"r": 23,
"g": 22,
"b": 127
},
"hsl": {
"h": 240.571,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.3006,
"c": 0.16632,
"h": 270.8
},
"luminance": 0.02288
}Semantic roles & 50–950 ramp
primary
#17167F
secondary
#B3B43D
accent
#ED3BEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F