#2F7E84#2F7E84

#2F7E84 is a mid, moderate teal. Relative luminance 0.172; OKLCH L 54.8% C 0.076 H 202.2°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#2F7E84
RGBrgb(47, 126, 132)
HSLhsl(184, 47%, 35%)
HSVhsv(184, 64%, 52%)
CMYKcmyk(64.4%, 4.5%, 0%, 48.2%)
CIE-LABlab(48.50, -21.75, -10.39)
CIE-LCHlch(48.50, 24.11, 205.53°)
OKLaboklab(54.77% -0.0704 -0.0288)
OKLCHoklch(54.77% 0.076 202.2)
XYZxyz(12.7962, 17.1906, 24.4691)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7E84 #84352F
analogous
#2F845F #2F7E84 #2F5484
triadic
#2F7E84 #842F7E #7E842F
tetradic
#2F7E84 #5F2F84 #84352F #54842F
square
#2F7E84 #5F2F84 #84352F #54842F
split-complementary
#2F7E84 #842F54 #845F2F
monochromatic
#0F282A #1F5357 #2F7E84 #3FA9B1 #65C1C8

Accessibility & contrast

On white

4.73
#2F7E84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#2F7E84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7E84
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7E84#FFFFFF#000000##FFFFFF
##2F7E841.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#757984
Deuteranopia (green-blind)
#686F84
Tritanopia (blue-blind)
#008380
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f7e84;
/* rgb */ color: rgb(47, 126, 132);
/* oklch */ color: oklch(54.8% 0.076 202.2);
Tailwind
colors: {
  custom: {
    50: '#73a3a7',
    500: '#2f7e84',
    950: '#000000',
  },
}
SCSS
$custom: #2f7e84;
$custom-light: #73a3a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7e84",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 132
  },
  "hsl": {
    "h": 184.235,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.54774,
    "c": 0.0761,
    "h": 202.2
  },
  "luminance": 0.17192
}

Semantic roles & 50–950 ramp

primary
#2F7E84
secondary
#AF6560
accent
#5A51D7
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#090F0F
muted
#7B7F7F

Preview Lab

Preview with #2F7E84

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

Preview Lab → · Contrast checker → · Palette generator →

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