#17257F#17257F
#17257F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.4% C 0.151 H 268.7°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).
Color values
| HEX | #17257F |
|---|---|
| RGB | rgb(23, 37, 127) |
| HSL | hsl(232, 69%, 29%) |
| HSV | hsv(232, 82%, 50%) |
| CMYK | cmyk(81.9%, 70.9%, 0%, 50.2%) |
| CIE-LAB | lab(20.19, 29.39, -52.05) |
| CIE-LCH | lch(20.19, 59.77, 299.45°) |
| OKLab | oklab(32.38% -0.0034 -0.1507) |
| OKLCH | oklch(32.38% 0.151 268.7) |
| XYZ | xyz(4.8444, 3.0370, 20.4054) |
| Luminance | 0.0304 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.80
Royal
#0C1793
ΔE00 4.93
Dark Royal Blue
#02066F
ΔE00 7.34
Darkblue
#00008B
ΔE00 7.72
Sapphire (survey)
#2138AB
ΔE00 7.76
Navy
#000080
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17257F #7F7117
analogous
#17597F #17257F #3D177F
triadic
#17257F #7F1725 #257F17
tetradic
#17257F #7F1759 #7F7117 #177F3D
square
#17257F #7F1759 #7F7117 #177F3D
split-complementary
#17257F #7F3D17 #597F17
monochromatic
#05081A #0E164B #17257F #2034B3 #364CDB
Accessibility & contrast
On white
13.06
#17257F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#17257F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17257F
13.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17257F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17257F | 1.00 | 13.06 | 1.61 | 13.06 |
| #FFFFFF | 13.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#002C7D
Tritanopia (blue-blind)
#003E4F
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #17257f; /* rgb */ color: rgb(23, 37, 127); /* oklch */ color: oklch(32.4% 0.151 268.7);
Tailwind
colors: {
custom: {
50: '#685fa5',
500: '#17257f',
950: '#000000',
},
}SCSS
$custom: #17257f; $custom-light: #685fa5; $custom-dark: #000000;
JSON
{
"hex": "#17257f",
"rgb": {
"r": 23,
"g": 37,
"b": 127
},
"hsl": {
"h": 231.923,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.32384,
"c": 0.15079,
"h": 268.7
},
"luminance": 0.03038
}Semantic roles & 50–950 ramp
primary
#17257F
secondary
#B4A43E
accent
#D43CEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F