#2A878C#2A878C

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

Color values

HEX#2A878C
RGBrgb(42, 135, 140)
HSLhsl(183, 54%, 36%)
HSVhsv(183, 70%, 55%)
CMYKcmyk(70%, 3.6%, 0%, 45.1%)
CIE-LABlab(51.51, -24.75, -10.57)
CIE-LCHlch(51.51, 26.91, 203.12°)
OKLaboklab(57.26% -0.0793 -0.0293)
OKLCHoklch(57.26% 0.085 200.3)
XYZxyz(14.3504, 19.7120, 27.8543)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A878C #8C2F2A
analogous
#2A8C60 #2A878C #2A568C
triadic
#2A878C #8C2A87 #878C2A
tetradic
#2A878C #602A8C #8C2F2A #568C2A
square
#2A878C #602A8C #8C2F2A #568C2A
split-complementary
#2A878C #8C2A56 #8C602A
monochromatic
#0E2C2E #1C5A5D #2A878C #38B4BB #61CAD0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A878C#FFFFFF#000000##000000
##2A878C1.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)
#7D818C
Deuteranopia (green-blind)
#6E768C
Tritanopia (blue-blind)
#008C88
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2a878c;
/* rgb */ color: rgb(42, 135, 140);
/* oklch */ color: oklch(57.3% 0.085 200.3);
Tailwind
colors: {
  custom: {
    50: '#72aaad',
    500: '#2a878c',
    950: '#000000',
  },
}
SCSS
$custom: #2a878c;
$custom-light: #72aaad;
$custom-dark: #000000;
JSON
{
  "hex": "#2a878c",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 140
  },
  "hsl": {
    "h": 183.061,
    "s": 53.846,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57259,
    "c": 0.08458,
    "h": 200.3
  },
  "luminance": 0.19714
}

Semantic roles & 50–950 ramp

primary
#2A878C
secondary
#B5615C
accent
#524BDD
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #2A878C

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

Preview Lab → · Contrast checker → · Palette generator →

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