#172D3A#172D3A

#172D3A is a dark, muted cyan. Relative luminance 0.024; OKLCH L 28.5% C 0.037 H 236.0°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#172D3A
RGBrgb(23, 45, 58)
HSLhsl(202, 43%, 16%)
HSVhsv(202, 60%, 23%)
CMYKcmyk(60.3%, 22.4%, 0%, 77.3%)
CIE-LABlab(17.29, -4.21, -10.97)
CIE-LCHlch(17.29, 11.75, 249.01°)
OKLaboklab(28.52% -0.0206 -0.0305)
OKLCHoklch(28.52% 0.037 236)
XYZxyz(2.0552, 2.3643, 4.3502)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172D3A #3A2417
analogous
#173A35 #172D3A #171B3A
triadic
#172D3A #3A172D #2D3A17
tetradic
#172D3A #35173A #3A2417 #1B3A17
square
#172D3A #35173A #3A2417 #1B3A17
split-complementary
#172D3A #3A171B #3A3517
monochromatic
#091116 #091116 #172D3A #284F66 #3A7192

Accessibility & contrast

On white

14.26
#172D3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#172D3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172D3A
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172D3A#FFFFFF#000000##FFFFFF
##172D3A1.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272D3B
Deuteranopia (green-blind)
#22293A
Tritanopia (blue-blind)
#043031
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #172d3a;
/* rgb */ color: rgb(23, 45, 58);
/* oklch */ color: oklch(28.5% 0.037 236.0);
Tailwind
colors: {
  custom: {
    50: '#576570',
    500: '#172d3a',
    950: '#000000',
  },
}
SCSS
$custom: #172d3a;
$custom-light: #576570;
$custom-dark: #000000;
JSON
{
  "hex": "#172d3a",
  "rgb": {
    "r": 23,
    "g": 45,
    "b": 58
  },
  "hsl": {
    "h": 202.286,
    "s": 43.21,
    "l": 15.882
  },
  "oklch": {
    "l": 0.28521,
    "c": 0.03684,
    "h": 236
  },
  "luminance": 0.02364
}

Semantic roles & 50–950 ramp

primary
#172D3A
secondary
#71503C
accent
#8455D3
background
#F5F6F6
surface
#E9EBEC
border
#C5C6C7
text
#030507
muted
#787A7A

Preview Lab

Preview with #172D3A

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#172D3A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva