#2F787F#2F787F

#2F787F is a mid, moderate teal. Relative luminance 0.156; OKLCH L 53.0% C 0.072 H 204.0°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#2F787F
RGBrgb(47, 120, 127)
HSLhsl(185, 46%, 34%)
HSVhsv(185, 63%, 50%)
CMYKcmyk(63%, 5.5%, 0%, 50.2%)
CIE-LABlab(46.40, -20.13, -10.58)
CIE-LCHlch(46.40, 22.74, 207.74°)
OKLaboklab(53.03% -0.0659 -0.0293)
OKLCHoklch(53.03% 0.072 204)
XYZxyz(11.7179, 15.5684, 22.4620)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F787F #7F362F
analogous
#2F7F5E #2F787F #2F507F
triadic
#2F787F #7F2F78 #787F2F
tetradic
#2F787F #5E2F7F #7F362F #507F2F
square
#2F787F #5E2F7F #7F362F #507F2F
split-complementary
#2F787F #7F2F50 #7F5E2F
monochromatic
#0E2426 #1E4E52 #2F787F #40A2AC #63BDC5

Accessibility & contrast

On white

5.10
#2F787F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#2F787F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F787F
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F787F#FFFFFF#000000##FFFFFF
##2F787F1.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F7380
Deuteranopia (green-blind)
#636A7F
Tritanopia (blue-blind)
#007D7A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f787f;
/* rgb */ color: rgb(47, 120, 127);
/* oklch */ color: oklch(53.0% 0.072 204.0);
Tailwind
colors: {
  custom: {
    50: '#719fa4',
    500: '#2f787f',
    950: '#000000',
  },
}
SCSS
$custom: #2f787f;
$custom-light: #719fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f787f",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 185.25,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.53026,
    "c": 0.07211,
    "h": 204
  },
  "luminance": 0.1557
}

Semantic roles & 50–950 ramp

primary
#2F787F
secondary
#AC645E
accent
#5E52D6
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #2F787F

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

Preview Lab → · Contrast checker → · Palette generator →

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