#173C7F#173C7F
#173C7F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.2% C 0.121 H 261.1°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).
Color values
| HEX | #173C7F |
|---|---|
| RGB | rgb(23, 60, 127) |
| HSL | hsl(219, 69%, 29%) |
| HSV | hsv(219, 82%, 50%) |
| CMYK | cmyk(81.9%, 52.8%, 0%, 50.2%) |
| CIE-LAB | lab(26.58, 13.30, -41.63) |
| CIE-LCH | lch(26.58, 43.71, 287.72°) |
| OKLab | oklab(37.15% -0.0187 -0.1199) |
| OKLCH | oklch(37.15% 0.121 261.1) |
| XYZ | xyz(5.7986, 4.9455, 20.7235) |
| Luminance | 0.0495 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkish Blue
#014182
ΔE00 2.90
Twilight Blue
#0A437A
ΔE00 3.89
Marine Blue
#01386A
ΔE00 3.93
Cobalt (survey)
#1E488F
ΔE00 4.12
Prussian Blue
#004577
ΔE00 5.52
Marine
#042E60
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#173C7F #7F5A17
analogous
#17707F #173C7F #26177F
triadic
#173C7F #7F173C #3C7F17
tetradic
#173C7F #7F1770 #7F5A17 #177F26
square
#173C7F #7F1770 #7F5A17 #177F26
split-complementary
#173C7F #7F2617 #707F17
monochromatic
#050C1A #0E244B #173C7F #2054B3 #3670DB
Accessibility & contrast
On white
10.56
#173C7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#173C7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #173C7F
10.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##173C7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##173C7F | 1.00 | 10.56 | 1.99 | 10.56 |
| #FFFFFF | 10.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#104481
Deuteranopia (green-blind)
#003A7E
Tritanopia (blue-blind)
#004C57
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #173c7f; /* rgb */ color: rgb(23, 60, 127); /* oklch */ color: oklch(37.2% 0.121 261.1);
Tailwind
colors: {
custom: {
50: '#6671a5',
500: '#173c7f',
950: '#000000',
},
}SCSS
$custom: #173c7f; $custom-light: #6671a5; $custom-dark: #000000;
JSON
{
"hex": "#173c7f",
"rgb": {
"r": 23,
"g": 60,
"b": 127
},
"hsl": {
"h": 218.654,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.37151,
"c": 0.12132,
"h": 261.1
},
"luminance": 0.04946
}Semantic roles & 50–950 ramp
primary
#173C7F
secondary
#B48A3E
accent
#AD3CEC
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F