#2A7B79#2A7B79

#2A7B79 is a mid, moderate teal. Relative luminance 0.160; OKLCH L 53.4% C 0.077 H 192.8°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#2A7B79
RGBrgb(42, 123, 121)
HSLhsl(179, 49%, 32%)
HSVhsv(179, 66%, 48%)
CMYKcmyk(65.9%, 0%, 1.6%, 51.8%)
CIE-LABlab(47.02, -24.44, -6.11)
CIE-LCHlch(47.02, 25.20, 194.03°)
OKLaboklab(53.42% -0.0749 -0.017)
OKLCHoklch(53.42% 0.077 192.8)
XYZxyz(11.4875, 16.0374, 20.5756)
Luminance0.1604 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7B79 #7B2A2C
analogous
#2A7B51 #2A7B79 #2A547B
triadic
#2A7B79 #792A7B #7B792A
tetradic
#2A7B79 #512A7B #7B2A2C #547B2A
square
#2A7B79 #512A7B #7B2A2C #547B2A
split-complementary
#2A7B79 #7B2A54 #7B512A
monochromatic
#0B201F #1A4D4C #2A7B79 #3AA9A6 #59C6C4

Accessibility & contrast

On white

4.99
#2A7B79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#2A7B79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7B79
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7B79#FFFFFF#000000##FFFFFF
##2A7B791.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#737579
Deuteranopia (green-blind)
#676C7A
Tritanopia (blue-blind)
#007F7A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2a7b79;
/* rgb */ color: rgb(42, 123, 121);
/* oklch */ color: oklch(53.4% 0.077 192.8);
Tailwind
colors: {
  custom: {
    50: '#6fa19f',
    500: '#2a7b79',
    950: '#000000',
  },
}
SCSS
$custom: #2a7b79;
$custom-light: #6fa19f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7b79",
  "rgb": {
    "r": 42,
    "g": 123,
    "b": 121
  },
  "hsl": {
    "h": 178.519,
    "s": 49.091,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53419,
    "c": 0.07685,
    "h": 192.8
  },
  "luminance": 0.16039
}

Semantic roles & 50–950 ramp

primary
#2A7B79
secondary
#AC5557
accent
#4F53D9
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080F0E
muted
#7B7E7E

Preview Lab

Preview with #2A7B79

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

Preview Lab → · Contrast checker → · Palette generator →

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