#2F7873#2F7873

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

Color values

HEX#2F7873
RGBrgb(47, 120, 115)
HSLhsl(176, 44%, 33%)
HSVhsv(176, 61%, 47%)
CMYKcmyk(60.8%, 0%, 4.2%, 52.9%)
CIE-LABlab(46.01, -23.74, -4.04)
CIE-LCHlch(46.01, 24.08, 189.64°)
OKLaboklab(52.58% -0.0715 -0.0113)
OKLCHoklch(52.58% 0.072 189)
XYZxyz(10.9819, 15.2740, 18.5858)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7873 #782F34
analogous
#2F784E #2F7873 #2F5978
triadic
#2F7873 #732F78 #78732F
tetradic
#2F7873 #4E2F78 #782F34 #59782F
square
#2F7873 #4E2F78 #782F34 #59782F
split-complementary
#2F7873 #782F59 #784E2F
monochromatic
#0D201F #1E4C49 #2F7873 #40A49D #60C1BA

Accessibility & contrast

On white

5.18
#2F7873 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#2F7873 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7873
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7873#FFFFFF#000000##FFFFFF
##2F78731.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#727273
Deuteranopia (green-blind)
#666974
Tritanopia (blue-blind)
#007B76
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f7873;
/* rgb */ color: rgb(47, 120, 115);
/* oklch */ color: oklch(52.6% 0.072 189.0);
Tailwind
colors: {
  custom: {
    50: '#709f9b',
    500: '#2f7873',
    950: '#000000',
  },
}
SCSS
$custom: #2f7873;
$custom-light: #709f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7873",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 115
  },
  "hsl": {
    "h": 175.89,
    "s": 43.713,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52575,
    "c": 0.07237,
    "h": 189
  },
  "luminance": 0.15275
}

Semantic roles & 50–950 ramp

primary
#2F7873
secondary
#A85B60
accent
#545DD3
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #2F7873

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

Preview Lab → · Contrast checker → · Palette generator →

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