#2F878E#2F878E

#2F878E is a mid, moderate teal. Relative luminance 0.199; OKLCH L 57.5% C 0.082 H 202.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#2F878E
RGBrgb(47, 135, 142)
HSLhsl(184, 50%, 37%)
HSVhsv(184, 67%, 56%)
CMYKcmyk(66.9%, 4.9%, 0%, 44.3%)
CIE-LABlab(51.71, -23.34, -11.42)
CIE-LCHlch(51.71, 25.99, 206.07°)
OKLaboklab(57.48% -0.0759 -0.0317)
OKLCHoklch(57.48% 0.082 202.6)
XYZxyz(14.7166, 19.8837, 28.6483)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F878E #8E362F
analogous
#2F8E66 #2F878E #2F588E
triadic
#2F878E #8E2F87 #878E2F
tetradic
#2F878E #662F8E #8E362F #588E2F
square
#2F878E #662F8E #8E362F #588E2F
split-complementary
#2F878E #8E2F58 #8E662F
monochromatic
#113032 #205B60 #2F878E #3EB3BC #6AC6CE

Accessibility & contrast

On white

4.22
#2F878E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#2F878E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F878E
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F878E#FFFFFF#000000##000000
##2F878E1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f878e;
/* rgb */ color: rgb(47, 135, 142);
/* oklch */ color: oklch(57.5% 0.082 202.6);
Tailwind
colors: {
  custom: {
    50: '#75aaaf',
    500: '#2f878e',
    950: '#000000',
  },
}
SCSS
$custom: #2f878e;
$custom-light: #75aaaf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f878e",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 142
  },
  "hsl": {
    "h": 184.421,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.57476,
    "c": 0.08227,
    "h": 202.6
  },
  "luminance": 0.19885
}

Semantic roles & 50–950 ramp

primary
#2F878E
secondary
#B56A64
accent
#584EDA
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #2F878E

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

Preview Lab → · Contrast checker → · Palette generator →

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