#2A4240#2A4240

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

Color values

HEX#2A4240
RGBrgb(42, 66, 64)
HSLhsl(175, 22%, 21%)
HSVhsv(175, 36%, 26%)
CMYKcmyk(36.4%, 0%, 3%, 74.1%)
CIE-LABlab(26.04, -9.80, -1.75)
CIE-LCHlch(26.04, 9.95, 190.14°)
OKLaboklab(35.87% -0.0296 -0.0049)
OKLCHoklch(35.87% 0.03 189.3)
XYZxyz(3.8282, 4.7586, 5.5663)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4240 #422A2C
analogous
#2A4234 #2A4240 #2A3842
triadic
#2A4240 #402A42 #42402A
tetradic
#2A4240 #342A42 #422A2C #38422A
square
#2A4240 #342A42 #422A2C #38422A
split-complementary
#2A4240 #422A38 #42342A
monochromatic
#0C1312 #121D1C #2A4240 #426764 #5A8D89

Accessibility & contrast

On white

10.76
#2A4240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2A4240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4240
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4240#FFFFFF#000000##FFFFFF
##2A42401.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4040
Deuteranopia (green-blind)
#3B3C40
Tritanopia (blue-blind)
#224341
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2a4240;
/* rgb */ color: rgb(42, 66, 64);
/* oklch */ color: oklch(35.9% 0.030 189.3);
Tailwind
colors: {
  custom: {
    50: '#647674',
    500: '#2a4240',
    950: '#000000',
  },
}
SCSS
$custom: #2a4240;
$custom-light: #647674;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4240",
  "rgb": {
    "r": 42,
    "g": 66,
    "b": 64
  },
  "hsl": {
    "h": 175,
    "s": 22.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.35872,
    "c": 0.02998,
    "h": 189.3
  },
  "luminance": 0.04759
}

Semantic roles & 50–950 ramp

primary
#2A4240
secondary
#735457
accent
#6970BF
background
#F6F7F7
surface
#EBEDED
border
#C6C8C8
text
#050808
muted
#7A7B7B

Preview Lab

Preview with #2A4240

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

Preview Lab → · Contrast checker → · Palette generator →

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