#2A7E84#2A7E84

#2A7E84 is a mid, moderate teal. Relative luminance 0.171; OKLCH L 54.6% C 0.079 H 201.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2A7E84
RGBrgb(42, 126, 132)
HSLhsl(184, 52%, 34%)
HSVhsv(184, 68%, 52%)
CMYKcmyk(68.2%, 4.5%, 0%, 48.2%)
CIE-LABlab(48.36, -22.61, -10.61)
CIE-LCHlch(48.36, 24.97, 205.15°)
OKLaboklab(54.62% -0.0732 -0.0294)
OKLCHoklch(54.62% 0.079 201.9)
XYZxyz(12.5787, 17.0785, 24.4589)
Luminance0.1708 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7E84 #84302A
analogous
#2A845D #2A7E84 #2A5184
triadic
#2A7E84 #842A7E #7E842A
tetradic
#2A7E84 #5D2A84 #84302A #51842A
square
#2A7E84 #5D2A84 #84302A #51842A
split-complementary
#2A7E84 #842A51 #845D2A
monochromatic
#0C2527 #1B5256 #2A7E84 #39AAB2 #5DC4CB

Accessibility & contrast

On white

4.76
#2A7E84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#2A7E84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7E84
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7E84#FFFFFF#000000##FFFFFF
##2A7E841.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747984
Deuteranopia (green-blind)
#676F84
Tritanopia (blue-blind)
#008380
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2a7e84;
/* rgb */ color: rgb(42, 126, 132);
/* oklch */ color: oklch(54.6% 0.079 201.9);
Tailwind
colors: {
  custom: {
    50: '#71a3a7',
    500: '#2a7e84',
    950: '#000000',
  },
}
SCSS
$custom: #2a7e84;
$custom-light: #71a3a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7e84",
  "rgb": {
    "r": 42,
    "g": 126,
    "b": 132
  },
  "hsl": {
    "h": 184,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54621,
    "c": 0.07889,
    "h": 201.9
  },
  "luminance": 0.1708
}

Semantic roles & 50–950 ramp

primary
#2A7E84
secondary
#B15F59
accent
#564DDB
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F0F
muted
#7B7F7F

Preview Lab

Preview with #2A7E84

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

Preview Lab → · Contrast checker → · Palette generator →

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