#173D8E#173D8E
#173D8E is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.6% C 0.141 H 262.7°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).
Color values
| HEX | #173D8E |
|---|---|
| RGB | rgb(23, 61, 142) |
| HSL | hsl(221, 72%, 32%) |
| HSV | hsv(221, 84%, 56%) |
| CMYK | cmyk(83.8%, 57%, 0%, 44.3%) |
| CIE-LAB | lab(28.04, 18.79, -48.59) |
| CIE-LCH | lch(28.04, 52.10, 291.14°) |
| OKLab | oklab(38.63% -0.0179 -0.1403) |
| OKLCH | oklch(38.63% 0.141 262.7) |
| XYZ | xyz(6.9028, 5.4718, 26.2783) |
| Luminance | 0.0547 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.72
Darkish Blue
#014182
ΔE00 3.85
Cobalt
#0047AB
ΔE00 4.75
Twilight Blue
#0A437A
ΔE00 5.06
Sapphire (survey)
#2138AB
ΔE00 5.51
Marine Blue
#01386A
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#173D8E #8E6817
analogous
#17798E #173D8E #2C178E
triadic
#173D8E #8E173D #3D8E17
tetradic
#173D8E #8E1779 #8E6817 #178E2C
square
#173D8E #8E1779 #8E6817 #178E2C
split-complementary
#173D8E #8E2C17 #798E17
monochromatic
#061025 #0E2659 #173D8E #2054C3 #3F73E0
Accessibility & contrast
On white
10.03
#173D8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#173D8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #173D8E
10.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##173D8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##173D8E | 1.00 | 10.03 | 2.09 | 10.03 |
| #FFFFFF | 10.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#00515F
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #173d8e; /* rgb */ color: rgb(23, 61, 142); /* oklch */ color: oklch(38.6% 0.141 262.7);
Tailwind
colors: {
custom: {
50: '#6a71b0',
500: '#173d8e',
950: '#000000',
},
}SCSS
$custom: #173d8e; $custom-light: #6a71b0; $custom-dark: #000000;
JSON
{
"hex": "#173d8e",
"rgb": {
"r": 23,
"g": 61,
"b": 142
},
"hsl": {
"h": 220.84,
"s": 72.121,
"l": 32.353
},
"oklch": {
"l": 0.38628,
"c": 0.14145,
"h": 262.7
},
"luminance": 0.05473
}Semantic roles & 50–950 ramp
primary
#173D8E
secondary
#C09740
accent
#B539EF
background
#F6F6FA
surface
#ECECF5
border
#C7C7CF
text
#080710
muted
#7A7A7F