#17287F#17287F
#17287F is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.9% C 0.147 H 268.0°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).
Color values
| HEX | #17287F |
|---|---|
| RGB | rgb(23, 40, 127) |
| HSL | hsl(230, 69%, 29%) |
| HSV | hsv(230, 82%, 50%) |
| CMYK | cmyk(81.9%, 68.5%, 0%, 50.2%) |
| CIE-LAB | lab(20.95, 27.36, -50.81) |
| CIE-LCH | lch(20.95, 57.71, 298.30°) |
| OKLab | oklab(32.93% -0.005 -0.1471) |
| OKLCH | oklch(32.93% 0.147 268) |
| XYZ | xyz(4.9416, 3.2315, 20.4379) |
| Luminance | 0.0323 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.60
Royal
#0C1793
ΔE00 5.72
Marine
#042E60
ΔE00 7.35
Sapphire (survey)
#2138AB
ΔE00 7.36
Dark Royal Blue
#02066F
ΔE00 8.24
Darkslateblue
#483D8B
ΔE00 8.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17287F #7F6E17
analogous
#175C7F #17287F #3A177F
triadic
#17287F #7F1728 #287F17
tetradic
#17287F #7F175C #7F6E17 #177F3A
square
#17287F #7F175C #7F6E17 #177F3A
split-complementary
#17287F #7F3A17 #5C7F17
monochromatic
#05081A #0E184B #17287F #2038B3 #3651DB
Accessibility & contrast
On white
12.76
#17287F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#17287F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17287F
12.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17287F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17287F | 1.00 | 12.76 | 1.65 | 12.76 |
| #FFFFFF | 12.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#002D7D
Tritanopia (blue-blind)
#003F50
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #17287f; /* rgb */ color: rgb(23, 40, 127); /* oklch */ color: oklch(32.9% 0.147 268.0);
Tailwind
colors: {
custom: {
50: '#6862a5',
500: '#17287f',
950: '#000000',
},
}SCSS
$custom: #17287f; $custom-light: #6862a5; $custom-dark: #000000;
JSON
{
"hex": "#17287f",
"rgb": {
"r": 23,
"g": 40,
"b": 127
},
"hsl": {
"h": 230.192,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.32935,
"c": 0.1472,
"h": 268
},
"luminance": 0.03232
}Semantic roles & 50–950 ramp
primary
#17287F
secondary
#B4A03E
accent
#CF3CEC
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F