#173E9E#173E9E
#173E9E is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.162 H 263.8°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).
Color values
| HEX | #173E9E |
|---|---|
| RGB | rgb(23, 62, 158) |
| HSL | hsl(223, 75%, 35%) |
| HSV | hsv(223, 85%, 62%) |
| CMYK | cmyk(85.4%, 60.8%, 0%, 38%) |
| CIE-LAB | lab(29.65, 24.57, -55.75) |
| CIE-LCH | lch(29.65, 60.92, 293.78°) |
| OKLab | oklab(40.26% -0.0176 -0.1613) |
| OKLCH | oklch(40.26% 0.162 263.8) |
| XYZ | xyz(8.2453, 6.0950, 33.0830) |
| Luminance | 0.0610 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.49
Cobalt
#0047AB
ΔE00 3.50
Cobalt (survey)
#1E488F
ΔE00 4.53
Darkish Blue
#014182
ΔE00 5.59
Blue Blue
#2242C7
ΔE00 6.00
Blueberry
#464196
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#173E9E #9E7717
analogous
#17819E #173E9E #34179E
triadic
#173E9E #9E173E #3E9E17
tetradic
#173E9E #9E1781 #9E7717 #179E34
square
#173E9E #9E1781 #9E7717 #179E34
split-complementary
#173E9E #9E3417 #819E17
monochromatic
#071433 #0F2969 #173E9E #1F53D3 #4B77E5
Accessibility & contrast
On white
9.46
#173E9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#173E9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #173E9E
9.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##173E9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##173E9E | 1.00 | 9.46 | 2.22 | 9.46 |
| #FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CA1
Deuteranopia (green-blind)
#00409C
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #173e9e; /* rgb */ color: rgb(23, 62, 158); /* oklch */ color: oklch(40.3% 0.162 263.8);
Tailwind
colors: {
custom: {
50: '#6e72bb',
500: '#173e9e',
950: '#000000',
},
}SCSS
$custom: #173e9e; $custom-light: #6e72bb; $custom-dark: #000000;
JSON
{
"hex": "#173e9e",
"rgb": {
"r": 23,
"g": 62,
"b": 158
},
"hsl": {
"h": 222.667,
"s": 74.586,
"l": 35.49
},
"oklch": {
"l": 0.40256,
"c": 0.16226,
"h": 263.8
},
"luminance": 0.06096
}Semantic roles & 50–950 ramp
primary
#173E9E
secondary
#C6A34A
accent
#BB37F1
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81