#2F878B#2F878B

#2F878B is a mid, moderate teal. Relative luminance 0.198; OKLCH L 57.4% C 0.082 H 199.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#2F878B
RGBrgb(47, 135, 139)
HSLhsl(183, 49%, 36%)
HSVhsv(183, 66%, 55%)
CMYKcmyk(66.2%, 2.9%, 0%, 45.5%)
CIE-LABlab(51.60, -24.27, -9.83)
CIE-LCHlch(51.60, 26.18, 202.05°)
OKLaboklab(57.36% -0.0773 -0.0272)
OKLCHoklch(57.36% 0.082 199.4)
XYZxyz(14.4944, 19.7948, 27.4780)
Luminance0.1980 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F878B #8B332F
analogous
#2F8B61 #2F878B #2F598B
triadic
#2F878B #8B2F87 #878B2F
tetradic
#2F878B #612F8B #8B332F #598B2F
square
#2F878B #612F8B #8B332F #598B2F
split-complementary
#2F878B #8B2F59 #8B612F
monochromatic
#102E30 #205B5D #2F878B #3EB3B9 #68C8CC

Accessibility & contrast

On white

4.23
#2F878B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#2F878B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F878B
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F878B#FFFFFF#000000##000000
##2F878B1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f878b;
/* rgb */ color: rgb(47, 135, 139);
/* oklch */ color: oklch(57.4% 0.082 199.4);
Tailwind
colors: {
  custom: {
    50: '#74aaac',
    500: '#2f878b',
    950: '#000000',
  },
}
SCSS
$custom: #2f878b;
$custom-light: #74aaac;
$custom-dark: #000000;
JSON
{
  "hex": "#2f878b",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 139
  },
  "hsl": {
    "h": 182.609,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.57361,
    "c": 0.08193,
    "h": 199.4
  },
  "luminance": 0.19796
}

Semantic roles & 50–950 ramp

primary
#2F878B
secondary
#B36663
accent
#554FD9
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #2F878B

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

Preview Lab → · Contrast checker → · Palette generator →

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