#2F7E87#2F7E87

#2F7E87 is a mid, moderate teal. Relative luminance 0.173; OKLCH L 54.9% C 0.077 H 205.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#2F7E87
RGBrgb(47, 126, 135)
HSLhsl(186, 48%, 36%)
HSVhsv(186, 65%, 53%)
CMYKcmyk(65.2%, 6.7%, 0%, 47.1%)
CIE-LABlab(48.60, -20.82, -12.00)
CIE-LCHlch(48.60, 24.03, 209.96°)
OKLaboklab(54.89% -0.0691 -0.0333)
OKLCHoklch(54.89% 0.077 205.7)
XYZxyz(13.0045, 17.2739, 25.5658)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7E87 #87382F
analogous
#2F8764 #2F7E87 #2F5287
triadic
#2F7E87 #872F7E #7E872F
tetradic
#2F7E87 #642F87 #87382F #52872F
square
#2F7E87 #642F87 #87382F #52872F
split-complementary
#2F7E87 #872F52 #87642F
monochromatic
#0F292C #1F545A #2F7E87 #3FA8B4 #66C0CA

Accessibility & contrast

On white

4.71
#2F7E87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#2F7E87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7E87
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7E87#FFFFFF#000000##FFFFFF
##2F7E871.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747988
Deuteranopia (green-blind)
#676F87
Tritanopia (blue-blind)
#008381
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f7e87;
/* rgb */ color: rgb(47, 126, 135);
/* oklch */ color: oklch(54.9% 0.077 205.7);
Tailwind
colors: {
  custom: {
    50: '#73a3aa',
    500: '#2f7e87',
    950: '#000000',
  },
}
SCSS
$custom: #2f7e87;
$custom-light: #73a3aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7e87",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 135
  },
  "hsl": {
    "h": 186.136,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.54893,
    "c": 0.0767,
    "h": 205.7
  },
  "luminance": 0.17275
}

Semantic roles & 50–950 ramp

primary
#2F7E87
secondary
#B16961
accent
#5E50D8
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #2F7E87

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

Preview Lab → · Contrast checker → · Palette generator →

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