#172B4E#172B4E
#172B4E is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.2% C 0.069 H 260.8°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).
Color values
| HEX | #172B4E |
|---|---|
| RGB | rgb(23, 43, 78) |
| HSL | hsl(218, 54%, 20%) |
| HSV | hsv(218, 71%, 31%) |
| CMYK | cmyk(70.5%, 44.9%, 0%, 69.4%) |
| CIE-LAB | lab(17.74, 5.09, -23.98) |
| CIE-LCH | lch(17.74, 24.51, 281.98°) |
| OKLab | oklab(29.24% -0.0111 -0.0683) |
| OKLCH | oklch(29.24% 0.069 260.8) |
| XYZ | xyz(2.5919, 2.4597, 7.5444) |
| Luminance | 0.0246 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 1.37
Marine
#042E60
ΔE00 3.94
Marine Blue
#01386A
ΔE00 6.54
Navy (survey)
#01153E
ΔE00 7.12
Dark
#1B2431
ΔE00 8.81
Navy Blue (survey)
#001146
ΔE00 8.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172B4E #4E3A17
analogous
#17464E #172B4E #1F174E
triadic
#172B4E #4E172B #2B4E17
tetradic
#172B4E #4E1746 #4E3A17 #174E1F
square
#172B4E #4E1746 #4E3A17 #174E1F
split-complementary
#172B4E #4E1F17 #464E17
monochromatic
#070D18 #09111F #172B4E #25457D #335FAD
Accessibility & contrast
On white
14.08
#172B4E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#172B4E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172B4E
14.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172B4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172B4E | 1.00 | 14.08 | 1.49 | 14.08 |
| #FFFFFF | 14.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B2E4F
Deuteranopia (green-blind)
#13294D
Tritanopia (blue-blind)
#003338
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #172b4e; /* rgb */ color: rgb(23, 43, 78); /* oklch */ color: oklch(29.2% 0.069 260.8);
Tailwind
colors: {
custom: {
50: '#5b6380',
500: '#172b4e',
950: '#000000',
},
}SCSS
$custom: #172b4e; $custom-light: #5b6380; $custom-dark: #000000;
JSON
{
"hex": "#172b4e",
"rgb": {
"r": 23,
"g": 43,
"b": 78
},
"hsl": {
"h": 218.182,
"s": 54.455,
"l": 19.804
},
"oklch": {
"l": 0.29239,
"c": 0.06918,
"h": 260.8
},
"luminance": 0.0246
}Semantic roles & 50–950 ramp
primary
#172B4E
secondary
#856A3C
accent
#A84ADE
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C