#172E2F#172E2F

#172E2F is a dark, muted teal. Relative luminance 0.023; OKLCH L 28.3% C 0.029 H 199.2°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#172E2F
RGBrgb(23, 46, 47)
HSLhsl(183, 34%, 14%)
HSVhsv(183, 51%, 18%)
CMYKcmyk(51.1%, 2.1%, 0%, 81.6%)
CIE-LABlab(17.18, -8.70, -3.48)
CIE-LCHlch(17.18, 9.38, 201.80°)
OKLaboklab(28.28% -0.0274 -0.0096)
OKLCHoklch(28.28% 0.029 199.2)
XYZxyz(1.8432, 2.3412, 3.0435)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172E2F #2F1817
analogous
#172F24 #172E2F #17222F
triadic
#172E2F #2F172E #2E2F17
tetradic
#172E2F #24172F #2F1817 #222F17
square
#172E2F #24172F #2F1817 #222F17
split-complementary
#172E2F #2F1722 #2F2417
monochromatic
#0A1415 #0A1415 #172E2F #2B5658 #3F7E81

Accessibility & contrast

On white

14.30
#172E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172E2F
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172E2F#FFFFFF#000000##FFFFFF
##172E2F1.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2C2F
Deuteranopia (green-blind)
#27292F
Tritanopia (blue-blind)
#0C2F2E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #172e2f;
/* rgb */ color: rgb(23, 46, 47);
/* oklch */ color: oklch(28.3% 0.029 199.2);
Tailwind
colors: {
  custom: {
    50: '#566667',
    500: '#172e2f',
    950: '#000000',
  },
}
SCSS
$custom: #172e2f;
$custom-light: #566667;
$custom-dark: #000000;
JSON
{
  "hex": "#172e2f",
  "rgb": {
    "r": 23,
    "g": 46,
    "b": 47
  },
  "hsl": {
    "h": 182.5,
    "s": 34.286,
    "l": 13.725
  },
  "oklch": {
    "l": 0.28278,
    "c": 0.02907,
    "h": 199.2
  },
  "luminance": 0.02341
}

Semantic roles & 50–950 ramp

primary
#172E2F
secondary
#643F3D
accent
#625DCA
background
#F5F6F6
surface
#E9EBEB
border
#C5C6C6
text
#030606
muted
#787A7A

Preview Lab

Preview with #172E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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