#172D3D#172D3D

#172D3D is a dark, muted cyan. Relative luminance 0.024; OKLCH L 28.7% C 0.041 H 241.7°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#172D3D
RGBrgb(23, 45, 61)
HSLhsl(205, 45%, 16%)
HSVhsv(205, 62%, 24%)
CMYKcmyk(62.3%, 26.2%, 0%, 76.1%)
CIE-LABlab(17.44, -3.09, -12.82)
CIE-LCHlch(17.44, 13.19, 256.45°)
OKLaboklab(28.69% -0.0193 -0.0358)
OKLCHoklch(28.69% 0.041 241.7)
XYZxyz(2.1337, 2.3957, 4.7639)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172D3D #3D2717
analogous
#173D3A #172D3D #171A3D
triadic
#172D3D #3D172D #2D3D17
tetradic
#172D3D #3A173D #3D2717 #1A3D17
square
#172D3D #3A173D #3D2717 #1A3D17
split-complementary
#172D3D #3D171A #3D3A17
monochromatic
#081016 #081016 #172D3D #284E69 #396F96

Accessibility & contrast

On white

14.20
#172D3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#172D3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172D3D
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172D3D#FFFFFF#000000##FFFFFF
##172D3D1.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262D3E
Deuteranopia (green-blind)
#21293D
Tritanopia (blue-blind)
#013132
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #172d3d;
/* rgb */ color: rgb(23, 45, 61);
/* oklch */ color: oklch(28.7% 0.041 241.7);
Tailwind
colors: {
  custom: {
    50: '#576572',
    500: '#172d3d',
    950: '#000000',
  },
}
SCSS
$custom: #172d3d;
$custom-light: #576572;
$custom-dark: #000000;
JSON
{
  "hex": "#172d3d",
  "rgb": {
    "r": 23,
    "g": 45,
    "b": 61
  },
  "hsl": {
    "h": 205.263,
    "s": 45.238,
    "l": 16.471
  },
  "oklch": {
    "l": 0.28686,
    "c": 0.04071,
    "h": 241.7
  },
  "luminance": 0.02396
}

Semantic roles & 50–950 ramp

primary
#172D3D
secondary
#74543C
accent
#8A53D5
background
#F5F6F6
surface
#E9EBEC
border
#C5C6C7
text
#030508
muted
#787A7B

Preview Lab

Preview with #172D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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