#152A27#152A27

#152A27 is a dark, muted teal. Relative luminance 0.020; OKLCH L 26.6% C 0.028 H 184.1°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#152A27
RGBrgb(21, 42, 39)
HSLhsl(171, 33%, 12%)
HSVhsv(171, 50%, 16%)
CMYKcmyk(50%, 0%, 7.1%, 83.5%)
CIE-LABlab(15.29, -9.34, -0.69)
CIE-LCHlch(15.29, 9.37, 184.20°)
OKLaboklab(26.63% -0.0277 -0.002)
OKLCHoklch(26.63% 0.028 184.1)
XYZxyz(1.5033, 1.9617, 2.2185)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152A27 #2A1518
analogous
#152A1D #152A27 #15222A
triadic
#152A27 #27152A #2A2715
tetradic
#152A27 #1D152A #2A1518 #222A15
square
#152A27 #1D152A #2A1518 #222A15
split-complementary
#152A27 #2A1522 #2A1D15
monochromatic
#0A1413 #0A1413 #152A27 #29534D #3E7C73

Accessibility & contrast

On white

15.08
#152A27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#152A27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152A27
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152A27#FFFFFF#000000##FFFFFF
##152A271.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282827
Deuteranopia (green-blind)
#242527
Tritanopia (blue-blind)
#0D2B29
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #152a27;
/* rgb */ color: rgb(21, 42, 39);
/* oklch */ color: oklch(26.6% 0.028 184.1);
Tailwind
colors: {
  custom: {
    50: '#546361',
    500: '#152a27',
    950: '#000000',
  },
}
SCSS
$custom: #152a27;
$custom-light: #546361;
$custom-dark: #000000;
JSON
{
  "hex": "#152a27",
  "rgb": {
    "r": 21,
    "g": 42,
    "b": 39
  },
  "hsl": {
    "h": 171.429,
    "s": 33.333,
    "l": 12.353
  },
  "oklch": {
    "l": 0.26625,
    "c": 0.02773,
    "h": 184.1
  },
  "luminance": 0.01962
}

Semantic roles & 50–950 ramp

primary
#152A27
secondary
#5F3B40
accent
#5E6EC9
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#020505
muted
#787979

Preview Lab

Preview with #152A27

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

Preview Lab → · Contrast checker → · Palette generator →

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