#2A5950#2A5950

#2A5950 is a dark, muted teal. Relative luminance 0.082; OKLCH L 42.8% C 0.054 H 179.5°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#2A5950
RGBrgb(42, 89, 80)
HSLhsl(169, 36%, 26%)
HSVhsv(169, 53%, 35%)
CMYKcmyk(52.8%, 0%, 10.1%, 65.1%)
CIE-LABlab(34.43, -18.56, 0.28)
CIE-LCHlch(34.43, 18.56, 179.13°)
OKLaboklab(42.79% -0.0539 0.0005)
OKLCHoklch(42.79% 0.054 179.5)
XYZxyz(5.9746, 8.2157, 8.8588)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5950 #592A33
analogous
#2A5938 #2A5950 #2A4A59
triadic
#2A5950 #502A59 #59502A
tetradic
#2A5950 #382A59 #592A33 #4A592A
square
#2A5950 #382A59 #592A33 #4A592A
split-complementary
#2A5950 #592A4A #59382A
monochromatic
#0A1513 #162F2B #2A5950 #3E8375 #51AC9B

Accessibility & contrast

On white

7.94
#2A5950 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2A5950 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5950
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5950#FFFFFF#000000##FFFFFF
##2A59501.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565450
Deuteranopia (green-blind)
#4E4F51
Tritanopia (blue-blind)
#145A56
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2a5950;
/* rgb */ color: rgb(42, 89, 80);
/* oklch */ color: oklch(42.8% 0.054 179.5);
Tailwind
colors: {
  custom: {
    50: '#688881',
    500: '#2a5950',
    950: '#000000',
  },
}
SCSS
$custom: #2a5950;
$custom-light: #688881;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5950",
  "rgb": {
    "r": 42,
    "g": 89,
    "b": 80
  },
  "hsl": {
    "h": 168.511,
    "s": 35.878,
    "l": 25.686
  },
  "oklch": {
    "l": 0.42794,
    "c": 0.05393,
    "h": 179.5
  },
  "luminance": 0.08216
}

Semantic roles & 50–950 ramp

primary
#2A5950
secondary
#8B535E
accent
#5C71CC
background
#F6F8F7
surface
#EBEFEE
border
#C6CAC9
text
#060B0A
muted
#7A7C7C

Preview Lab

Preview with #2A5950

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

Preview Lab → · Contrast checker → · Palette generator →

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