#17118E#17118E
#17118E is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.4% C 0.188 H 270.0°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).
Color values
| HEX | #17118E |
|---|---|
| RGB | rgb(23, 17, 142) |
| HSL | hsl(243, 79%, 31%) |
| HSV | hsv(243, 88%, 56%) |
| CMYK | cmyk(83.8%, 88%, 0%, 44.3%) |
| CIE-LAB | lab(18.08, 45.74, -64.99) |
| CIE-LCH | lch(18.08, 79.47, 305.14°) |
| OKLab | oklab(31.41% -0.0001 -0.188) |
| OKLCH | oklch(31.41% 0.188 270) |
| XYZ | xyz(5.4346, 2.5354, 25.7889) |
| Luminance | 0.0254 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.43
Darkblue
#00008B
ΔE00 2.61
Cobalt Blue
#030AA7
ΔE00 3.32
Navy
#000080
ΔE00 3.50
Royal Blue (survey)
#0504AA
ΔE00 3.79
Indigo (survey)
#380282
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17118E #888E11
analogous
#11498E #17118E #55118E
triadic
#17118E #8E1711 #118E17
tetradic
#17118E #8E1149 #888E11 #118E55
square
#17118E #8E1149 #888E11 #118E55
split-complementary
#17118E #8E5511 #498E11
monochromatic
#050421 #0E0A57 #17118E #2018C5 #3B33E7
Accessibility & contrast
On white
13.93
#17118E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#17118E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17118E
13.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17118E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17118E | 1.00 | 13.93 | 1.51 | 13.93 |
| #FFFFFF | 13.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003291
Deuteranopia (green-blind)
#00268C
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #17118e; /* rgb */ color: rgb(23, 17, 142); /* oklch */ color: oklch(31.4% 0.188 270.0);
Tailwind
colors: {
custom: {
50: '#6e55b1',
500: '#17118e',
950: '#000000',
},
}SCSS
$custom: #17118e; $custom-light: #6e55b1; $custom-dark: #000000;
JSON
{
"hex": "#17118e",
"rgb": {
"r": 23,
"g": 17,
"b": 142
},
"hsl": {
"h": 242.88,
"s": 78.616,
"l": 31.176
},
"oklch": {
"l": 0.3141,
"c": 0.18802,
"h": 270
},
"luminance": 0.02536
}Semantic roles & 50–950 ramp
primary
#17118E
secondary
#BCC238
accent
#F533EC
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880