#2F8788#2F8788

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

Color values

HEX#2F8788
RGBrgb(47, 135, 136)
HSLhsl(181, 49%, 36%)
HSVhsv(181, 65%, 53%)
CMYKcmyk(65.4%, 0.7%, 0%, 46.7%)
CIE-LABlab(51.51, -25.18, -8.23)
CIE-LCHlch(51.51, 26.49, 198.10°)
OKLaboklab(57.25% -0.0786 -0.0228)
OKLCHoklch(57.25% 0.082 196.2)
XYZxyz(14.2782, 19.7083, 26.3394)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8788 #88302F
analogous
#2F885C #2F8788 #2F5A88
triadic
#2F8788 #882F87 #87882F
tetradic
#2F8788 #5C2F88 #88302F #5A882F
square
#2F8788 #5C2F88 #88302F #5A882F
split-complementary
#2F8788 #882F5A #885C2F
monochromatic
#102D2D #1F5A5B #2F8788 #3FB4B5 #67C9CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8788#FFFFFF#000000##000000
##2F87881.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)
#7E8188
Deuteranopia (green-blind)
#707689
Tritanopia (blue-blind)
#008B87
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2f8788;
/* rgb */ color: rgb(47, 135, 136);
/* oklch */ color: oklch(57.2% 0.082 196.2);
Tailwind
colors: {
  custom: {
    50: '#74aaaa',
    500: '#2f8788',
    950: '#000000',
  },
}
SCSS
$custom: #2f8788;
$custom-light: #74aaaa;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8788",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 136
  },
  "hsl": {
    "h": 180.674,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.57248,
    "c": 0.08188,
    "h": 196.2
  },
  "luminance": 0.1971
}

Semantic roles & 50–950 ramp

primary
#2F8788
secondary
#B16261
accent
#5150D8
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#091010
muted
#7B7F7F

Preview Lab

Preview with #2F8788

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

Preview Lab → · Contrast checker → · Palette generator →

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