#162F31#162F31

#162F31 is a dark, muted teal. Relative luminance 0.024; OKLCH L 28.6% C 0.031 H 202.3°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#162F31
RGBrgb(22, 47, 49)
HSLhsl(184, 38%, 14%)
HSVhsv(184, 55%, 19%)
CMYKcmyk(55.1%, 4.1%, 0%, 80.8%)
CIE-LABlab(17.58, -8.99, -4.29)
CIE-LCHlch(17.58, 9.96, 205.53°)
OKLaboklab(28.6% -0.0289 -0.0118)
OKLCHoklch(28.6% 0.031 202.3)
XYZxyz(1.9016, 2.4252, 3.2730)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162F31 #311816
analogous
#163126 #162F31 #162231
triadic
#162F31 #31162F #2F3116
tetradic
#162F31 #261631 #311816 #223116
square
#162F31 #261631 #311816 #223116
split-complementary
#162F31 #311622 #312616
monochromatic
#091415 #091415 #162F31 #29585B #3C8085

Accessibility & contrast

On white

14.14
#162F31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#162F31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162F31
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162F31#FFFFFF#000000##FFFFFF
##162F311.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2D31
Deuteranopia (green-blind)
#272A31
Tritanopia (blue-blind)
#083130
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #162f31;
/* rgb */ color: rgb(22, 47, 49);
/* oklch */ color: oklch(28.6% 0.031 202.3);
Tailwind
colors: {
  custom: {
    50: '#566769',
    500: '#162f31',
    950: '#000000',
  },
}
SCSS
$custom: #162f31;
$custom-light: #566769;
$custom-dark: #000000;
JSON
{
  "hex": "#162f31",
  "rgb": {
    "r": 22,
    "g": 47,
    "b": 49
  },
  "hsl": {
    "h": 184.444,
    "s": 38.028,
    "l": 13.922
  },
  "oklch": {
    "l": 0.28604,
    "c": 0.0312,
    "h": 202.3
  },
  "luminance": 0.02425
}

Semantic roles & 50–950 ramp

primary
#162F31
secondary
#673F3C
accent
#625ACE
background
#F5F6F6
surface
#E9EBEB
border
#C5C6C6
text
#030606
muted
#787A7A

Preview Lab

Preview with #162F31

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

Preview Lab → · Contrast checker → · Palette generator →

#162F31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva