#2F7C8B#2F7C8B

#2F7C8B is a mid, moderate teal. Relative luminance 0.169; OKLCH L 54.5% C 0.077 H 212.8°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#2F7C8B
RGBrgb(47, 124, 139)
HSLhsl(190, 49%, 36%)
HSVhsv(190, 66%, 55%)
CMYKcmyk(66.2%, 10.8%, 0%, 45.5%)
CIE-LABlab(48.11, -18.47, -15.10)
CIE-LCHlch(48.11, 23.86, 219.26°)
OKLaboklab(54.54% -0.0651 -0.0419)
OKLCHoklch(54.54% 0.077 212.8)
XYZxyz(13.0382, 16.8823, 26.9926)
Luminance0.1688 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7C8B #8B3E2F
analogous
#2F8B6C #2F7C8B #2F4E8B
triadic
#2F7C8B #8B2F7C #7C8B2F
tetradic
#2F7C8B #6C2F8B #8B3E2F #4E8B2F
square
#2F7C8B #6C2F8B #8B3E2F #4E8B2F
split-complementary
#2F7C8B #8B2F4E #8B6C2F
monochromatic
#102A30 #20535D #2F7C8B #3EA5B9 #68BCCC

Accessibility & contrast

On white

4.80
#2F7C8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#2F7C8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7C8B
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7C8B#FFFFFF#000000##FFFFFF
##2F7C8B1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71788C
Deuteranopia (green-blind)
#636E8B
Tritanopia (blue-blind)
#008281
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f7c8b;
/* rgb */ color: rgb(47, 124, 139);
/* oklch */ color: oklch(54.5% 0.077 212.8);
Tailwind
colors: {
  custom: {
    50: '#73a2ac',
    500: '#2f7c8b',
    950: '#000000',
  },
}
SCSS
$custom: #2f7c8b;
$custom-light: #73a2ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7c8b",
  "rgb": {
    "r": 47,
    "g": 124,
    "b": 139
  },
  "hsl": {
    "h": 189.783,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.54544,
    "c": 0.07747,
    "h": 212.8
  },
  "luminance": 0.16884
}

Semantic roles & 50–950 ramp

primary
#2F7C8B
secondary
#B37063
accent
#654FD9
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090F10
muted
#7B7E7F

Preview Lab

Preview with #2F7C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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