#2A7873#2A7873

#2A7873 is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.4% C 0.075 H 189.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#2A7873
RGBrgb(42, 120, 115)
HSLhsl(176, 48%, 32%)
HSVhsv(176, 65%, 47%)
CMYKcmyk(65%, 0%, 4.2%, 52.9%)
CIE-LABlab(45.85, -24.71, -4.28)
CIE-LCHlch(45.85, 25.07, 189.82°)
OKLaboklab(52.41% -0.0744 -0.012)
OKLCHoklch(52.41% 0.075 189.1)
XYZxyz(10.7644, 15.1618, 18.5756)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7873 #782A2F
analogous
#2A784C #2A7873 #2A5678
triadic
#2A7873 #732A78 #78732A
tetradic
#2A7873 #4C2A78 #782A2F #56782A
square
#2A7873 #4C2A78 #782A2F #56782A
split-complementary
#2A7873 #782A56 #784C2A
monochromatic
#0A1D1C #1A4B48 #2A7873 #3AA59E #58C5BE

Accessibility & contrast

On white

5.21
#2A7873 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#2A7873 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7873
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7873#FFFFFF#000000##FFFFFF
##2A78731.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#717273
Deuteranopia (green-blind)
#656974
Tritanopia (blue-blind)
#007B76
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2a7873;
/* rgb */ color: rgb(42, 120, 115);
/* oklch */ color: oklch(52.4% 0.075 189.1);
Tailwind
colors: {
  custom: {
    50: '#6e9f9b',
    500: '#2a7873',
    950: '#000000',
  },
}
SCSS
$custom: #2a7873;
$custom-light: #6e9f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7873",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 115
  },
  "hsl": {
    "h": 176.154,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52408,
    "c": 0.07538,
    "h": 189.1
  },
  "luminance": 0.15163
}

Semantic roles & 50–950 ramp

primary
#2A7873
secondary
#AA545A
accent
#5059D8
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #2A7873

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

Preview Lab → · Contrast checker → · Palette generator →

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