#17257C#17257C
#17257C is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.1% C 0.147 H 268.8°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).
Color values
| HEX | #17257C |
|---|---|
| RGB | rgb(23, 37, 124) |
| HSL | hsl(232, 69%, 29%) |
| HSV | hsv(232, 81%, 49%) |
| CMYK | cmyk(81.5%, 70.2%, 0%, 51.4%) |
| CIE-LAB | lab(19.88, 28.23, -50.66) |
| CIE-LCH | lch(19.88, 57.99, 299.13°) |
| OKLab | oklab(32.07% -0.0032 -0.1467) |
| OKLCH | oklch(32.07% 0.147 268.8) |
| XYZ | xyz(4.6518, 2.9600, 19.3910) |
| Luminance | 0.0296 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.66
Royal
#0C1793
ΔE00 5.33
Dark Royal Blue
#02066F
ΔE00 7.35
Marine
#042E60
ΔE00 7.72
Darkblue (survey)
#030764
ΔE00 7.73
Deep Blue
#040273
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17257C #7C6E17
analogous
#17587C #17257C #3C177C
triadic
#17257C #7C1725 #257C17
tetradic
#17257C #7C1758 #7C6E17 #177C3C
square
#17257C #7C1758 #7C6E17 #177C3C
split-complementary
#17257C #7C3C17 #587C17
monochromatic
#05081A #0D1648 #17257C #2134B0 #344BD9
Accessibility & contrast
On white
13.19
#17257C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#17257C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17257C
13.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17257C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17257C | 1.00 | 13.19 | 1.59 | 13.19 |
| #FFFFFF | 13.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#002B7A
Tritanopia (blue-blind)
#003D4D
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #17257c; /* rgb */ color: rgb(23, 37, 124); /* oklch */ color: oklch(32.1% 0.147 268.8);
Tailwind
colors: {
custom: {
50: '#675fa3',
500: '#17257c',
950: '#000000',
},
}SCSS
$custom: #17257c; $custom-light: #675fa3; $custom-dark: #000000;
JSON
{
"hex": "#17257c",
"rgb": {
"r": 23,
"g": 37,
"b": 124
},
"hsl": {
"h": 231.683,
"s": 68.707,
"l": 28.824
},
"oklch": {
"l": 0.32066,
"c": 0.14671,
"h": 268.8
},
"luminance": 0.02961
}Semantic roles & 50–950 ramp
primary
#17257C
secondary
#B1A13E
accent
#D33CEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F