#173F7C#173F7C
#173F7C is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.6% C 0.113 H 258.9°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).
Color values
| HEX | #173F7C |
|---|---|
| RGB | rgb(23, 63, 124) |
| HSL | hsl(216, 69%, 29%) |
| HSV | hsv(216, 81%, 49%) |
| CMYK | cmyk(81.5%, 49.2%, 0%, 51.4%) |
| CIE-LAB | lab(27.27, 9.96, -38.63) |
| CIE-LCH | lch(27.27, 39.89, 284.45°) |
| OKLab | oklab(37.61% -0.0217 -0.111) |
| OKLCH | oklch(37.61% 0.113 258.9) |
| XYZ | xyz(5.7676, 5.1917, 19.7630) |
| Luminance | 0.0519 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkish Blue
#014182
ΔE00 1.88
Twilight Blue
#0A437A
ΔE00 2.60
Marine Blue
#01386A
ΔE00 3.48
Cobalt (survey)
#1E488F
ΔE00 3.54
Prussian Blue
#004577
ΔE00 4.29
Marine
#042E60
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#173F7C #7C5417
analogous
#17727C #173F7C #22177C
triadic
#173F7C #7C173F #3F7C17
tetradic
#173F7C #7C1772 #7C5417 #177C22
square
#173F7C #7C1772 #7C5417 #177C22
split-complementary
#173F7C #7C2217 #727C17
monochromatic
#050D1A #0D2548 #173F7C #2159B0 #3476D9
Accessibility & contrast
On white
10.30
#173F7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#173F7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #173F7C
10.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##173F7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##173F7C | 1.00 | 10.30 | 2.04 | 10.30 |
| #FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D457E
Deuteranopia (green-blind)
#003C7B
Tritanopia (blue-blind)
#004E57
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #173f7c; /* rgb */ color: rgb(23, 63, 124); /* oklch */ color: oklch(37.6% 0.113 258.9);
Tailwind
colors: {
custom: {
50: '#6573a2',
500: '#173f7c',
950: '#000000',
},
}SCSS
$custom: #173f7c; $custom-light: #6573a2; $custom-dark: #000000;
JSON
{
"hex": "#173f7c",
"rgb": {
"r": 23,
"g": 63,
"b": 124
},
"hsl": {
"h": 216.238,
"s": 68.707,
"l": 28.824
},
"oklch": {
"l": 0.37614,
"c": 0.11307,
"h": 258.9
},
"luminance": 0.05192
}Semantic roles & 50–950 ramp
primary
#173F7C
secondary
#B1833E
accent
#A63CEC
background
#F6F6FA
surface
#EBECF3
border
#C6C7CD
text
#06080F
muted
#7A7B7F