#17178E#17178E
#17178E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.0% C 0.184 H 269.7°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).
Color values
| HEX | #17178E |
|---|---|
| RGB | rgb(23, 23, 142) |
| HSL | hsl(240, 72%, 32%) |
| HSV | hsv(240, 84%, 56%) |
| CMYK | cmyk(83.8%, 83.8%, 0%, 44.3%) |
| CIE-LAB | lab(19.00, 43.00, -63.45) |
| CIE-LCH | lch(19.00, 76.65, 304.12°) |
| OKLab | oklab(32.05% -0.0011 -0.1837) |
| OKLCH | oklch(32.05% 0.184 269.7) |
| XYZ | xyz(5.5406, 2.7473, 25.8242) |
| Luminance | 0.0275 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 0.83
Darkblue
#00008B
ΔE00 3.63
Cobalt Blue
#030AA7
ΔE00 3.67
Royal Blue (survey)
#0504AA
ΔE00 4.23
Navy
#000080
ΔE00 4.38
Midnight Blue
#191970
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17178E #8E8E17
analogous
#17538E #17178E #53178E
triadic
#17178E #8E1717 #178E17
tetradic
#17178E #8E1753 #8E8E17 #178E53
square
#17178E #8E1753 #8E8E17 #178E53
split-complementary
#17178E #8E5317 #538E17
monochromatic
#060625 #0E0E59 #17178E #2020C3 #3F3FE0
Accessibility & contrast
On white
13.55
#17178E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#17178E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17178E
13.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17178E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17178E | 1.00 | 13.55 | 1.55 | 13.55 |
| #FFFFFF | 13.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003491
Deuteranopia (green-blind)
#00288C
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #17178e; /* rgb */ color: rgb(23, 23, 142); /* oklch */ color: oklch(32.0% 0.184 269.7);
Tailwind
colors: {
custom: {
50: '#6e58b0',
500: '#17178e',
950: '#000000',
},
}SCSS
$custom: #17178e; $custom-light: #6e58b0; $custom-dark: #000000;
JSON
{
"hex": "#17178e",
"rgb": {
"r": 23,
"g": 23,
"b": 142
},
"hsl": {
"h": 240,
"s": 72.121,
"l": 32.353
},
"oklch": {
"l": 0.32047,
"c": 0.18371,
"h": 269.7
},
"luminance": 0.02748
}Semantic roles & 50–950 ramp
primary
#17178E
secondary
#C0C040
accent
#EF39EF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880