#172C4A#172C4A
#172C4A is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.2% C 0.061 H 257.4°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).
Color values
| HEX | #172C4A |
|---|---|
| RGB | rgb(23, 44, 74) |
| HSL | hsl(215, 53%, 19%) |
| HSV | hsv(215, 69%, 29%) |
| CMYK | cmyk(68.9%, 40.5%, 0%, 71%) |
| CIE-LAB | lab(17.82, 2.73, -21.14) |
| CIE-LCH | lch(17.82, 21.31, 277.35°) |
| OKLab | oklab(29.22% -0.0134 -0.0599) |
| OKLCH | oklch(29.22% 0.061 257.4) |
| XYZ | xyz(2.4896, 2.4777, 6.8243) |
| Luminance | 0.0248 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 2.21
Marine
#042E60
ΔE00 4.58
Marine Blue
#01386A
ΔE00 6.52
Dark
#1B2431
ΔE00 7.29
Navy (survey)
#01153E
ΔE00 8.05
Dark Blue Grey
#1F3B4D
ΔE00 8.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172C4A #4A3517
analogous
#17464A #172C4A #1C174A
triadic
#172C4A #4A172C #2C4A17
tetradic
#172C4A #4A1746 #4A3517 #174A1C
square
#172C4A #4A1746 #4A3517 #174A1C
split-complementary
#172C4A #4A1C17 #464A17
monochromatic
#070E17 #08101B #172C4A #264879 #3464A7
Accessibility & contrast
On white
14.04
#172C4A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#172C4A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172C4A
14.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172C4A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172C4A | 1.00 | 14.04 | 1.50 | 14.04 |
| #FFFFFF | 14.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F2E4B
Deuteranopia (green-blind)
#182949
Tritanopia (blue-blind)
#003337
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #172c4a; /* rgb */ color: rgb(23, 44, 74); /* oklch */ color: oklch(29.2% 0.061 257.4);
Tailwind
colors: {
custom: {
50: '#5a647c',
500: '#172c4a',
950: '#000000',
},
}SCSS
$custom: #172c4a; $custom-light: #5a647c; $custom-dark: #000000;
JSON
{
"hex": "#172c4a",
"rgb": {
"r": 23,
"g": 44,
"b": 74
},
"hsl": {
"h": 215.294,
"s": 52.577,
"l": 19.02
},
"oklch": {
"l": 0.2922,
"c": 0.06142,
"h": 257.4
},
"luminance": 0.02478
}Semantic roles & 50–950 ramp
primary
#172C4A
secondary
#81653C
accent
#A14CDC
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#040509
muted
#797A7B