#152F2F#152F2F

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

Color values

HEX#152F2F
RGBrgb(21, 47, 47)
HSLhsl(180, 38%, 13%)
HSVhsv(180, 55%, 18%)
CMYKcmyk(55.3%, 0%, 0%, 81.6%)
CIE-LABlab(17.45, -9.95, -3.10)
CIE-LCHlch(17.45, 10.42, 197.31°)
OKLaboklab(28.46% -0.0309 -0.0086)
OKLCHoklch(28.46% 0.032 195.5)
XYZxyz(1.8387, 2.3975, 3.0547)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152F2F #2F1515
analogous
#152F22 #152F2F #15222F
triadic
#152F2F #2F152F #2F2F15
tetradic
#152F2F #22152F #2F1515 #222F15
square
#152F2F #22152F #2F1515 #222F15
split-complementary
#152F2F #2F1522 #2F2215
monochromatic
#091515 #091515 #152F2F #285959 #3B8484

Accessibility & contrast

On white

14.19
#152F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152F2F
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152F2F#FFFFFF#000000##FFFFFF
##152F2F1.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2D2F
Deuteranopia (green-blind)
#27292F
Tritanopia (blue-blind)
#07302F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #152f2f;
/* rgb */ color: rgb(21, 47, 47);
/* oklch */ color: oklch(28.5% 0.032 195.5);
Tailwind
colors: {
  custom: {
    50: '#556767',
    500: '#152f2f',
    950: '#000000',
  },
}
SCSS
$custom: #152f2f;
$custom-light: #556767;
$custom-dark: #000000;
JSON
{
  "hex": "#152f2f",
  "rgb": {
    "r": 21,
    "g": 47,
    "b": 47
  },
  "hsl": {
    "h": 180,
    "s": 38.235,
    "l": 13.333
  },
  "oklch": {
    "l": 0.28461,
    "c": 0.03203,
    "h": 195.5
  },
  "luminance": 0.02398
}

Semantic roles & 50–950 ramp

primary
#152F2F
secondary
#653B3B
accent
#5A5ACE
background
#F5F6F6
surface
#E9EBEB
border
#C5C6C6
text
#030606
muted
#787A7A

Preview Lab

Preview with #152F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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