#2F878F#2F878F

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

Color values

HEX#2F878F
RGBrgb(47, 135, 143)
HSLhsl(185, 51%, 37%)
HSVhsv(185, 67%, 56%)
CMYKcmyk(67.1%, 5.6%, 0%, 43.9%)
CIE-LABlab(51.74, -23.03, -11.95)
CIE-LCHlch(51.74, 25.95, 207.43°)
OKLaboklab(57.52% -0.0755 -0.0331)
OKLCHoklch(57.52% 0.082 203.7)
XYZxyz(14.7921, 19.9138, 29.0455)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F878F #8F372F
analogous
#2F8F67 #2F878F #2F578F
triadic
#2F878F #8F2F87 #878F2F
tetradic
#2F878F #672F8F #8F372F #578F2F
square
#2F878F #672F8F #8F372F #578F2F
split-complementary
#2F878F #8F2F57 #8F672F
monochromatic
#113033 #205C61 #2F878F #3EB2BD #6AC6CE

Accessibility & contrast

On white

4.21
#2F878F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F878F#FFFFFF#000000##000000
##2F878F1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f878f;
/* rgb */ color: rgb(47, 135, 143);
/* oklch */ color: oklch(57.5% 0.082 203.7);
Tailwind
colors: {
  custom: {
    50: '#75aaaf',
    500: '#2f878f',
    950: '#000000',
  },
}
SCSS
$custom: #2f878f;
$custom-light: #75aaaf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f878f",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 143
  },
  "hsl": {
    "h": 185,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.57515,
    "c": 0.08244,
    "h": 203.7
  },
  "luminance": 0.19915
}

Semantic roles & 50–950 ramp

primary
#2F878F
secondary
#B56B65
accent
#594EDA
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #2F878F

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

Preview Lab → · Contrast checker → · Palette generator →

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