#17165C#17165C
#17165C is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.9% C 0.120 H 274.7°. Best body text is #FFFFFF at 16.08:1 contrast (WCAG AA passes).
Color values
| HEX | #17165C |
|---|---|
| RGB | rgb(23, 22, 92) |
| HSL | hsl(241, 61%, 22%) |
| HSV | hsv(241, 76%, 36%) |
| CMYK | cmyk(75%, 76.1%, 0%, 63.9%) |
| CIE-LAB | lab(12.79, 26.02, -41.44) |
| CIE-LCH | lch(12.79, 48.93, 302.12°) |
| OKLab | oklab(25.92% 0.0098 -0.1198) |
| OKLCH | oklch(25.92% 0.12 274.7) |
| XYZ | xyz(2.5714, 1.5284, 10.2826) |
| Luminance | 0.0153 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.45
Dark Indigo
#1F0954
ΔE00 3.95
Darkblue (survey)
#030764
ΔE00 4.39
Navy Blue (survey)
#001146
ΔE00 4.73
Dark Blue
#00035B
ΔE00 4.89
Night Blue
#040348
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17165C #5B5C16
analogous
#16385C #17165C #3A165C
triadic
#17165C #5C1716 #165C17
tetradic
#17165C #5C1638 #5B5C16 #165C3A
square
#17165C #5C1638 #5B5C16 #165C3A
split-complementary
#17165C #5C3A16 #385C16
monochromatic
#060619 #0B0A2B #17165C #23228D #302EBF
Accessibility & contrast
On white
16.08
#17165C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.31
#17165C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17165C
16.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17165C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17165C | 1.00 | 16.08 | 1.31 | 16.08 |
| #FFFFFF | 16.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00245E
Deuteranopia (green-blind)
#001E5B
Tritanopia (blue-blind)
#002937
Achromatopsia (no color)
#212121
Design tokens & code
CSS
--color: #17165c; /* rgb */ color: rgb(23, 22, 92); /* oklch */ color: oklch(25.9% 0.120 274.7);
Tailwind
colors: {
custom: {
50: '#60548b',
500: '#17165c',
950: '#000000',
},
}SCSS
$custom: #17165c; $custom-light: #60548b; $custom-dark: #000000;
JSON
{
"hex": "#17165c",
"rgb": {
"r": 23,
"g": 22,
"b": 92
},
"hsl": {
"h": 240.857,
"s": 61.404,
"l": 22.353
},
"oklch": {
"l": 0.25915,
"c": 0.1202,
"h": 274.7
},
"luminance": 0.01529
}Semantic roles & 50–950 ramp
primary
#17165C
secondary
#92933B
accent
#E543E2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D