#2A878B#2A878B

#2A878B is a mid, moderate teal. Relative luminance 0.197; OKLCH L 57.2% C 0.085 H 199.2°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#2A878B
RGBrgb(42, 135, 139)
HSLhsl(182, 54%, 35%)
HSVhsv(182, 70%, 55%)
CMYKcmyk(69.8%, 2.9%, 0%, 45.5%)
CIE-LABlab(51.48, -25.06, -10.03)
CIE-LCHlch(51.48, 26.99, 201.82°)
OKLaboklab(57.22% -0.0798 -0.0278)
OKLCHoklch(57.22% 0.085 199.2)
XYZxyz(14.2770, 19.6826, 27.4678)
Luminance0.1968 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A878B #8B2E2A
analogous
#2A8B5E #2A878B #2A568B
triadic
#2A878B #8B2A87 #878B2A
tetradic
#2A878B #5E2A8B #8B2E2A #568B2A
square
#2A878B #5E2A8B #8B2E2A #568B2A
split-complementary
#2A878B #8B2A56 #8B5E2A
monochromatic
#0E2C2D #1C595C #2A878B #38B5BA #60CACF

Accessibility & contrast

On white

4.25
#2A878B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#2A878B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A878B
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A878B#FFFFFF#000000##000000
##2A878B1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D818B
Deuteranopia (green-blind)
#6F768C
Tritanopia (blue-blind)
#008C88
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2a878b;
/* rgb */ color: rgb(42, 135, 139);
/* oklch */ color: oklch(57.2% 0.085 199.2);
Tailwind
colors: {
  custom: {
    50: '#72aaac',
    500: '#2a878b',
    950: '#000000',
  },
}
SCSS
$custom: #2a878b;
$custom-light: #72aaac;
$custom-dark: #000000;
JSON
{
  "hex": "#2a878b",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 139
  },
  "hsl": {
    "h": 182.474,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57221,
    "c": 0.08451,
    "h": 199.2
  },
  "luminance": 0.19684
}

Semantic roles & 50–950 ramp

primary
#2A878B
secondary
#B5605C
accent
#514BDD
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #2A878B

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

Preview Lab → · Contrast checker → · Palette generator →

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