#17197C#17197C
#17197C is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.160 H 270.8°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).
Color values
| HEX | #17197C |
|---|---|
| RGB | rgb(23, 25, 124) |
| HSL | hsl(239, 69%, 29%) |
| HSV | hsv(239, 81%, 49%) |
| CMYK | cmyk(81.5%, 79.8%, 0%, 51.4%) |
| CIE-LAB | lab(17.14, 35.83, -55.18) |
| CIE-LCH | lch(17.14, 65.79, 303.00°) |
| OKLab | oklab(30.1% 0.0021 -0.1598) |
| OKLCH | oklch(30.1% 0.16 270.8) |
| XYZ | xyz(4.3378, 2.3322, 19.2864) |
| Luminance | 0.0233 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.96
Royal
#0C1793
ΔE00 3.42
Dark Royal Blue
#02066F
ΔE00 4.22
Deep Blue
#040273
ΔE00 4.60
Navy
#000080
ΔE00 4.61
Darkblue
#00008B
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17197C #7C7A17
analogous
#174C7C #17197C #48177C
triadic
#17197C #7C1719 #197C17
tetradic
#17197C #7C174C #7C7A17 #177C48
square
#17197C #7C174C #7C7A17 #177C48
split-complementary
#17197C #7C4817 #4C7C17
monochromatic
#05051A #0D0F48 #17197C #2123B0 #3437D9
Accessibility & contrast
On white
14.32
#17197C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#17197C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17197C
14.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17197C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17197C | 1.00 | 14.32 | 1.47 | 14.32 |
| #FFFFFF | 14.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F7F
Deuteranopia (green-blind)
#00257A
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #17197c; /* rgb */ color: rgb(23, 25, 124); /* oklch */ color: oklch(30.1% 0.160 270.8);
Tailwind
colors: {
custom: {
50: '#6957a3',
500: '#17197c',
950: '#000000',
},
}SCSS
$custom: #17197c; $custom-light: #6957a3; $custom-dark: #000000;
JSON
{
"hex": "#17197c",
"rgb": {
"r": 23,
"g": 25,
"b": 124
},
"hsl": {
"h": 238.812,
"s": 68.707,
"l": 28.824
},
"oklch": {
"l": 0.30102,
"c": 0.1598,
"h": 270.8
},
"luminance": 0.02333
}Semantic roles & 50–950 ramp
primary
#17197C
secondary
#B1AF3E
accent
#E83CEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F