#173E8B#173E8B
#173E8B is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.6% C 0.136 H 262.0°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).
Color values
| HEX | #173E8B |
|---|---|
| RGB | rgb(23, 62, 139) |
| HSL | hsl(220, 72%, 32%) |
| HSV | hsv(220, 83%, 55%) |
| CMYK | cmyk(83.5%, 55.4%, 0%, 45.5%) |
| CIE-LAB | lab(28.09, 16.86, -46.66) |
| CIE-LCH | lch(28.09, 49.61, 289.87°) |
| OKLab | oklab(38.59% -0.0189 -0.1346) |
| OKLCH | oklch(38.59% 0.136 262) |
| XYZ | xyz(6.7345, 5.4907, 25.1260) |
| Luminance | 0.0549 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkish Blue
#014182
ΔE00 3.24
Cobalt (survey)
#1E488F
ΔE00 3.29
Twilight Blue
#0A437A
ΔE00 4.44
Cobalt
#0047AB
ΔE00 4.85
Marine Blue
#01386A
ΔE00 5.41
Prussian Blue
#004577
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#173E8B #8B6417
analogous
#17788B #173E8B #2A178B
triadic
#173E8B #8B173E #3E8B17
tetradic
#173E8B #8B1778 #8B6417 #178B2A
square
#173E8B #8B1778 #8B6417 #178B2A
split-complementary
#173E8B #8B2A17 #788B17
monochromatic
#060F22 #0E2756 #173E8B #2055C0 #3D74DF
Accessibility & contrast
On white
10.01
#173E8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#173E8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #173E8B
10.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##173E8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##173E8B | 1.00 | 10.01 | 2.10 | 10.01 |
| #FFFFFF | 10.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00488E
Deuteranopia (green-blind)
#003D89
Tritanopia (blue-blind)
#00515E
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #173e8b; /* rgb */ color: rgb(23, 62, 139); /* oklch */ color: oklch(38.6% 0.136 262.0);
Tailwind
colors: {
custom: {
50: '#6972ad',
500: '#173e8b',
950: '#000000',
},
}SCSS
$custom: #173e8b; $custom-light: #6972ad; $custom-dark: #000000;
JSON
{
"hex": "#173e8b",
"rgb": {
"r": 23,
"g": 62,
"b": 139
},
"hsl": {
"h": 219.828,
"s": 71.605,
"l": 31.765
},
"oklch": {
"l": 0.38591,
"c": 0.13592,
"h": 262
},
"luminance": 0.05491
}Semantic roles & 50–950 ramp
primary
#173E8B
secondary
#BF943F
accent
#B239EE
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F