#173366#173366
#173366 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.0% C 0.096 H 261.2°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).
Color values
| HEX | #173366 |
|---|---|
| RGB | rgb(23, 51, 102) |
| HSL | hsl(219, 63%, 25%) |
| HSV | hsv(219, 77%, 40%) |
| CMYK | cmyk(77.5%, 50%, 0%, 60%) |
| CIE-LAB | lab(21.98, 9.28, -33.10) |
| CIE-LCH | lch(21.98, 34.38, 285.65°) |
| OKLab | oklab(33.04% -0.0147 -0.095) |
| OKLCH | oklch(33.04% 0.096 261.2) |
| XYZ | xyz(3.9346, 3.5087, 13.0377) |
| Luminance | 0.0351 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 2.12
Marine Blue
#01386A
ΔE00 3.54
Navy Blue
#1B2A4A
ΔE00 5.63
Darkish Blue
#014182
ΔE00 6.11
Twilight Blue
#0A437A
ΔE00 6.37
Prussian Blue
#004577
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#173366 #664A17
analogous
#175B66 #173366 #231766
triadic
#173366 #661733 #336617
tetradic
#173366 #66175B #664A17 #176623
square
#173366 #66175B #664A17 #176623
split-complementary
#173366 #662317 #5B6617
monochromatic
#060C19 #0C1A34 #173366 #224C98 #2E65CA
Accessibility & contrast
On white
12.34
#173366 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#173366 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #173366
12.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##173366 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##173366 | 1.00 | 12.34 | 1.70 | 12.34 |
| #FFFFFF | 12.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#183868
Deuteranopia (green-blind)
#043165
Tritanopia (blue-blind)
#003F47
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #173366; /* rgb */ color: rgb(23, 51, 102); /* oklch */ color: oklch(33.0% 0.096 261.2);
Tailwind
colors: {
custom: {
50: '#606a92',
500: '#173366',
950: '#000000',
},
}SCSS
$custom: #173366; $custom-light: #606a92; $custom-dark: #000000;
JSON
{
"hex": "#173366",
"rgb": {
"r": 23,
"g": 51,
"b": 102
},
"hsl": {
"h": 218.734,
"s": 63.2,
"l": 24.51
},
"oklch": {
"l": 0.3304,
"c": 0.09608,
"h": 261.2
},
"luminance": 0.03509
}Semantic roles & 50–950 ramp
primary
#173366
secondary
#9C7A3C
accent
#AC42E6
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05060D
muted
#7A7A7E