#2F787A#2F787A

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

Color values

HEX#2F787A
RGBrgb(47, 120, 122)
HSLhsl(182, 44%, 33%)
HSVhsv(182, 61%, 48%)
CMYKcmyk(61.5%, 1.6%, 0%, 52.2%)
CIE-LABlab(46.23, -21.66, -7.87)
CIE-LCHlch(46.23, 23.05, 199.96°)
OKLaboklab(52.83% -0.0682 -0.0218)
OKLCHoklch(52.83% 0.072 197.7)
XYZxyz(11.4001, 15.4412, 20.7882)
Luminance0.1544 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F787A #7A312F
analogous
#2F7A56 #2F787A #2F527A
triadic
#2F787A #7A2F78 #787A2F
tetradic
#2F787A #562F7A #7A312F #527A2F
square
#2F787A #562F7A #7A312F #527A2F
split-complementary
#2F787A #7A2F52 #7A562F
monochromatic
#0D2122 #1E4D4E #2F787A #40A3A6 #61C0C2

Accessibility & contrast

On white

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

On black

4.09
#2F787A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2F787A#FFFFFF#000000##FFFFFF
##2F787A1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70737A
Deuteranopia (green-blind)
#646A7A
Tritanopia (blue-blind)
#007C78
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f787a;
/* rgb */ color: rgb(47, 120, 122);
/* oklch */ color: oklch(52.8% 0.072 197.7);
Tailwind
colors: {
  custom: {
    50: '#719fa0',
    500: '#2f787a',
    950: '#000000',
  },
}
SCSS
$custom: #2f787a;
$custom-light: #719fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f787a",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 122
  },
  "hsl": {
    "h": 181.6,
    "s": 44.379,
    "l": 33.137
  },
  "oklch": {
    "l": 0.52832,
    "c": 0.07157,
    "h": 197.7
  },
  "luminance": 0.15442
}

Semantic roles & 50–950 ramp

primary
#2F787A
secondary
#A95E5C
accent
#5754D4
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #2F787A

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

Preview Lab → · Contrast checker → · Palette generator →

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