#173B7E#173B7E
#173B7E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 36.8% C 0.121 H 261.4°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).
Color values
| HEX | #173B7E |
|---|---|
| RGB | rgb(23, 59, 126) |
| HSL | hsl(219, 69%, 29%) |
| HSV | hsv(219, 82%, 49%) |
| CMYK | cmyk(81.7%, 53.2%, 0%, 50.6%) |
| CIE-LAB | lab(26.20, 13.59, -41.61) |
| CIE-LCH | lch(26.20, 43.78, 288.09°) |
| OKLab | oklab(36.84% -0.0181 -0.1198) |
| OKLCH | oklch(36.84% 0.121 261.4) |
| XYZ | xyz(5.6818, 4.8158, 20.3647) |
| Luminance | 0.0482 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkish Blue
#014182
ΔE00 3.20
Marine Blue
#01386A
ΔE00 3.90
Twilight Blue
#0A437A
ΔE00 4.16
Cobalt (survey)
#1E488F
ΔE00 4.46
Marine
#042E60
ΔE00 5.40
Prussian Blue
#004577
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#173B7E #7E5A17
analogous
#176F7E #173B7E #26177E
triadic
#173B7E #7E173B #3B7E17
tetradic
#173B7E #7E176F #7E5A17 #177E26
square
#173B7E #7E176F #7E5A17 #177E26
split-complementary
#173B7E #7E2617 #6F7E17
monochromatic
#050C1A #0E234A #173B7E #2053B2 #356FDA
Accessibility & contrast
On white
10.70
#173B7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#173B7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #173B7E
10.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##173B7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##173B7E | 1.00 | 10.70 | 1.96 | 10.70 |
| #FFFFFF | 10.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F4380
Deuteranopia (green-blind)
#003A7D
Tritanopia (blue-blind)
#004B56
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #173b7e; /* rgb */ color: rgb(23, 59, 126); /* oklch */ color: oklch(36.8% 0.121 261.4);
Tailwind
colors: {
custom: {
50: '#6670a4',
500: '#173b7e',
950: '#000000',
},
}SCSS
$custom: #173b7e; $custom-light: #6670a4; $custom-dark: #000000;
JSON
{
"hex": "#173b7e",
"rgb": {
"r": 23,
"g": 59,
"b": 126
},
"hsl": {
"h": 219.029,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.3684,
"c": 0.12119,
"h": 261.4
},
"luminance": 0.04816
}Semantic roles & 50–950 ramp
primary
#173B7E
secondary
#B38A3E
accent
#AE3CEC
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F