#2F8797#2F8797

#2F8797 is a mid, moderate teal. Relative luminance 0.202; OKLCH L 57.8% C 0.085 H 212.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#2F8797
RGBrgb(47, 135, 151)
HSLhsl(189, 53%, 39%)
HSVhsv(189, 69%, 59%)
CMYKcmyk(68.9%, 10.6%, 0%, 40.8%)
CIE-LABlab(52.02, -20.50, -16.18)
CIE-LCHlch(52.02, 26.12, 218.27°)
OKLaboklab(57.84% -0.072 -0.045)
OKLCHoklch(57.84% 0.085 212)
XYZxyz(15.4198, 20.1649, 32.3517)
Luminance0.2017 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8797 #973F2F
analogous
#2F9773 #2F8797 #2F5397
triadic
#2F8797 #972F87 #87972F
tetradic
#2F8797 #732F97 #973F2F #53972F
square
#2F8797 #732F97 #973F2F #53972F
split-complementary
#2F8797 #972F53 #97732F
monochromatic
#12343A #205D68 #2F8797 #40AFC3 #6EC3D2

Accessibility & contrast

On white

4.17
#2F8797 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#2F8797 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8797
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8797#FFFFFF#000000##000000
##2F87971.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8298
Deuteranopia (green-blind)
#6B7797
Tritanopia (blue-blind)
#008E8C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2f8797;
/* rgb */ color: rgb(47, 135, 151);
/* oklch */ color: oklch(57.8% 0.085 212.0);
Tailwind
colors: {
  custom: {
    50: '#76aab5',
    500: '#2f8797',
    950: '#000000',
  },
}
SCSS
$custom: #2f8797;
$custom-light: #76aab5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8797",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 151
  },
  "hsl": {
    "h": 189.231,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.57838,
    "c": 0.08489,
    "h": 212
  },
  "luminance": 0.20167
}

Semantic roles & 50–950 ramp

primary
#2F8797
secondary
#B97568
accent
#624CDC
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#091011
muted
#7B7F80

Preview Lab

Preview with #2F8797

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

Preview Lab → · Contrast checker → · Palette generator →

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