#2A7079#2A7079

#2A7079 is a mid, moderate teal. Relative luminance 0.135; OKLCH L 50.5% C 0.070 H 207.0°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#2A7079
RGBrgb(42, 112, 121)
HSLhsl(187, 48%, 32%)
HSVhsv(187, 65%, 47%)
CMYKcmyk(65.3%, 7.4%, 0%, 52.5%)
CIE-LABlab(43.45, -18.65, -11.47)
CIE-LCHlch(43.45, 21.89, 211.59°)
OKLaboklab(50.53% -0.0625 -0.0318)
OKLCHoklch(50.53% 0.07 207)
XYZxyz(10.1988, 13.4600, 20.1460)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7079 #79332A
analogous
#2A795A #2A7079 #2A4979
triadic
#2A7079 #792A70 #70792A
tetradic
#2A7079 #5A2A79 #79332A #49792A
square
#2A7079 #5A2A79 #79332A #49792A
split-complementary
#2A7079 #792A49 #795A2A
monochromatic
#0A1C1E #1A464C #2A7079 #3A9AA6 #58B9C5

Accessibility & contrast

On white

5.69
#2A7079 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#2A7079 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7079
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7079#FFFFFF#000000##FFFFFF
##2A70791.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#676C7A
Deuteranopia (green-blind)
#5B6379
Tritanopia (blue-blind)
#007573
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2a7079;
/* rgb */ color: rgb(42, 112, 121);
/* oklch */ color: oklch(50.5% 0.070 207.0);
Tailwind
colors: {
  custom: {
    50: '#6e999f',
    500: '#2a7079',
    950: '#000000',
  },
}
SCSS
$custom: #2a7079;
$custom-light: #6e999f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7079",
  "rgb": {
    "r": 42,
    "g": 112,
    "b": 121
  },
  "hsl": {
    "h": 186.835,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5053,
    "c": 0.07008,
    "h": 207
  },
  "luminance": 0.13461
}

Semantic roles & 50–950 ramp

primary
#2A7079
secondary
#AB5E54
accent
#5F50D8
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080E0E
muted
#7A7E7E

Preview Lab

Preview with #2A7079

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

Preview Lab → · Contrast checker → · Palette generator →

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