#2A5754#2A5754

#2A5754 is a dark, muted teal. Relative luminance 0.079; OKLCH L 42.4% C 0.050 H 189.8°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#2A5754
RGBrgb(42, 87, 84)
HSLhsl(176, 35%, 25%)
HSVhsv(176, 52%, 34%)
CMYKcmyk(51.7%, 0%, 3.4%, 65.9%)
CIE-LABlab(33.87, -16.31, -3.04)
CIE-LCHlch(33.87, 16.59, 190.57°)
OKLaboklab(42.39% -0.0493 -0.0085)
OKLCHoklch(42.39% 0.05 189.8)
XYZxyz(5.9626, 7.9482, 9.6057)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5754 #572A2D
analogous
#2A573D #2A5754 #2A4357
triadic
#2A5754 #542A57 #57542A
tetradic
#2A5754 #3D2A57 #572A2D #43572A
square
#2A5754 #3D2A57 #572A2D #43572A
split-complementary
#2A5754 #572A43 #573D2A
monochromatic
#0A1514 #162E2C #2A5754 #3E807C #52AAA4

Accessibility & contrast

On white

8.11
#2A5754 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2A5754 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5754
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5754#FFFFFF#000000##FFFFFF
##2A57541.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535354
Deuteranopia (green-blind)
#4B4D54
Tritanopia (blue-blind)
#125956
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2a5754;
/* rgb */ color: rgb(42, 87, 84);
/* oklch */ color: oklch(42.4% 0.050 189.8);
Tailwind
colors: {
  custom: {
    50: '#688684',
    500: '#2a5754',
    950: '#000000',
  },
}
SCSS
$custom: #2a5754;
$custom-light: #688684;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5754",
  "rgb": {
    "r": 42,
    "g": 87,
    "b": 84
  },
  "hsl": {
    "h": 176,
    "s": 34.884,
    "l": 25.294
  },
  "oklch": {
    "l": 0.42389,
    "c": 0.05,
    "h": 189.8
  },
  "luminance": 0.07949
}

Semantic roles & 50–950 ramp

primary
#2A5754
secondary
#895357
accent
#5D64CB
background
#F6F8F8
surface
#EBEFEF
border
#C6CACA
text
#060B0A
muted
#7A7C7C

Preview Lab

Preview with #2A5754

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

Preview Lab → · Contrast checker → · Palette generator →

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