#173394#173394
#173394 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.1% C 0.162 H 265.9°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).
Color values
| HEX | #173394 |
|---|---|
| RGB | rgb(23, 51, 148) |
| HSL | hsl(227, 73%, 34%) |
| HSV | hsv(227, 84%, 58%) |
| CMYK | cmyk(84.5%, 65.5%, 0%, 42%) |
| CIE-LAB | lab(25.82, 28.11, -55.90) |
| CIE-LCH | lch(25.82, 62.57, 296.69°) |
| OKLab | oklab(37.14% -0.0117 -0.1619) |
| OKLCH | oklch(37.14% 0.162 265.9) |
| XYZ | xyz(6.8806, 4.6871, 28.5533) |
| Luminance | 0.0469 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.61
Blueberry
#464196
ΔE00 6.56
Cobalt
#0047AB
ΔE00 7.02
Darkslateblue
#483D8B
ΔE00 7.19
Royal
#0C1793
ΔE00 7.41
Darkish Blue
#014182
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#173394 #947817
analogous
#177194 #173394 #391794
triadic
#173394 #941733 #339417
tetradic
#173394 #941771 #947817 #179439
square
#173394 #941771 #947817 #179439
split-complementary
#173394 #943917 #719417
monochromatic
#070E2A #0F215F #173394 #1F45C9 #4467E2
Accessibility & contrast
On white
10.84
#173394 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#173394 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #173394
10.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##173394 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##173394 | 1.00 | 10.84 | 1.94 | 10.84 |
| #FFFFFF | 10.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#003792
Tritanopia (blue-blind)
#004D5E
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #173394; /* rgb */ color: rgb(23, 51, 148); /* oklch */ color: oklch(37.1% 0.162 265.9);
Tailwind
colors: {
custom: {
50: '#6d6ab4',
500: '#173394',
950: '#000000',
},
}SCSS
$custom: #173394; $custom-light: #6d6ab4; $custom-dark: #000000;
JSON
{
"hex": "#173394",
"rgb": {
"r": 23,
"g": 51,
"b": 148
},
"hsl": {
"h": 226.56,
"s": 73.099,
"l": 33.529
},
"oklch": {
"l": 0.37136,
"c": 0.16233,
"h": 265.9
},
"luminance": 0.04688
}Semantic roles & 50–950 ramp
primary
#173394
secondary
#C3A644
accent
#C738F0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80