#172E4F#172E4F
#172E4F is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.1% C 0.067 H 257.6°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).
Color values
| HEX | #172E4F |
|---|---|
| RGB | rgb(23, 46, 79) |
| HSL | hsl(215, 55%, 20%) |
| HSV | hsv(215, 71%, 31%) |
| CMYK | cmyk(70.9%, 41.8%, 0%, 69%) |
| CIE-LAB | lab(18.80, 3.32, -22.96) |
| CIE-LCH | lch(18.80, 23.20, 278.24°) |
| OKLab | oklab(30.09% -0.0144 -0.0653) |
| OKLCH | oklch(30.09% 0.067 257.6) |
| XYZ | xyz(2.7411, 2.7004, 7.7724) |
| Luminance | 0.0270 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 2.44
Marine
#042E60
ΔE00 3.67
Marine Blue
#01386A
ΔE00 5.58
Dark
#1B2431
ΔE00 8.33
Navy (survey)
#01153E
ΔE00 8.35
Twilight Blue
#0A437A
ΔE00 8.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172E4F #4F3817
analogous
#174A4F #172E4F #1C174F
triadic
#172E4F #4F172E #2E4F17
tetradic
#172E4F #4F174A #4F3817 #174F1C
square
#172E4F #4F174A #4F3817 #174F1C
split-complementary
#172E4F #4F1C17 #4A4F17
monochromatic
#070E18 #091220 #172E4F #254A7E #3365AE
Accessibility & contrast
On white
13.63
#172E4F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#172E4F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172E4F
13.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172E4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172E4F | 1.00 | 13.63 | 1.54 | 13.63 |
| #FFFFFF | 13.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F3150
Deuteranopia (green-blind)
#172B4E
Tritanopia (blue-blind)
#00363A
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #172e4f; /* rgb */ color: rgb(23, 46, 79); /* oklch */ color: oklch(30.1% 0.067 257.6);
Tailwind
colors: {
custom: {
50: '#5b6680',
500: '#172e4f',
950: '#000000',
},
}SCSS
$custom: #172e4f; $custom-light: #5b6680; $custom-dark: #000000;
JSON
{
"hex": "#172e4f",
"rgb": {
"r": 23,
"g": 46,
"b": 79
},
"hsl": {
"h": 215.357,
"s": 54.902,
"l": 20
},
"oklch": {
"l": 0.30087,
"c": 0.06683,
"h": 257.6
},
"luminance": 0.02701
}Semantic roles & 50–950 ramp
primary
#172E4F
secondary
#86683C
accent
#A14ADE
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C