#154A42#154A42

#154A42 is a dark, muted teal. Relative luminance 0.054; OKLCH L 37.2% C 0.057 H 181.2°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#154A42
RGBrgb(21, 74, 66)
HSLhsl(171, 56%, 19%)
HSVhsv(171, 72%, 29%)
CMYKcmyk(71.6%, 0%, 10.8%, 71%)
CIE-LABlab(27.98, -19.49, -0.31)
CIE-LCHlch(27.98, 19.49, 180.92°)
OKLaboklab(37.2% -0.0567 -0.0012)
OKLCHoklch(37.2% 0.057 181.2)
XYZxyz(3.7409, 5.4499, 6.0080)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#154A42 #4A151D
analogous
#154A27 #154A42 #15374A
triadic
#154A42 #42154A #4A4215
tetradic
#154A42 #27154A #4A151D #374A15
square
#154A42 #27154A #4A151D #374A15
split-complementary
#154A42 #4A1537 #4A2715
monochromatic
#071815 #071A17 #154A42 #237A6D #30A997

Accessibility & contrast

On white

10.05
#154A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#154A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #154A42
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##154A42#FFFFFF#000000##FFFFFF
##154A421.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464542
Deuteranopia (green-blind)
#3F4043
Tritanopia (blue-blind)
#004B48
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #154a42;
/* rgb */ color: rgb(21, 74, 66);
/* oklch */ color: oklch(37.2% 0.057 181.2);
Tailwind
colors: {
  custom: {
    50: '#5a7d76',
    500: '#154a42',
    950: '#000000',
  },
}
SCSS
$custom: #154a42;
$custom-light: #5a7d76;
$custom-dark: #000000;
JSON
{
  "hex": "#154a42",
  "rgb": {
    "r": 21,
    "g": 74,
    "b": 66
  },
  "hsl": {
    "h": 170.943,
    "s": 55.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37204,
    "c": 0.05673,
    "h": 181.2
  },
  "luminance": 0.0545
}

Semantic roles & 50–950 ramp

primary
#154A42
secondary
#823944
accent
#495FDF
background
#F5F7F7
surface
#E9EEED
border
#C5C9C8
text
#040908
muted
#797B7B

Preview Lab

Preview with #154A42

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

Preview Lab → · Contrast checker → · Palette generator →

#154A42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva