#2F787C#2F787C

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

Color values

HEX#2F787C
RGBrgb(47, 120, 124)
HSLhsl(183, 45%, 34%)
HSVhsv(183, 62%, 49%)
CMYKcmyk(62.1%, 3.2%, 0%, 51.4%)
CIE-LABlab(46.30, -21.05, -8.96)
CIE-LCHlch(46.30, 22.88, 203.04°)
OKLaboklab(52.91% -0.0673 -0.0248)
OKLCHoklch(52.91% 0.072 200.2)
XYZxyz(11.5253, 15.4913, 21.4476)
Luminance0.1549 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F787C #7C332F
analogous
#2F7C59 #2F787C #2F517C
triadic
#2F787C #7C2F78 #787C2F
tetradic
#2F787C #592F7C #7C332F #517C2F
square
#2F787C #592F7C #7C332F #517C2F
split-complementary
#2F787C #7C2F51 #7C592F
monochromatic
#0D2223 #1E4D50 #2F787C #40A3A8 #62BEC3

Accessibility & contrast

On white

5.12
#2F787C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#2F787C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F787C
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F787C#FFFFFF#000000##FFFFFF
##2F787C1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f787c;
/* rgb */ color: rgb(47, 120, 124);
/* oklch */ color: oklch(52.9% 0.072 200.2);
Tailwind
colors: {
  custom: {
    50: '#719fa1',
    500: '#2f787c',
    950: '#000000',
  },
}
SCSS
$custom: #2f787c;
$custom-light: #719fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f787c",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 124
  },
  "hsl": {
    "h": 183.117,
    "s": 45.029,
    "l": 33.529
  },
  "oklch": {
    "l": 0.52909,
    "c": 0.07168,
    "h": 200.2
  },
  "luminance": 0.15493
}

Semantic roles & 50–950 ramp

primary
#2F787C
secondary
#AA605C
accent
#5A53D5
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0F
muted
#7B7E7E

Preview Lab

Preview with #2F787C

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

Preview Lab → · Contrast checker → · Palette generator →

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