#172D39#172D39

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

Color values

HEX#172D39
RGBrgb(23, 45, 57)
HSLhsl(201, 43%, 16%)
HSVhsv(201, 60%, 22%)
CMYKcmyk(59.6%, 21.1%, 0%, 77.6%)
CIE-LABlab(17.25, -4.58, -10.35)
CIE-LCHlch(17.25, 11.32, 246.15°)
OKLaboklab(28.47% -0.021 -0.0288)
OKLCHoklch(28.47% 0.036 233.8)
XYZxyz(2.0300, 2.3542, 4.2175)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172D39 #392317
analogous
#173934 #172D39 #171C39
triadic
#172D39 #39172D #2D3917
tetradic
#172D39 #341739 #392317 #1C3917
square
#172D39 #341739 #392317 #1C3917
split-complementary
#172D39 #39171C #393417
monochromatic
#091116 #091116 #172D39 #294F65 #3A7290

Accessibility & contrast

On white

14.28
#172D39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172D39
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172D39#FFFFFF#000000##FFFFFF
##172D391.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272C3A
Deuteranopia (green-blind)
#232939
Tritanopia (blue-blind)
#053031
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #172d39;
/* rgb */ color: rgb(23, 45, 57);
/* oklch */ color: oklch(28.5% 0.036 233.8);
Tailwind
colors: {
  custom: {
    50: '#57656f',
    500: '#172d39',
    950: '#000000',
  },
}
SCSS
$custom: #172d39;
$custom-light: #57656f;
$custom-dark: #000000;
JSON
{
  "hex": "#172d39",
  "rgb": {
    "r": 23,
    "g": 45,
    "b": 57
  },
  "hsl": {
    "h": 201.176,
    "s": 42.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.28468,
    "c": 0.03565,
    "h": 233.8
  },
  "luminance": 0.02354
}

Semantic roles & 50–950 ramp

primary
#172D39
secondary
#6F4E3C
accent
#8256D2
background
#F5F6F6
surface
#E9EBEC
border
#C5C6C7
text
#030507
muted
#787A7A

Preview Lab

Preview with #172D39

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

Preview Lab → · Contrast checker → · Palette generator →

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