#17197F#17197F
#17197F is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.5% C 0.164 H 270.5°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).
Color values
| HEX | #17197F |
|---|---|
| RGB | rgb(23, 25, 127) |
| HSL | hsl(239, 69%, 29%) |
| HSV | hsv(239, 82%, 50%) |
| CMYK | cmyk(81.9%, 80.3%, 0%, 50.2%) |
| CIE-LAB | lab(17.50, 36.88, -56.49) |
| CIE-LCH | lch(17.50, 67.46, 303.14°) |
| OKLab | oklab(30.46% 0.0015 -0.1636) |
| OKLCH | oklch(30.46% 0.164 270.5) |
| XYZ | xyz(4.5304, 2.4092, 20.3008) |
| Luminance | 0.0241 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.42
Royal
#0C1793
ΔE00 2.96
Dark Royal Blue
#02066F
ΔE00 4.39
Navy
#000080
ΔE00 4.50
Darkblue
#00008B
ΔE00 4.55
Deep Blue
#040273
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17197F #7F7D17
analogous
#174D7F #17197F #49177F
triadic
#17197F #7F1719 #197F17
tetradic
#17197F #7F174D #7F7D17 #177F49
square
#17197F #7F174D #7F7D17 #177F49
split-complementary
#17197F #7F4917 #4D7F17
monochromatic
#05051A #0E0F4B #17197F #2023B3 #3639DB
Accessibility & contrast
On white
14.17
#17197F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#17197F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17197F
14.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17197F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17197F | 1.00 | 14.17 | 1.48 | 14.17 |
| #FFFFFF | 14.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003082
Deuteranopia (green-blind)
#00267D
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #17197f; /* rgb */ color: rgb(23, 25, 127); /* oklch */ color: oklch(30.5% 0.164 270.5);
Tailwind
colors: {
custom: {
50: '#6958a5',
500: '#17197f',
950: '#000000',
},
}SCSS
$custom: #17197f; $custom-light: #6958a5; $custom-dark: #000000;
JSON
{
"hex": "#17197f",
"rgb": {
"r": 23,
"g": 25,
"b": 127
},
"hsl": {
"h": 238.846,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.30461,
"c": 0.16361,
"h": 270.5
},
"luminance": 0.0241
}Semantic roles & 50–950 ramp
primary
#17197F
secondary
#B4B13E
accent
#E93CEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F