#152E31#152E31

#152E31 is a dark, muted teal. Relative luminance 0.023; OKLCH L 28.3% C 0.031 H 205.6°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#152E31
RGBrgb(21, 46, 49)
HSLhsl(186, 40%, 14%)
HSVhsv(186, 57%, 19%)
CMYKcmyk(57.1%, 6.1%, 0%, 80.8%)
CIE-LABlab(17.16, -8.65, -4.93)
CIE-LCHlch(17.16, 9.95, 209.70°)
OKLaboklab(28.25% -0.0283 -0.0136)
OKLCHoklch(28.25% 0.031 205.6)
XYZxyz(1.8404, 2.3350, 3.2589)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152E31 #311815
analogous
#153126 #152E31 #152031
triadic
#152E31 #31152E #2E3115
tetradic
#152E31 #261531 #311815 #203115
square
#152E31 #261531 #311815 #203115
split-complementary
#152E31 #311520 #312615
monochromatic
#091415 #091415 #152E31 #27565C #3A7E87

Accessibility & contrast

On white

14.31
#152E31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#152E31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152E31
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152E31#FFFFFF#000000##FFFFFF
##152E311.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2C31
Deuteranopia (green-blind)
#262931
Tritanopia (blue-blind)
#06302F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #152e31;
/* rgb */ color: rgb(21, 46, 49);
/* oklch */ color: oklch(28.3% 0.031 205.6);
Tailwind
colors: {
  custom: {
    50: '#556669',
    500: '#152e31',
    950: '#000000',
  },
}
SCSS
$custom: #152e31;
$custom-light: #556669;
$custom-dark: #000000;
JSON
{
  "hex": "#152e31",
  "rgb": {
    "r": 21,
    "g": 46,
    "b": 49
  },
  "hsl": {
    "h": 186.429,
    "s": 40,
    "l": 13.725
  },
  "oklch": {
    "l": 0.28251,
    "c": 0.03142,
    "h": 205.6
  },
  "luminance": 0.02335
}

Semantic roles & 50–950 ramp

primary
#152E31
secondary
#683F3A
accent
#6558D0
background
#F5F6F6
surface
#E9EBEB
border
#C5C6C6
text
#030606
muted
#787A7A

Preview Lab

Preview with #152E31

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

Preview Lab → · Contrast checker → · Palette generator →

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