#2A4E40#2A4E40

#2A4E40 is a dark, muted teal. Relative luminance 0.063; OKLCH L 39.2% C 0.048 H 166.9°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#2A4E40
RGBrgb(42, 78, 64)
HSLhsl(157, 30%, 24%)
HSVhsv(157, 46%, 31%)
CMYKcmyk(46.2%, 0%, 17.9%, 69.4%)
CIE-LABlab(30.18, -16.80, 4.27)
CIE-LCHlch(30.18, 17.33, 165.75°)
OKLaboklab(39.21% -0.0472 0.011)
OKLCHoklch(39.21% 0.048 166.9)
XYZxyz(4.6043, 6.3109, 5.8250)
Luminance0.0631 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4E40 #4E2A38
analogous
#2A4E2E #2A4E40 #2A4A4E
triadic
#2A4E40 #402A4E #4E402A
tetradic
#2A4E40 #2E2A4E #4E2A38 #4A4E2A
square
#2A4E40 #2E2A4E #4E2A38 #4A4E2A
split-complementary
#2A4E40 #4E2A4A #4E2E2A
monochromatic
#0B1410 #15261F #2A4E40 #3F7661 #559E81

Accessibility & contrast

On white

9.28
#2A4E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2A4E40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4E40
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4E40#FFFFFF#000000##FFFFFF
##2A4E401.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4A3F
Deuteranopia (green-blind)
#474541
Tritanopia (blue-blind)
#1F4E4A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2a4e40;
/* rgb */ color: rgb(42, 78, 64);
/* oklch */ color: oklch(39.2% 0.048 166.9);
Tailwind
colors: {
  custom: {
    50: '#667f74',
    500: '#2a4e40',
    950: '#000000',
  },
}
SCSS
$custom: #2a4e40;
$custom-light: #667f74;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4e40",
  "rgb": {
    "r": 42,
    "g": 78,
    "b": 64
  },
  "hsl": {
    "h": 156.667,
    "s": 30,
    "l": 23.529
  },
  "oklch": {
    "l": 0.39208,
    "c": 0.04849,
    "h": 166.9
  },
  "luminance": 0.06311
}

Semantic roles & 50–950 ramp

primary
#2A4E40
secondary
#805465
accent
#6289C6
background
#F6F7F7
surface
#EBEEED
border
#C6C9C8
text
#060A08
muted
#7A7C7B

Preview Lab

Preview with #2A4E40

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

Preview Lab → · Contrast checker → · Palette generator →

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