#172D3E#172D3E

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

Color values

HEX#172D3E
RGBrgb(23, 45, 62)
HSLhsl(206, 46%, 17%)
HSVhsv(206, 63%, 24%)
CMYKcmyk(62.9%, 27.4%, 0%, 75.7%)
CIE-LABlab(17.49, -2.71, -13.43)
CIE-LCHlch(17.49, 13.70, 258.59°)
OKLaboklab(28.74% -0.0189 -0.0376)
OKLCHoklch(28.74% 0.042 243.3)
XYZxyz(2.1609, 2.4065, 4.9071)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172D3E #3E2817
analogous
#173E3C #172D3E #171A3E
triadic
#172D3E #3E172D #2D3E17
tetradic
#172D3E #3C173E #3E2817 #1A3E17
square
#172D3E #3C173E #3E2817 #1A3E17
split-complementary
#172D3E #3E171A #3E3C17
monochromatic
#081016 #081016 #172D3E #284D6B #386E97

Accessibility & contrast

On white

14.18
#172D3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172D3E
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172D3E#FFFFFF#000000##FFFFFF
##172D3E1.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262D3F
Deuteranopia (green-blind)
#20293E
Tritanopia (blue-blind)
#003133
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #172d3e;
/* rgb */ color: rgb(23, 45, 62);
/* oklch */ color: oklch(28.7% 0.042 243.3);
Tailwind
colors: {
  custom: {
    50: '#586573',
    500: '#172d3e',
    950: '#000000',
  },
}
SCSS
$custom: #172d3e;
$custom-light: #586573;
$custom-dark: #000000;
JSON
{
  "hex": "#172d3e",
  "rgb": {
    "r": 23,
    "g": 45,
    "b": 62
  },
  "hsl": {
    "h": 206.154,
    "s": 45.882,
    "l": 16.667
  },
  "oklch": {
    "l": 0.28743,
    "c": 0.04207,
    "h": 243.3
  },
  "luminance": 0.02407
}

Semantic roles & 50–950 ramp

primary
#172D3E
secondary
#75553C
accent
#8B52D6
background
#F5F6F6
surface
#E9EBEC
border
#C5C6C7
text
#030508
muted
#787A7B

Preview Lab

Preview with #172D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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