#172C4B#172C4B
#172C4B is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.3% C 0.063 H 258.0°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).
Color values
| HEX | #172C4B |
|---|---|
| RGB | rgb(23, 44, 75) |
| HSL | hsl(216, 53%, 19%) |
| HSV | hsv(216, 69%, 29%) |
| CMYK | cmyk(69.3%, 41.3%, 0%, 70.6%) |
| CIE-LAB | lab(17.88, 3.13, -21.72) |
| CIE-LCH | lch(17.88, 21.94, 278.21°) |
| OKLab | oklab(29.29% -0.0131 -0.0616) |
| OKLCH | oklch(29.29% 0.063 258) |
| XYZ | xyz(2.5236, 2.4913, 7.0031) |
| Luminance | 0.0249 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 1.97
Marine
#042E60
ΔE00 4.38
Marine Blue
#01386A
ΔE00 6.44
Dark
#1B2431
ΔE00 7.61
Navy (survey)
#01153E
ΔE00 7.89
Dark Blue Grey
#1F3B4D
ΔE00 9.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#172C4B #4B3617
analogous
#17464B #172C4B #1C174B
triadic
#172C4B #4B172C #2C4B17
tetradic
#172C4B #4B1746 #4B3617 #174B1C
square
#172C4B #4B1746 #4B3617 #174B1C
split-complementary
#172C4B #4B1C17 #464B17
monochromatic
#070E17 #09111C #172C4B #25477A #3463A9
Accessibility & contrast
On white
14.01
#172C4B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#172C4B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #172C4B
14.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##172C4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##172C4B | 1.00 | 14.01 | 1.50 | 14.01 |
| #FFFFFF | 14.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F2E4C
Deuteranopia (green-blind)
#172A4A
Tritanopia (blue-blind)
#003337
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #172c4b; /* rgb */ color: rgb(23, 44, 75); /* oklch */ color: oklch(29.3% 0.063 258.0);
Tailwind
colors: {
custom: {
50: '#5a647d',
500: '#172c4b',
950: '#000000',
},
}SCSS
$custom: #172c4b; $custom-light: #5a647d; $custom-dark: #000000;
JSON
{
"hex": "#172c4b",
"rgb": {
"r": 23,
"g": 44,
"b": 75
},
"hsl": {
"h": 215.769,
"s": 53.061,
"l": 19.216
},
"oklch": {
"l": 0.29288,
"c": 0.06302,
"h": 258
},
"luminance": 0.02492
}Semantic roles & 50–950 ramp
primary
#172C4B
secondary
#82663C
accent
#A24BDC
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#040509
muted
#797A7B