#17198F#17198F
#17198F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.183 H 269.5°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).
Color values
| HEX | #17198F |
|---|---|
| RGB | rgb(23, 25, 143) |
| HSL | hsl(239, 72%, 33%) |
| HSV | hsv(239, 84%, 56%) |
| CMYK | cmyk(83.9%, 82.5%, 0%, 43.9%) |
| CIE-LAB | lab(19.47, 42.32, -63.29) |
| CIE-LCH | lch(19.47, 76.13, 303.77°) |
| OKLab | oklab(32.41% -0.0017 -0.1833) |
| OKLCH | oklch(32.41% 0.183 269.5) |
| XYZ | xyz(5.6572, 2.8599, 26.2351) |
| Luminance | 0.0286 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 0.81
Cobalt Blue
#030AA7
ΔE00 3.75
Darkblue
#00008B
ΔE00 4.04
Royal Blue (survey)
#0504AA
ΔE00 4.34
Midnight Blue
#191970
ΔE00 4.78
Navy
#000080
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17198F #8F8D17
analogous
#17558F #17198F #51178F
triadic
#17198F #8F1719 #198F17
tetradic
#17198F #8F1755 #8F8D17 #178F51
square
#17198F #8F1755 #8F8D17 #178F51
split-complementary
#17198F #8F5117 #558F17
monochromatic
#060726 #0F105A #17198F #1F22C4 #4043E0
Accessibility & contrast
On white
13.36
#17198F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#17198F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17198F
13.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17198F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17198F | 1.00 | 13.36 | 1.57 | 13.36 |
| #FFFFFF | 13.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003592
Deuteranopia (green-blind)
#00298D
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #17198f; /* rgb */ color: rgb(23, 25, 143); /* oklch */ color: oklch(32.4% 0.183 269.5);
Tailwind
colors: {
custom: {
50: '#6e59b1',
500: '#17198f',
950: '#000000',
},
}SCSS
$custom: #17198f; $custom-light: #6e59b1; $custom-dark: #000000;
JSON
{
"hex": "#17198f",
"rgb": {
"r": 23,
"g": 25,
"b": 143
},
"hsl": {
"h": 239,
"s": 72.289,
"l": 32.549
},
"oklch": {
"l": 0.32411,
"c": 0.18329,
"h": 269.5
},
"luminance": 0.02861
}Semantic roles & 50–950 ramp
primary
#17198F
secondary
#C1BF41
accent
#EC39EF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980