#17207F#17207F
#17207F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.5% C 0.156 H 269.6°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).
Color values
| HEX | #17207F |
|---|---|
| RGB | rgb(23, 32, 127) |
| HSL | hsl(235, 69%, 29%) |
| HSV | hsv(235, 82%, 50%) |
| CMYK | cmyk(81.9%, 74.8%, 0%, 50.2%) |
| CIE-LAB | lab(19.00, 32.65, -54.02) |
| CIE-LCH | lch(19.00, 63.12, 301.15°) |
| OKLab | oklab(31.53% -0.0011 -0.1565) |
| OKLCH | oklch(31.53% 0.156 269.6) |
| XYZ | xyz(4.6993, 2.7470, 20.3571) |
| Luminance | 0.0275 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.78
Royal
#0C1793
ΔE00 3.83
Dark Royal Blue
#02066F
ΔE00 5.96
Darkblue
#00008B
ΔE00 6.29
Navy
#000080
ΔE00 6.32
Deep Blue
#040273
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17207F #7F7617
analogous
#17547F #17207F #42177F
triadic
#17207F #7F1720 #207F17
tetradic
#17207F #7F1754 #7F7617 #177F42
square
#17207F #7F1754 #7F7617 #177F42
split-complementary
#17207F #7F4217 #547F17
monochromatic
#05071A #0E134B #17207F #202DB3 #3644DB
Accessibility & contrast
On white
13.55
#17207F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#17207F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17207F
13.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17207F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17207F | 1.00 | 13.55 | 1.55 | 13.55 |
| #FFFFFF | 13.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003382
Deuteranopia (green-blind)
#00297D
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #17207f; /* rgb */ color: rgb(23, 32, 127); /* oklch */ color: oklch(31.5% 0.156 269.6);
Tailwind
colors: {
custom: {
50: '#695ca5',
500: '#17207f',
950: '#000000',
},
}SCSS
$custom: #17207f; $custom-light: #695ca5; $custom-dark: #000000;
JSON
{
"hex": "#17207f",
"rgb": {
"r": 23,
"g": 32,
"b": 127
},
"hsl": {
"h": 234.808,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.31525,
"c": 0.15647,
"h": 269.6
},
"luminance": 0.02747
}Semantic roles & 50–950 ramp
primary
#17207F
secondary
#B4A93E
accent
#DD3CEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F