#2A7D84#2A7D84

#2A7D84 is a mid, moderate teal. Relative luminance 0.168; OKLCH L 54.4% C 0.078 H 203.1°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2A7D84
RGBrgb(42, 125, 132)
HSLhsl(185, 52%, 34%)
HSVhsv(185, 68%, 52%)
CMYKcmyk(68.2%, 5.3%, 0%, 48.2%)
CIE-LABlab(48.04, -22.08, -11.10)
CIE-LCHlch(48.04, 24.72, 206.68°)
OKLaboklab(54.36% -0.0721 -0.0308)
OKLCHoklch(54.36% 0.078 203.1)
XYZxyz(12.4515, 16.8240, 24.4165)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7D84 #84312A
analogous
#2A845E #2A7D84 #2A5084
triadic
#2A7D84 #842A7D #7D842A
tetradic
#2A7D84 #5E2A84 #84312A #50842A
square
#2A7D84 #5E2A84 #84312A #50842A
split-complementary
#2A7D84 #842A50 #845E2A
monochromatic
#0C2527 #1B5156 #2A7D84 #39A9B2 #5DC3CB

Accessibility & contrast

On white

4.81
#2A7D84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#2A7D84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7D84
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7D84#FFFFFF#000000##FFFFFF
##2A7D841.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#737885
Deuteranopia (green-blind)
#666E84
Tritanopia (blue-blind)
#00827F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2a7d84;
/* rgb */ color: rgb(42, 125, 132);
/* oklch */ color: oklch(54.4% 0.078 203.1);
Tailwind
colors: {
  custom: {
    50: '#70a3a7',
    500: '#2a7d84',
    950: '#000000',
  },
}
SCSS
$custom: #2a7d84;
$custom-light: #70a3a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7d84",
  "rgb": {
    "r": 42,
    "g": 125,
    "b": 132
  },
  "hsl": {
    "h": 184.667,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54361,
    "c": 0.07839,
    "h": 203.1
  },
  "luminance": 0.16825
}

Semantic roles & 50–950 ramp

primary
#2A7D84
secondary
#B16059
accent
#584DDB
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#080F0F
muted
#7B7F7F

Preview Lab

Preview with #2A7D84

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

Preview Lab → · Contrast checker → · Palette generator →

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