#152F2D#152F2D

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

Color values

HEX#152F2D
RGBrgb(21, 47, 45)
HSLhsl(175, 38%, 13%)
HSVhsv(175, 55%, 18%)
CMYKcmyk(55.3%, 0%, 4.3%, 81.6%)
CIE-LABlab(17.38, -10.60, -1.82)
CIE-LCHlch(17.38, 10.76, 189.73°)
OKLaboklab(28.38% -0.0319 -0.0051)
OKLCHoklch(28.38% 0.032 189)
XYZxyz(1.7992, 2.3818, 2.8470)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152F2D #2F1517
analogous
#152F20 #152F2D #15242F
triadic
#152F2D #2D152F #2F2D15
tetradic
#152F2D #20152F #2F1517 #242F15
square
#152F2D #20152F #2F1517 #242F15
split-complementary
#152F2D #2F1524 #2F2015
monochromatic
#091514 #091514 #152F2D #285955 #3B847E

Accessibility & contrast

On white

14.22
#152F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152F2D
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152F2D#FFFFFF#000000##FFFFFF
##152F2D1.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2D2D
Deuteranopia (green-blind)
#28292D
Tritanopia (blue-blind)
#08302E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #152f2d;
/* rgb */ color: rgb(21, 47, 45);
/* oklch */ color: oklch(28.4% 0.032 189.0);
Tailwind
colors: {
  custom: {
    50: '#556765',
    500: '#152f2d',
    950: '#000000',
  },
}
SCSS
$custom: #152f2d;
$custom-light: #556765;
$custom-dark: #000000;
JSON
{
  "hex": "#152f2d",
  "rgb": {
    "r": 21,
    "g": 47,
    "b": 45
  },
  "hsl": {
    "h": 175.385,
    "s": 38.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.28378,
    "c": 0.03235,
    "h": 189
  },
  "luminance": 0.02382
}

Semantic roles & 50–950 ramp

primary
#152F2D
secondary
#653B3E
accent
#5A63CE
background
#F5F6F6
surface
#E8EBEB
border
#C4C6C6
text
#030605
muted
#787A7A

Preview Lab

Preview with #152F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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