#2F7F8E#2F7F8E

#2F7F8E is a mid, moderate teal. Relative luminance 0.177; OKLCH L 55.4% C 0.079 H 212.3°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#2F7F8E
RGBrgb(47, 127, 142)
HSLhsl(189, 50%, 37%)
HSVhsv(189, 67%, 56%)
CMYKcmyk(66.9%, 10.6%, 0%, 44.3%)
CIE-LABlab(49.17, -19.13, -15.25)
CIE-LCHlch(49.17, 24.47, 218.57°)
OKLaboklab(55.43% -0.0672 -0.0424)
OKLCHoklch(55.43% 0.079 212.3)
XYZxyz(13.6421, 17.7346, 28.2901)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7F8E #8E3E2F
analogous
#2F8E6E #2F7F8E #2F4F8E
triadic
#2F7F8E #8E2F7F #7F8E2F
tetradic
#2F7F8E #6E2F8E #8E3E2F #4F8E2F
square
#2F7F8E #6E2F8E #8E3E2F #4F8E2F
split-complementary
#2F7F8E #8E2F4F #8E6E2F
monochromatic
#112D32 #205660 #2F7F8E #3EA8BC #6ABECE

Accessibility & contrast

On white

4.62
#2F7F8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#2F7F8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7F8E
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7F8E#FFFFFF#000000##FFFFFF
##2F7F8E1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#737B8F
Deuteranopia (green-blind)
#65708E
Tritanopia (blue-blind)
#008584
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f7f8e;
/* rgb */ color: rgb(47, 127, 142);
/* oklch */ color: oklch(55.4% 0.079 212.3);
Tailwind
colors: {
  custom: {
    50: '#74a4af',
    500: '#2f7f8e',
    950: '#000000',
  },
}
SCSS
$custom: #2f7f8e;
$custom-light: #74a4af;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7f8e",
  "rgb": {
    "r": 47,
    "g": 127,
    "b": 142
  },
  "hsl": {
    "h": 189.474,
    "s": 50.265,
    "l": 37.059
  },
  "oklch": {
    "l": 0.55434,
    "c": 0.07941,
    "h": 212.3
  },
  "luminance": 0.17736
}

Semantic roles & 50–950 ramp

primary
#2F7F8E
secondary
#B57164
accent
#644EDA
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #2F7F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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