#2F7876#2F7876

#2F7876 is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.7% C 0.072 H 192.7°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#2F7876
RGBrgb(47, 120, 118)
HSLhsl(178, 44%, 33%)
HSVhsv(178, 61%, 47%)
CMYKcmyk(60.8%, 0%, 1.7%, 52.9%)
CIE-LABlab(46.10, -22.86, -5.68)
CIE-LCHlch(46.10, 23.56, 193.95°)
OKLaboklab(52.68% -0.07 -0.0158)
OKLCHoklch(52.68% 0.072 192.7)
XYZxyz(11.1574, 15.3441, 19.5097)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7876 #782F31
analogous
#2F7851 #2F7876 #2F5578
triadic
#2F7876 #762F78 #78762F
tetradic
#2F7876 #512F78 #782F31 #55782F
square
#2F7876 #512F78 #782F31 #55782F
split-complementary
#2F7876 #782F55 #78512F
monochromatic
#0D2020 #1E4C4B #2F7876 #40A4A1 #60C1BE

Accessibility & contrast

On white

5.16
#2F7876 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#2F7876 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7876
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7876#FFFFFF#000000##FFFFFF
##2F78761.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#717276
Deuteranopia (green-blind)
#656A77
Tritanopia (blue-blind)
#007B77
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f7876;
/* rgb */ color: rgb(47, 120, 118);
/* oklch */ color: oklch(52.7% 0.072 192.7);
Tailwind
colors: {
  custom: {
    50: '#719f9d',
    500: '#2f7876',
    950: '#000000',
  },
}
SCSS
$custom: #2f7876;
$custom-light: #719f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7876",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 118
  },
  "hsl": {
    "h": 178.356,
    "s": 43.713,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52683,
    "c": 0.07181,
    "h": 192.7
  },
  "luminance": 0.15345
}

Semantic roles & 50–950 ramp

primary
#2F7876
secondary
#A85B5D
accent
#5458D3
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #2F7876

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

Preview Lab → · Contrast checker → · Palette generator →

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