#2F877C#2F877C

#2F877C is a mid, moderate teal. Relative luminance 0.194; OKLCH L 56.8% C 0.084 H 183.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2F877C
RGBrgb(47, 135, 124)
HSLhsl(173, 48%, 36%)
HSVhsv(173, 65%, 53%)
CMYKcmyk(65.2%, 0%, 8.1%, 47.1%)
CIE-LABlab(51.14, -28.68, -1.78)
CIE-LCHlch(51.14, 28.73, 183.55°)
OKLaboklab(56.83% -0.0843 -0.0053)
OKLCHoklch(56.83% 0.084 183.6)
XYZxyz(13.4727, 19.3861, 22.0967)
Luminance0.1939 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F877C #872F3A
analogous
#2F8750 #2F877C #2F6687
triadic
#2F877C #7C2F87 #877C2F
tetradic
#2F877C #502F87 #872F3A #66872F
square
#2F877C #502F87 #872F3A #66872F
split-complementary
#2F877C #872F66 #87502F
monochromatic
#0F2C29 #1F5A52 #2F877C #3FB4A6 #66CABD

Accessibility & contrast

On white

4.31
#2F877C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#2F877C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F877C
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F877C#FFFFFF#000000##000000
##2F877C1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f877c;
/* rgb */ color: rgb(47, 135, 124);
/* oklch */ color: oklch(56.8% 0.084 183.6);
Tailwind
colors: {
  custom: {
    50: '#73aaa1',
    500: '#2f877c',
    950: '#000000',
  },
}
SCSS
$custom: #2f877c;
$custom-light: #73aaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f877c",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 124
  },
  "hsl": {
    "h": 172.5,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56826,
    "c": 0.08445,
    "h": 183.6
  },
  "luminance": 0.19388
}

Semantic roles & 50–950 ramp

primary
#2F877C
secondary
#B1616B
accent
#5061D8
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100F
muted
#7B7F7E

Preview Lab

Preview with #2F877C

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

Preview Lab → · Contrast checker → · Palette generator →

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