#152F31#152F31

#152F31 is a dark, muted teal. Relative luminance 0.024; OKLCH L 28.5% C 0.032 H 202.0°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#152F31
RGBrgb(21, 47, 49)
HSLhsl(184, 40%, 14%)
HSVhsv(184, 57%, 19%)
CMYKcmyk(57.1%, 4.1%, 0%, 80.8%)
CIE-LABlab(17.53, -9.29, -4.38)
CIE-LCHlch(17.53, 10.27, 205.23°)
OKLaboklab(28.55% -0.0298 -0.0121)
OKLCHoklch(28.55% 0.032 202)
XYZxyz(1.8799, 2.4141, 3.2720)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152F31 #311715
analogous
#153125 #152F31 #152131
triadic
#152F31 #31152F #2F3115
tetradic
#152F31 #251531 #311715 #213115
square
#152F31 #251531 #311715 #213115
split-complementary
#152F31 #311521 #312515
monochromatic
#091515 #091515 #152F31 #27585C #3A8187

Accessibility & contrast

On white

14.16
#152F31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#152F31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152F31
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152F31#FFFFFF#000000##FFFFFF
##152F311.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #152f31;
/* rgb */ color: rgb(21, 47, 49);
/* oklch */ color: oklch(28.5% 0.032 202.0);
Tailwind
colors: {
  custom: {
    50: '#556769',
    500: '#152f31',
    950: '#000000',
  },
}
SCSS
$custom: #152f31;
$custom-light: #556769;
$custom-dark: #000000;
JSON
{
  "hex": "#152f31",
  "rgb": {
    "r": 21,
    "g": 47,
    "b": 49
  },
  "hsl": {
    "h": 184.286,
    "s": 40,
    "l": 13.725
  },
  "oklch": {
    "l": 0.28548,
    "c": 0.03215,
    "h": 202
  },
  "luminance": 0.02414
}

Semantic roles & 50–950 ramp

primary
#152F31
secondary
#683D3A
accent
#6058D0
background
#F5F6F6
surface
#E9EBEB
border
#C5C6C6
text
#030606
muted
#787A7A

Preview Lab

Preview with #152F31

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

Preview Lab → · Contrast checker → · Palette generator →

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