#17197E#17197E
#17197E is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.3% C 0.162 H 270.6°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).
Color values
| HEX | #17197E |
|---|---|
| RGB | rgb(23, 25, 126) |
| HSL | hsl(239, 69%, 29%) |
| HSV | hsv(239, 82%, 49%) |
| CMYK | cmyk(81.7%, 80.2%, 0%, 50.6%) |
| CIE-LAB | lab(17.38, 36.53, -56.06) |
| CIE-LCH | lch(17.38, 66.91, 303.09°) |
| OKLab | oklab(30.34% 0.0017 -0.1623) |
| OKLCH | oklch(30.34% 0.162 270.6) |
| XYZ | xyz(4.4656, 2.3833, 19.9593) |
| Luminance | 0.0238 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.27
Royal
#0C1793
ΔE00 3.11
Dark Royal Blue
#02066F
ΔE00 4.33
Navy
#000080
ΔE00 4.53
Darkblue
#00008B
ΔE00 4.63
Deep Blue
#040273
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17197E #7E7C17
analogous
#174D7E #17197E #49177E
triadic
#17197E #7E1719 #197E17
tetradic
#17197E #7E174D #7E7C17 #177E49
square
#17197E #7E174D #7E7C17 #177E49
split-complementary
#17197E #7E4917 #4D7E17
monochromatic
#05051A #0E0F4A #17197E #2023B2 #3538DA
Accessibility & contrast
On white
14.22
#17197E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#17197E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17197E
14.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17197E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17197E | 1.00 | 14.22 | 1.48 | 14.22 |
| #FFFFFF | 14.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003081
Deuteranopia (green-blind)
#00257C
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #17197e; /* rgb */ color: rgb(23, 25, 126); /* oklch */ color: oklch(30.3% 0.162 270.6);
Tailwind
colors: {
custom: {
50: '#6958a5',
500: '#17197e',
950: '#000000',
},
}SCSS
$custom: #17197e; $custom-light: #6958a5; $custom-dark: #000000;
JSON
{
"hex": "#17197e",
"rgb": {
"r": 23,
"g": 25,
"b": 126
},
"hsl": {
"h": 238.835,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.30341,
"c": 0.16234,
"h": 270.6
},
"luminance": 0.02384
}Semantic roles & 50–950 ramp
primary
#17197E
secondary
#B3B03E
accent
#E93CEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F