#172F2B#172F2B

#172F2B is a dark, muted teal. Relative luminance 0.024; OKLCH L 28.4% C 0.031 H 182.1°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#172F2B
RGBrgb(23, 47, 43)
HSLhsl(170, 34%, 14%)
HSVhsv(170, 51%, 18%)
CMYKcmyk(51.1%, 0%, 8.5%, 81.6%)
CIE-LABlab(17.41, -10.60, -0.36)
CIE-LCHlch(17.41, 10.61, 181.96°)
OKLaboklab(28.41% -0.0311 -0.0011)
OKLCHoklch(28.41% 0.031 182.1)
XYZxyz(1.8057, 2.3895, 2.6511)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#172F2B #2F171B
analogous
#172F1F #172F2B #17272F
triadic
#172F2B #2B172F #2F2B17
tetradic
#172F2B #1F172F #2F171B #272F17
square
#172F2B #1F172F #2F171B #272F17
split-complementary
#172F2B #2F1727 #2F1F17
monochromatic
#0A1513 #0A1513 #172F2B #2B5851 #3F8176

Accessibility & contrast

On white

14.21
#172F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #172F2B
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##172F2B#FFFFFF#000000##FFFFFF
##172F2B1.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2D2B
Deuteranopia (green-blind)
#292A2B
Tritanopia (blue-blind)
#0E302E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #172f2b;
/* rgb */ color: rgb(23, 47, 43);
/* oklch */ color: oklch(28.4% 0.031 182.1);
Tailwind
colors: {
  custom: {
    50: '#566764',
    500: '#172f2b',
    950: '#000000',
  },
}
SCSS
$custom: #172f2b;
$custom-light: #566764;
$custom-dark: #000000;
JSON
{
  "hex": "#172f2b",
  "rgb": {
    "r": 23,
    "g": 47,
    "b": 43
  },
  "hsl": {
    "h": 170,
    "s": 34.286,
    "l": 13.725
  },
  "oklch": {
    "l": 0.28412,
    "c": 0.03116,
    "h": 182.1
  },
  "luminance": 0.0239
}

Semantic roles & 50–950 ramp

primary
#172F2B
secondary
#643D44
accent
#5D70CA
background
#F5F6F5
surface
#E9EBEA
border
#C5C6C6
text
#030605
muted
#787A79

Preview Lab

Preview with #172F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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