#2F7879#2F7879

#2F7879 is a mid, moderate teal. Relative luminance 0.154; OKLCH L 52.8% C 0.072 H 196.5°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#2F7879
RGBrgb(47, 120, 121)
HSLhsl(181, 44%, 33%)
HSVhsv(181, 61%, 47%)
CMYKcmyk(61.2%, 0.8%, 0%, 52.5%)
CIE-LABlab(46.20, -21.97, -7.32)
CIE-LCHlch(46.20, 23.15, 198.43°)
OKLaboklab(52.79% -0.0686 -0.0203)
OKLCHoklch(52.79% 0.072 196.5)
XYZxyz(11.3385, 15.4166, 20.4636)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7879 #79302F
analogous
#2F7955 #2F7879 #2F5379
triadic
#2F7879 #792F78 #78792F
tetradic
#2F7879 #552F79 #79302F #53792F
square
#2F7879 #552F79 #79302F #53792F
split-complementary
#2F7879 #792F53 #79552F
monochromatic
#0D2121 #1E4C4D #2F7879 #40A4A5 #61C0C2

Accessibility & contrast

On white

5.14
#2F7879 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#2F7879 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7879
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7879#FFFFFF#000000##FFFFFF
##2F78791.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#707379
Deuteranopia (green-blind)
#646A7A
Tritanopia (blue-blind)
#007C78
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f7879;
/* rgb */ color: rgb(47, 120, 121);
/* oklch */ color: oklch(52.8% 0.072 196.5);
Tailwind
colors: {
  custom: {
    50: '#719f9f',
    500: '#2f7879',
    950: '#000000',
  },
}
SCSS
$custom: #2f7879;
$custom-light: #719f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7879",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 121
  },
  "hsl": {
    "h": 180.811,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52794,
    "c": 0.07158,
    "h": 196.5
  },
  "luminance": 0.15418
}

Semantic roles & 50–950 ramp

primary
#2F7879
secondary
#A85C5B
accent
#5654D4
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #2F7879

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

Preview Lab → · Contrast checker → · Palette generator →

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