#2F787E#2F787E

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

Color values

HEX#2F787E
RGBrgb(47, 120, 126)
HSLhsl(185, 46%, 34%)
HSVhsv(185, 63%, 49%)
CMYKcmyk(62.7%, 4.8%, 0%, 50.6%)
CIE-LABlab(46.37, -20.44, -10.04)
CIE-LCHlch(46.37, 22.77, 206.17°)
OKLaboklab(52.99% -0.0664 -0.0278)
OKLCHoklch(52.99% 0.072 202.7)
XYZxyz(11.6531, 15.5424, 22.1205)
Luminance0.1554 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F787E #7E352F
analogous
#2F7E5D #2F787E #2F517E
triadic
#2F787E #7E2F78 #787E2F
tetradic
#2F787E #5D2F7E #7E352F #517E2F
square
#2F787E #5D2F7E #7E352F #517E2F
split-complementary
#2F787E #7E2F51 #7E5D2F
monochromatic
#0E2325 #1E4E51 #2F787E #40A2AB #63BDC5

Accessibility & contrast

On white

5.11
#2F787E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F787E
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F787E#FFFFFF#000000##FFFFFF
##2F787E1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f787e;
/* rgb */ color: rgb(47, 120, 126);
/* oklch */ color: oklch(53.0% 0.072 202.7);
Tailwind
colors: {
  custom: {
    50: '#719fa3',
    500: '#2f787e',
    950: '#000000',
  },
}
SCSS
$custom: #2f787e;
$custom-light: #719fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f787e",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 126
  },
  "hsl": {
    "h": 184.557,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.52986,
    "c": 0.07194,
    "h": 202.7
  },
  "luminance": 0.15544
}

Semantic roles & 50–950 ramp

primary
#2F787E
secondary
#AC635D
accent
#5C52D5
background
#F7F9FA
surface
#EDF2F3
border
#C8CCCD
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #2F787E

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

Preview Lab → · Contrast checker → · Palette generator →

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