#2B877C#2B877C

#2B877C is a mid, moderate teal. Relative luminance 0.193; OKLCH L 56.7% C 0.087 H 183.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#2B877C
RGBrgb(43, 135, 124)
HSLhsl(173, 52%, 35%)
HSVhsv(173, 68%, 53%)
CMYKcmyk(68.1%, 0%, 8.1%, 47.1%)
CIE-LABlab(51.03, -29.37, -1.95)
CIE-LCHlch(51.03, 29.43, 183.79°)
OKLaboklab(56.71% -0.0863 -0.0057)
OKLCHoklch(56.71% 0.087 183.8)
XYZxyz(13.2966, 19.2953, 22.0885)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B877C #872B36
analogous
#2B874E #2B877C #2B6487
triadic
#2B877C #7C2B87 #877C2B
tetradic
#2B877C #4E2B87 #872B36 #64872B
square
#2B877C #4E2B87 #872B36 #64872B
split-complementary
#2B877C #872B64 #874E2B
monochromatic
#0D2A27 #1C5951 #2B877C #3AB5A7 #60CCBF

Accessibility & contrast

On white

4.32
#2B877C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#2B877C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B877C
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B877C#FFFFFF#000000##000000
##2B877C1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#807F7C
Deuteranopia (green-blind)
#73757D
Tritanopia (blue-blind)
#008A84
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2b877c;
/* rgb */ color: rgb(43, 135, 124);
/* oklch */ color: oklch(56.7% 0.087 183.8);
Tailwind
colors: {
  custom: {
    50: '#71aaa1',
    500: '#2b877c',
    950: '#000000',
  },
}
SCSS
$custom: #2b877c;
$custom-light: #71aaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b877c",
  "rgb": {
    "r": 43,
    "g": 135,
    "b": 124
  },
  "hsl": {
    "h": 172.826,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56711,
    "c": 0.08653,
    "h": 183.8
  },
  "luminance": 0.19297
}

Semantic roles & 50–950 ramp

primary
#2B877C
secondary
#B25B66
accent
#4D5EDB
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100F
muted
#7B7F7E

Preview Lab

Preview with #2B877C

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

Preview Lab → · Contrast checker → · Palette generator →

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