#2A7A84#2A7A84

#2A7A84 is a mid, moderate teal. Relative luminance 0.161; OKLCH L 53.6% C 0.077 H 206.9°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#2A7A84
RGBrgb(42, 122, 132)
HSLhsl(187, 52%, 34%)
HSVhsv(187, 68%, 52%)
CMYKcmyk(68.2%, 7.6%, 0%, 48.2%)
CIE-LABlab(47.07, -20.50, -12.55)
CIE-LCHlch(47.07, 24.04, 211.48°)
OKLaboklab(53.58% -0.0688 -0.0348)
OKLCHoklch(53.58% 0.077 206.9)
XYZxyz(12.0775, 16.0759, 24.2918)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7A84 #84342A
analogous
#2A8461 #2A7A84 #2A4D84
triadic
#2A7A84 #842A7A #7A842A
tetradic
#2A7A84 #612A84 #84342A #4D842A
square
#2A7A84 #612A84 #84342A #4D842A
split-complementary
#2A7A84 #842A4D #84612A
monochromatic
#0C2427 #1B4F56 #2A7A84 #39A5B2 #5DBFCB

Accessibility & contrast

On white

4.98
#2A7A84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#2A7A84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7A84
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7A84#FFFFFF#000000##FFFFFF
##2A7A841.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#707585
Deuteranopia (green-blind)
#626B84
Tritanopia (blue-blind)
#007F7D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2a7a84;
/* rgb */ color: rgb(42, 122, 132);
/* oklch */ color: oklch(53.6% 0.077 206.9);
Tailwind
colors: {
  custom: {
    50: '#70a0a7',
    500: '#2a7a84',
    950: '#000000',
  },
}
SCSS
$custom: #2a7a84;
$custom-light: #70a0a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7a84",
  "rgb": {
    "r": 42,
    "g": 122,
    "b": 132
  },
  "hsl": {
    "h": 186.667,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.53583,
    "c": 0.0771,
    "h": 206.9
  },
  "luminance": 0.16077
}

Semantic roles & 50–950 ramp

primary
#2A7A84
secondary
#B16359
accent
#5C4DDB
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080F0F
muted
#7B7E7F

Preview Lab

Preview with #2A7A84

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

Preview Lab → · Contrast checker → · Palette generator →

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