#172F3E#172F3E

#172F3E is a dark, muted cyan. Relative luminance 0.026; OKLCH L 29.3% C 0.041 H 237.8°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#172F3E
RGBrgb(23, 47, 62)
HSLhsl(203, 46%, 17%)
HSVhsv(203, 63%, 24%)
CMYKcmyk(62.9%, 24.2%, 0%, 75.7%)
CIE-LABlab(18.20, -4.08, -12.33)
CIE-LCHlch(18.20, 12.99, 251.68°)
OKLaboklab(29.3% -0.0217 -0.0344)
OKLCHoklch(29.3% 0.041 237.8)
XYZxyz(2.2390, 2.5628, 4.9332)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172F3E #3E2617
analogous
#173E3A #172F3E #171C3E
triadic
#172F3E #3E172F #2F3E17
tetradic
#172F3E #3A173E #3E2617 #1C3E17
square
#172F3E #3A173E #3E2617 #1C3E17
split-complementary
#172F3E #3E171C #3E3A17
monochromatic
#081116 #081116 #172F3E #28516B #387397

Accessibility & contrast

On white

13.88
#172F3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#172F3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #172F3E
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172F3E#FFFFFF#000000##FFFFFF
##172F3E1.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282F3F
Deuteranopia (green-blind)
#232B3E
Tritanopia (blue-blind)
#003334
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #172f3e;
/* rgb */ color: rgb(23, 47, 62);
/* oklch */ color: oklch(29.3% 0.041 237.8);
Tailwind
colors: {
  custom: {
    50: '#586773',
    500: '#172f3e',
    950: '#000000',
  },
}
SCSS
$custom: #172f3e;
$custom-light: #586773;
$custom-dark: #000000;
JSON
{
  "hex": "#172f3e",
  "rgb": {
    "r": 23,
    "g": 47,
    "b": 62
  },
  "hsl": {
    "h": 203.077,
    "s": 45.882,
    "l": 16.667
  },
  "oklch": {
    "l": 0.29304,
    "c": 0.0407,
    "h": 237.8
  },
  "luminance": 0.02563
}

Semantic roles & 50–950 ramp

primary
#172F3E
secondary
#75523C
accent
#8552D6
background
#F5F6F6
surface
#E9EBEC
border
#C5C6C7
text
#030608
muted
#787A7B

Preview Lab

Preview with #172F3E

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

Preview Lab → · Contrast checker → · Palette generator →

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