#2A7978#2A7978

#2A7978 is a mid, moderate teal. Relative luminance 0.155; OKLCH L 52.9% C 0.075 H 193.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#2A7978
RGBrgb(42, 121, 120)
HSLhsl(179, 48%, 32%)
HSVhsv(179, 65%, 47%)
CMYKcmyk(65.3%, 0%, 0.8%, 52.5%)
CIE-LABlab(46.34, -23.72, -6.53)
CIE-LCHlch(46.34, 24.60, 195.39°)
OKLaboklab(52.86% -0.0732 -0.0181)
OKLCHoklch(52.86% 0.075 193.9)
XYZxyz(11.1809, 15.5218, 20.1724)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7978 #792A2B
analogous
#2A7951 #2A7978 #2A5279
triadic
#2A7978 #782A79 #79782A
tetradic
#2A7978 #512A79 #792A2B #52792A
square
#2A7978 #512A79 #792A2B #52792A
split-complementary
#2A7978 #792A52 #79512A
monochromatic
#0A1E1E #1A4C4B #2A7978 #3AA6A5 #58C5C4

Accessibility & contrast

On white

5.12
#2A7978 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#2A7978 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7978
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7978#FFFFFF#000000##FFFFFF
##2A79781.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#717378
Deuteranopia (green-blind)
#656A79
Tritanopia (blue-blind)
#007D78
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2a7978;
/* rgb */ color: rgb(42, 121, 120);
/* oklch */ color: oklch(52.9% 0.075 193.9);
Tailwind
colors: {
  custom: {
    50: '#6fa09e',
    500: '#2a7978',
    950: '#000000',
  },
}
SCSS
$custom: #2a7978;
$custom-light: #6fa09e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7978",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 120
  },
  "hsl": {
    "h": 179.241,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52855,
    "c": 0.07539,
    "h": 193.9
  },
  "luminance": 0.15523
}

Semantic roles & 50–950 ramp

primary
#2A7978
secondary
#AB5455
accent
#5051D8
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #2A7978

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

Preview Lab → · Contrast checker → · Palette generator →

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