#2A7E7D#2A7E7D

#2A7E7D is a mid, moderate teal. Relative luminance 0.169; OKLCH L 54.4% C 0.079 H 194.0°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#2A7E7D
RGBrgb(42, 126, 125)
HSLhsl(179, 50%, 33%)
HSVhsv(179, 67%, 49%)
CMYKcmyk(66.7%, 0%, 0.8%, 50.6%)
CIE-LABlab(48.13, -24.77, -6.83)
CIE-LCHlch(48.13, 25.69, 195.43°)
OKLaboklab(54.35% -0.0764 -0.019)
OKLCHoklch(54.35% 0.079 194)
XYZxyz(12.1157, 16.8933, 22.0203)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7E7D #7E2A2B
analogous
#2A7E53 #2A7E7D #2A557E
triadic
#2A7E7D #7D2A7E #7E7D2A
tetradic
#2A7E7D #532A7E #7E2A2B #557E2A
square
#2A7E7D #532A7E #7E2A2B #557E2A
split-complementary
#2A7E7D #7E2A55 #7E532A
monochromatic
#0B2222 #1B504F #2A7E7D #39ACAB #5AC8C7

Accessibility & contrast

On white

4.80
#2A7E7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#2A7E7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7E7D
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7E7D#FFFFFF#000000##FFFFFF
##2A7E7D1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76787D
Deuteranopia (green-blind)
#696E7E
Tritanopia (blue-blind)
#00827D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2a7e7d;
/* rgb */ color: rgb(42, 126, 125);
/* oklch */ color: oklch(54.4% 0.079 194.0);
Tailwind
colors: {
  custom: {
    50: '#70a4a2',
    500: '#2a7e7d',
    950: '#000000',
  },
}
SCSS
$custom: #2a7e7d;
$custom-light: #70a4a2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7e7d",
  "rgb": {
    "r": 42,
    "g": 126,
    "b": 125
  },
  "hsl": {
    "h": 179.286,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54354,
    "c": 0.07874,
    "h": 194
  },
  "luminance": 0.16895
}

Semantic roles & 50–950 ramp

primary
#2A7E7D
secondary
#AE5657
accent
#4E50DA
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0F
muted
#7B7F7E

Preview Lab

Preview with #2A7E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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