#2F787B#2F787B

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

Color values

HEX#2F787B
RGBrgb(47, 120, 123)
HSLhsl(182, 45%, 33%)
HSVhsv(182, 62%, 48%)
CMYKcmyk(61.8%, 2.4%, 0%, 51.8%)
CIE-LABlab(46.27, -21.36, -8.41)
CIE-LCHlch(46.27, 22.96, 201.49°)
OKLaboklab(52.87% -0.0677 -0.0233)
OKLCHoklch(52.87% 0.072 199)
XYZxyz(11.4624, 15.4662, 21.1162)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F787B #7B322F
analogous
#2F7B58 #2F787B #2F527B
triadic
#2F787B #7B2F78 #787B2F
tetradic
#2F787B #582F7B #7B322F #527B2F
square
#2F787B #582F7B #7B322F #527B2F
split-complementary
#2F787B #7B2F52 #7B582F
monochromatic
#0D2222 #1E4D4F #2F787B #40A3A7 #62BFC3

Accessibility & contrast

On white

5.13
#2F787B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F787B
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F787B#FFFFFF#000000##FFFFFF
##2F787B1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70737B
Deuteranopia (green-blind)
#646A7B
Tritanopia (blue-blind)
#007C79
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f787b;
/* rgb */ color: rgb(47, 120, 123);
/* oklch */ color: oklch(52.9% 0.072 199.0);
Tailwind
colors: {
  custom: {
    50: '#719fa1',
    500: '#2f787b',
    950: '#000000',
  },
}
SCSS
$custom: #2f787b;
$custom-light: #719fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f787b",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 123
  },
  "hsl": {
    "h": 182.368,
    "s": 44.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5287,
    "c": 0.07161,
    "h": 199
  },
  "luminance": 0.15467
}

Semantic roles & 50–950 ramp

primary
#2F787B
secondary
#AA5F5C
accent
#5853D4
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #2F787B

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

Preview Lab → · Contrast checker → · Palette generator →

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