#17197B#17197B
#17197B is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.159 H 270.8°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).
Color values
| HEX | #17197B |
|---|---|
| RGB | rgb(23, 25, 123) |
| HSL | hsl(239, 68%, 29%) |
| HSV | hsv(239, 81%, 48%) |
| CMYK | cmyk(81.3%, 79.7%, 0%, 51.8%) |
| CIE-LAB | lab(17.02, 35.48, -54.74) |
| CIE-LCH | lch(17.02, 65.23, 302.95°) |
| OKLab | oklab(29.98% 0.0023 -0.1585) |
| OKLCH | oklch(29.98% 0.159 270.8) |
| XYZ | xyz(4.2749, 2.3070, 18.9550) |
| Luminance | 0.0231 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.80
Royal
#0C1793
ΔE00 3.58
Dark Royal Blue
#02066F
ΔE00 4.18
Deep Blue
#040273
ΔE00 4.58
Navy
#000080
ΔE00 4.66
Darkblue
#00008B
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17197B #7B7917
analogous
#174B7B #17197B #47177B
triadic
#17197B #7B1719 #197B17
tetradic
#17197B #7B174B #7B7917 #177B47
square
#17197B #7B174B #7B7917 #177B47
split-complementary
#17197B #7B4717 #4B7B17
monochromatic
#05051A #0D0F47 #17197B #2123AF #3337D9
Accessibility & contrast
On white
14.37
#17197B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#17197B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17197B
14.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17197B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17197B | 1.00 | 14.37 | 1.46 | 14.37 |
| #FFFFFF | 14.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F7E
Deuteranopia (green-blind)
#002579
Tritanopia (blue-blind)
#003749
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #17197b; /* rgb */ color: rgb(23, 25, 123); /* oklch */ color: oklch(30.0% 0.159 270.8);
Tailwind
colors: {
custom: {
50: '#6857a2',
500: '#17197b',
950: '#000000',
},
}SCSS
$custom: #17197b; $custom-light: #6857a2; $custom-dark: #000000;
JSON
{
"hex": "#17197b",
"rgb": {
"r": 23,
"g": 25,
"b": 123
},
"hsl": {
"h": 238.8,
"s": 68.493,
"l": 28.627
},
"oklch": {
"l": 0.29982,
"c": 0.15853,
"h": 270.8
},
"luminance": 0.02307
}Semantic roles & 50–950 ramp
primary
#17197B
secondary
#B0AE3E
accent
#E83CEB
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F