#2A4A42#2A4A42

#2A4A42 is a dark, muted teal. Relative luminance 0.058; OKLCH L 38.2% C 0.041 H 176.3°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#2A4A42
RGBrgb(42, 74, 66)
HSLhsl(165, 28%, 23%)
HSVhsv(165, 43%, 29%)
CMYKcmyk(43.2%, 0%, 10.8%, 71%)
CIE-LABlab(28.86, -14.00, 1.07)
CIE-LCHlch(28.86, 14.05, 175.62°)
OKLaboklab(38.16% -0.0404 0.0026)
OKLCHoklch(38.16% 0.041 176.3)
XYZxyz(4.3866, 5.7829, 6.0383)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4A42 #4A2A32
analogous
#2A4A32 #2A4A42 #2A424A
triadic
#2A4A42 #422A4A #4A422A
tetradic
#2A4A42 #322A4A #4A2A32 #424A2A
square
#2A4A42 #322A4A #4A2A32 #424A2A
split-complementary
#2A4A42 #4A2A42 #4A322A
monochromatic
#0B1411 #14231F #2A4A42 #407165 #569888

Accessibility & contrast

On white

9.74
#2A4A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2A4A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4A42
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4A42#FFFFFF#000000##FFFFFF
##2A4A421.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484642
Deuteranopia (green-blind)
#424243
Tritanopia (blue-blind)
#204B48
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2a4a42;
/* rgb */ color: rgb(42, 74, 66);
/* oklch */ color: oklch(38.2% 0.041 176.3);
Tailwind
colors: {
  custom: {
    50: '#657c76',
    500: '#2a4a42',
    950: '#000000',
  },
}
SCSS
$custom: #2a4a42;
$custom-light: #657c76;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4a42",
  "rgb": {
    "r": 42,
    "g": 74,
    "b": 66
  },
  "hsl": {
    "h": 165,
    "s": 27.586,
    "l": 22.745
  },
  "oklch": {
    "l": 0.38158,
    "c": 0.04054,
    "h": 176.3
  },
  "luminance": 0.05783
}

Semantic roles & 50–950 ramp

primary
#2A4A42
secondary
#7C545E
accent
#647CC4
background
#F6F7F7
surface
#EBEEED
border
#C6C9C8
text
#060908
muted
#7A7B7B

Preview Lab

Preview with #2A4A42

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

Preview Lab → · Contrast checker → · Palette generator →

#2A4A42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva