#17277E#17277E
#17277E is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.6% C 0.147 H 268.3°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).
Color values
| HEX | #17277E |
|---|---|
| RGB | rgb(23, 39, 126) |
| HSL | hsl(231, 69%, 29%) |
| HSV | hsv(231, 82%, 49%) |
| CMYK | cmyk(81.7%, 69%, 0%, 50.6%) |
| CIE-LAB | lab(20.59, 27.65, -50.76) |
| CIE-LCH | lch(20.59, 57.80, 298.57°) |
| OKLab | oklab(32.64% -0.0044 -0.147) |
| OKLCH | oklch(32.64% 0.147 268.3) |
| XYZ | xyz(4.8435, 3.1390, 20.0852) |
| Luminance | 0.0314 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.28
Royal
#0C1793
ΔE00 5.58
Marine
#042E60
ΔE00 7.46
Sapphire (survey)
#2138AB
ΔE00 7.60
Dark Royal Blue
#02066F
ΔE00 7.94
Darkblue (survey)
#030764
ΔE00 8.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17277E #7E6E17
analogous
#175B7E #17277E #3B177E
triadic
#17277E #7E1727 #277E17
tetradic
#17277E #7E175B #7E6E17 #177E3B
square
#17277E #7E175B #7E6E17 #177E3B
split-complementary
#17277E #7E3B17 #5B7E17
monochromatic
#05081A #0E174A #17277E #2037B2 #354FDA
Accessibility & contrast
On white
12.90
#17277E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#17277E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #17277E
12.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17277E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##17277E | 1.00 | 12.90 | 1.63 | 12.90 |
| #FFFFFF | 12.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003781
Deuteranopia (green-blind)
#002D7C
Tritanopia (blue-blind)
#003F4F
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #17277e; /* rgb */ color: rgb(23, 39, 126); /* oklch */ color: oklch(32.6% 0.147 268.3);
Tailwind
colors: {
custom: {
50: '#6861a4',
500: '#17277e',
950: '#000000',
},
}SCSS
$custom: #17277e; $custom-light: #6861a4; $custom-dark: #000000;
JSON
{
"hex": "#17277e",
"rgb": {
"r": 23,
"g": 39,
"b": 126
},
"hsl": {
"h": 230.68,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.32644,
"c": 0.14704,
"h": 268.3
},
"luminance": 0.0314
}Semantic roles & 50–950 ramp
primary
#17277E
secondary
#B3A13E
accent
#D13CEC
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07050F
muted
#7A797F