#2A4242#2A4242

#2A4242 is a dark, muted teal. Relative luminance 0.048; OKLCH L 35.9% C 0.030 H 195.9°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#2A4242
RGBrgb(42, 66, 66)
HSLhsl(180, 22%, 21%)
HSVhsv(180, 36%, 26%)
CMYKcmyk(36.4%, 0%, 0%, 74.1%)
CIE-LABlab(26.10, -9.23, -2.97)
CIE-LCHlch(26.10, 9.70, 197.82°)
OKLaboklab(35.95% -0.0286 -0.0081)
OKLCHoklch(35.95% 0.03 195.9)
XYZxyz(3.8861, 4.7818, 5.8714)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4242 #422A2A
analogous
#2A4236 #2A4242 #2A3642
triadic
#2A4242 #422A42 #42422A
tetradic
#2A4242 #362A42 #422A2A #36422A
square
#2A4242 #362A42 #422A2A #36422A
split-complementary
#2A4242 #422A36 #42362A
monochromatic
#0C1313 #121D1D #2A4242 #426767 #5A8D8D

Accessibility & contrast

On white

10.73
#2A4242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2A4242 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4242
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4242#FFFFFF#000000##FFFFFF
##2A42421.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4042
Deuteranopia (green-blind)
#3A3C42
Tritanopia (blue-blind)
#214342
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2a4242;
/* rgb */ color: rgb(42, 66, 66);
/* oklch */ color: oklch(35.9% 0.030 195.9);
Tailwind
colors: {
  custom: {
    50: '#657676',
    500: '#2a4242',
    950: '#000000',
  },
}
SCSS
$custom: #2a4242;
$custom-light: #657676;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4242",
  "rgb": {
    "r": 42,
    "g": 66,
    "b": 66
  },
  "hsl": {
    "h": 180,
    "s": 22.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.35949,
    "c": 0.02972,
    "h": 195.9
  },
  "luminance": 0.04782
}

Semantic roles & 50–950 ramp

primary
#2A4242
secondary
#735454
accent
#6969BF
background
#F6F7F7
surface
#EBEDED
border
#C6C8C8
text
#050808
muted
#7A7B7B

Preview Lab

Preview with #2A4242

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

Preview Lab → · Contrast checker → · Palette generator →

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