#2A574E#2A574E

#2A574E is a dark, muted teal. Relative luminance 0.079; OKLCH L 42.2% C 0.052 H 179.0°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#2A574E
RGBrgb(42, 87, 78)
HSLhsl(168, 35%, 25%)
HSVhsv(168, 52%, 34%)
CMYKcmyk(51.7%, 0%, 10.3%, 65.9%)
CIE-LABlab(33.69, -18.02, 0.45)
CIE-LCHlch(33.69, 18.03, 178.55°)
OKLaboklab(42.17% -0.0523 0.0009)
OKLCHoklch(42.17% 0.052 179)
XYZxyz(5.7376, 7.8582, 8.4207)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A574E #572A33
analogous
#2A5737 #2A574E #2A4957
triadic
#2A574E #4E2A57 #574E2A
tetradic
#2A574E #372A57 #572A33 #49572A
square
#2A574E #372A57 #572A33 #49572A
split-complementary
#2A574E #572A49 #57372A
monochromatic
#0A1513 #162E29 #2A574E #3E8073 #52AA98

Accessibility & contrast

On white

8.17
#2A574E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2A574E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A574E
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A574E#FFFFFF#000000##FFFFFF
##2A574E1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54524E
Deuteranopia (green-blind)
#4C4D4F
Tritanopia (blue-blind)
#165854
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2a574e;
/* rgb */ color: rgb(42, 87, 78);
/* oklch */ color: oklch(42.2% 0.052 179.0);
Tailwind
colors: {
  custom: {
    50: '#67867f',
    500: '#2a574e',
    950: '#000000',
  },
}
SCSS
$custom: #2a574e;
$custom-light: #67867f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a574e",
  "rgb": {
    "r": 42,
    "g": 87,
    "b": 78
  },
  "hsl": {
    "h": 168,
    "s": 34.884,
    "l": 25.294
  },
  "oklch": {
    "l": 0.42174,
    "c": 0.05232,
    "h": 179
  },
  "luminance": 0.07859
}

Semantic roles & 50–950 ramp

primary
#2A574E
secondary
#89535E
accent
#5D73CB
background
#F6F8F7
surface
#EBEFEE
border
#C6CAC9
text
#060B0A
muted
#7A7C7C

Preview Lab

Preview with #2A574E

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

Preview Lab → · Contrast checker → · Palette generator →

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