#162A28#162A28

#162A28 is a dark, muted teal. Relative luminance 0.020; OKLCH L 26.7% C 0.026 H 187.6°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#162A28
RGBrgb(22, 42, 40)
HSLhsl(174, 31%, 13%)
HSVhsv(174, 48%, 16%)
CMYKcmyk(47.6%, 0%, 4.8%, 83.5%)
CIE-LABlab(15.38, -8.69, -1.25)
CIE-LCHlch(15.38, 8.78, 188.16°)
OKLaboklab(26.73% -0.0261 -0.0035)
OKLCHoklch(26.73% 0.026 187.6)
XYZxyz(1.5417, 1.9796, 2.3079)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#162A28 #2A1618
analogous
#162A1E #162A28 #16222A
triadic
#162A28 #28162A #2A2816
tetradic
#162A28 #1E162A #2A1618 #222A16
square
#162A28 #1E162A #2A1618 #222A16
split-complementary
#162A28 #2A1622 #2A1E16
monochromatic
#0B1413 #0B1413 #162A28 #2B524E #407A74

Accessibility & contrast

On white

15.04
#162A28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#162A28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #162A28
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##162A28#FFFFFF#000000##FFFFFF
##162A281.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282828
Deuteranopia (green-blind)
#242528
Tritanopia (blue-blind)
#0E2B29
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #162a28;
/* rgb */ color: rgb(22, 42, 40);
/* oklch */ color: oklch(26.7% 0.026 187.6);
Tailwind
colors: {
  custom: {
    50: '#546361',
    500: '#162a28',
    950: '#000000',
  },
}
SCSS
$custom: #162a28;
$custom-light: #546361;
$custom-dark: #000000;
JSON
{
  "hex": "#162a28",
  "rgb": {
    "r": 22,
    "g": 42,
    "b": 40
  },
  "hsl": {
    "h": 174,
    "s": 31.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.26728,
    "c": 0.02629,
    "h": 187.6
  },
  "luminance": 0.0198
}

Semantic roles & 50–950 ramp

primary
#162A28
secondary
#5F3D40
accent
#606BC7
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#030505
muted
#787979

Preview Lab

Preview with #162A28

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

Preview Lab → · Contrast checker → · Palette generator →

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