#172C5F#172C5F
#172C5F is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.8% C 0.095 H 264.6°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).
Color values
| HEX | #172C5F |
|---|---|
| RGB | rgb(23, 44, 95) |
| HSL | hsl(223, 61%, 23%) |
| HSV | hsv(223, 76%, 37%) |
| CMYK | cmyk(75.8%, 53.7%, 0%, 62.7%) |
| CIE-LAB | lab(19.26, 11.43, -32.89) |
| CIE-LCH | lch(19.26, 34.81, 289.16°) |
| OKLab | oklab(30.8% -0.0089 -0.0945) |
| OKLCH | oklch(30.8% 0.095 264.6) |
| XYZ | xyz(3.3189, 2.8094, 11.1916) |
| Luminance | 0.0281 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 2.74
Navy Blue
#1B2A4A
ΔE00 4.54
Marine Blue
#01386A
ΔE00 5.84
Navy (survey)
#01153E
ΔE00 7.69
Navy Blue (survey)
#001146
ΔE00 8.40
Midnight Blue
#191970
ΔE00 8.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172C5F #5F4A17
analogous
#17505F #172C5F #26175F
triadic
#172C5F #5F172C #2C5F17
tetradic
#172C5F #5F1750 #5F4A17 #175F26
square
#172C5F #5F1750 #5F4A17 #175F26
split-complementary
#172C5F #5F2617 #505F17
monochromatic
#060B19 #0B152E #172C5F #234390 #2F5AC2
Accessibility & contrast
On white
13.44
#172C5F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#172C5F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172C5F
13.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172C5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172C5F | 1.00 | 13.44 | 1.56 | 13.44 |
| #FFFFFF | 13.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E3261
Deuteranopia (green-blind)
#002C5E
Tritanopia (blue-blind)
#003841
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #172c5f; /* rgb */ color: rgb(23, 44, 95); /* oklch */ color: oklch(30.8% 0.095 264.6);
Tailwind
colors: {
custom: {
50: '#5f648d',
500: '#172c5f',
950: '#000000',
},
}SCSS
$custom: #172c5f; $custom-light: #5f648d; $custom-dark: #000000;
JSON
{
"hex": "#172c5f",
"rgb": {
"r": 23,
"g": 44,
"b": 95
},
"hsl": {
"h": 222.5,
"s": 61.017,
"l": 23.137
},
"oklch": {
"l": 0.30801,
"c": 0.09487,
"h": 264.6
},
"luminance": 0.0281
}Semantic roles & 50–950 ramp
primary
#172C5F
secondary
#967C3C
accent
#B544E4
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D