#173AB4#173AB4
#173AB4 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.6% C 0.196 H 265.4°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #173AB4 |
|---|---|
| RGB | rgb(23, 58, 180) |
| HSL | hsl(227, 77%, 40%) |
| HSV | hsv(227, 87%, 71%) |
| CMYK | cmyk(87.2%, 67.8%, 0%, 29.4%) |
| CIE-LAB | lab(30.65, 35.78, -67.32) |
| CIE-LCH | lch(30.65, 76.24, 297.99°) |
| OKLab | oklab(41.61% -0.0159 -0.1952) |
| OKLCH | oklch(41.61% 0.196 265.4) |
| XYZ | xyz(10.1017, 6.5023, 43.8938) |
| Luminance | 0.0650 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.37
Blue Blue
#2242C7
ΔE00 3.43
Cobalt
#0047AB
ΔE00 5.31
Blue (survey)
#0343DF
ΔE00 5.96
Ocean Blue
#4F42B5
ΔE00 6.09
Blueberry
#464196
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#173AB4 #B49117
analogous
#1789B4 #173AB4 #4217B4
triadic
#173AB4 #B4173A #3AB417
tetradic
#173AB4 #B41789 #B49117 #17B442
square
#173AB4 #B41789 #B49117 #17B442
split-complementary
#173AB4 #B44217 #89B417
monochromatic
#091747 #10297E #173AB4 #254FE3 #5B7BEA
Accessibility & contrast
On white
9.13
#173AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#173AB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #173AB4
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##173AB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##173AB4 | 1.00 | 9.13 | 2.30 | 9.13 |
| #FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050B8
Deuteranopia (green-blind)
#0041B2
Tritanopia (blue-blind)
#005C72
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #173ab4; /* rgb */ color: rgb(23, 58, 180); /* oklch */ color: oklch(41.6% 0.196 265.4);
Tailwind
colors: {
custom: {
50: '#7570cc',
500: '#173ab4',
950: '#000000',
},
}SCSS
$custom: #173ab4; $custom-light: #7570cc; $custom-dark: #000000;
JSON
{
"hex": "#173ab4",
"rgb": {
"r": 23,
"g": 58,
"b": 180
},
"hsl": {
"h": 226.624,
"s": 77.34,
"l": 39.804
},
"oklch": {
"l": 0.41609,
"c": 0.19582,
"h": 265.4
},
"luminance": 0.06504
}Semantic roles & 50–950 ramp
primary
#173AB4
secondary
#CEB459
accent
#C934F4
background
#F7F6FC
surface
#EEECF9
border
#C9C7D2
text
#0A0713
muted
#7C7A82