#17257E#17257E
#17257E is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.3% C 0.149 H 268.7°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).
Color values
| HEX | #17257E |
|---|---|
| RGB | rgb(23, 37, 126) |
| HSL | hsl(232, 69%, 29%) |
| HSV | hsv(232, 82%, 49%) |
| CMYK | cmyk(81.7%, 70.6%, 0%, 50.6%) |
| CIE-LAB | lab(20.09, 29.00, -51.59) |
| CIE-LCH | lch(20.09, 59.18, 299.34°) |
| OKLab | oklab(32.28% -0.0034 -0.1494) |
| OKLCH | oklch(32.28% 0.149 268.7) |
| XYZ | xyz(4.7795, 3.0111, 20.0639) |
| Luminance | 0.0301 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.74
Royal
#0C1793
ΔE00 5.06
Dark Royal Blue
#02066F
ΔE00 7.34
Darkblue (survey)
#030764
ΔE00 7.80
Darkblue
#00008B
ΔE00 7.80
Navy
#000080
ΔE00 7.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17257E #7E7017
analogous
#17597E #17257E #3D177E
triadic
#17257E #7E1725 #257E17
tetradic
#17257E #7E1759 #7E7017 #177E3D
square
#17257E #7E1759 #7E7017 #177E3D
split-complementary
#17257E #7E3D17 #597E17
monochromatic
#05081A #0E164A #17257E #2034B2 #354CDA
Accessibility & contrast
On white
13.11
#17257E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#17257E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17257E
13.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17257E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17257E | 1.00 | 13.11 | 1.60 | 13.11 |
| #FFFFFF | 13.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003581
Deuteranopia (green-blind)
#002C7C
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #17257e; /* rgb */ color: rgb(23, 37, 126); /* oklch */ color: oklch(32.3% 0.149 268.7);
Tailwind
colors: {
custom: {
50: '#685fa4',
500: '#17257e',
950: '#000000',
},
}SCSS
$custom: #17257e; $custom-light: #685fa4; $custom-dark: #000000;
JSON
{
"hex": "#17257e",
"rgb": {
"r": 23,
"g": 37,
"b": 126
},
"hsl": {
"h": 231.845,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.32277,
"c": 0.14944,
"h": 268.7
},
"luminance": 0.03012
}Semantic roles & 50–950 ramp
primary
#17257E
secondary
#B3A33E
accent
#D43CEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F