#2F8787#2F8787

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

Color values

HEX#2F8787
RGBrgb(47, 135, 135)
HSLhsl(180, 48%, 36%)
HSVhsv(180, 65%, 53%)
CMYKcmyk(65.2%, 0%, 0%, 47.1%)
CIE-LABlab(51.47, -25.48, -7.69)
CIE-LCHlch(51.47, 26.61, 196.80°)
OKLaboklab(57.21% -0.0791 -0.0213)
OKLCHoklch(57.21% 0.082 195.1)
XYZxyz(14.2075, 19.6800, 25.9668)
Luminance0.1968 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8787 #872F2F
analogous
#2F875B #2F8787 #2F5B87
triadic
#2F8787 #872F87 #87872F
tetradic
#2F8787 #5B2F87 #872F2F #5B872F
square
#2F8787 #5B2F87 #872F2F #5B872F
split-complementary
#2F8787 #872F5B #875B2F
monochromatic
#0F2C2C #1F5A5A #2F8787 #3FB4B4 #66CACA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8787#FFFFFF#000000##000000
##2F87871.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)
#7E8187
Deuteranopia (green-blind)
#717688
Tritanopia (blue-blind)
#008B87
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2f8787;
/* rgb */ color: rgb(47, 135, 135);
/* oklch */ color: oklch(57.2% 0.082 195.1);
Tailwind
colors: {
  custom: {
    50: '#74aaa9',
    500: '#2f8787',
    950: '#000000',
  },
}
SCSS
$custom: #2f8787;
$custom-light: #74aaa9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8787",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 135
  },
  "hsl": {
    "h": 180,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57212,
    "c": 0.08193,
    "h": 195.1
  },
  "luminance": 0.19682
}

Semantic roles & 50–950 ramp

primary
#2F8787
secondary
#B16161
accent
#5050D8
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #2F8787

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

Preview Lab → · Contrast checker → · Palette generator →

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