#173AA1#173AA1
#173AA1 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.7% C 0.171 H 264.8°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).
Color values
| HEX | #173AA1 |
|---|---|
| RGB | rgb(23, 58, 161) |
| HSL | hsl(225, 75%, 36%) |
| HSV | hsv(225, 86%, 63%) |
| CMYK | cmyk(85.7%, 64%, 0%, 36.9%) |
| CIE-LAB | lab(28.85, 28.48, -58.87) |
| CIE-LCH | lch(28.85, 65.40, 295.81°) |
| OKLab | oklab(39.74% -0.0154 -0.1705) |
| OKLCH | oklch(39.74% 0.171 264.8) |
| XYZ | xyz(8.2971, 5.7804, 34.3897) |
| Luminance | 0.0578 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.15
Cobalt
#0047AB
ΔE00 4.70
Blue Blue
#2242C7
ΔE00 5.70
Cobalt (survey)
#1E488F
ΔE00 6.05
Blueberry
#464196
ΔE00 6.08
Darkish Blue
#014182
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#173AA1 #A17E17
analogous
#177FA1 #173AA1 #3917A1
triadic
#173AA1 #A1173A #3AA117
tetradic
#173AA1 #A1177F #A17E17 #17A139
square
#173AA1 #A1177F #A17E17 #17A139
split-complementary
#173AA1 #A13917 #7FA117
monochromatic
#081336 #0F276B #173AA1 #1F4DD7 #4D74E6
Accessibility & contrast
On white
9.74
#173AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#173AA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #173AA1
9.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##173AA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##173AA1 | 1.00 | 9.74 | 2.16 | 9.74 |
| #FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BA4
Deuteranopia (green-blind)
#003E9F
Tritanopia (blue-blind)
#005568
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #173aa1; /* rgb */ color: rgb(23, 58, 161); /* oklch */ color: oklch(39.7% 0.171 264.8);
Tailwind
colors: {
custom: {
50: '#706fbe',
500: '#173aa1',
950: '#000000',
},
}SCSS
$custom: #173aa1; $custom-light: #706fbe; $custom-dark: #000000;
JSON
{
"hex": "#173aa1",
"rgb": {
"r": 23,
"g": 58,
"b": 161
},
"hsl": {
"h": 224.783,
"s": 75,
"l": 36.078
},
"oklch": {
"l": 0.39743,
"c": 0.1712,
"h": 264.8
},
"luminance": 0.05781
}Semantic roles & 50–950 ramp
primary
#173AA1
secondary
#C7A84C
accent
#C236F2
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090712
muted
#7B7A81