#2A878E#2A878E

#2A878E is a mid, moderate teal. Relative luminance 0.198; OKLCH L 57.3% C 0.085 H 202.4°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#2A878E
RGBrgb(42, 135, 142)
HSLhsl(184, 54%, 36%)
HSVhsv(184, 70%, 56%)
CMYKcmyk(70.4%, 4.9%, 0%, 44.3%)
CIE-LABlab(51.58, -24.12, -11.63)
CIE-LCHlch(51.58, 26.78, 205.74°)
OKLaboklab(57.34% -0.0784 -0.0323)
OKLCHoklch(57.34% 0.085 202.4)
XYZxyz(14.4992, 19.7715, 28.6381)
Luminance0.1977 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A878E #8E312A
analogous
#2A8E63 #2A878E #2A558E
triadic
#2A878E #8E2A87 #878E2A
tetradic
#2A878E #632A8E #8E312A #558E2A
square
#2A878E #632A8E #8E312A #558E2A
split-complementary
#2A878E #8E2A55 #8E632A
monochromatic
#0E2D30 #1C5A5F #2A878E #38B4BD #62C9D1

Accessibility & contrast

On white

4.24
#2A878E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#2A878E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A878E
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A878E#FFFFFF#000000##000000
##2A878E1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C818F
Deuteranopia (green-blind)
#6E768E
Tritanopia (blue-blind)
#008C89
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2a878e;
/* rgb */ color: rgb(42, 135, 142);
/* oklch */ color: oklch(57.3% 0.085 202.4);
Tailwind
colors: {
  custom: {
    50: '#73aaaf',
    500: '#2a878e',
    950: '#000000',
  },
}
SCSS
$custom: #2a878e;
$custom-light: #73aaaf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a878e",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 142
  },
  "hsl": {
    "h": 184.2,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57337,
    "c": 0.08481,
    "h": 202.4
  },
  "luminance": 0.19773
}

Semantic roles & 50–950 ramp

primary
#2A878E
secondary
#B6645D
accent
#544ADE
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #2A878E

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

Preview Lab → · Contrast checker → · Palette generator →

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