#2F7C8A#2F7C8A

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

Color values

HEX#2F7C8A
RGBrgb(47, 124, 138)
HSLhsl(189, 49%, 36%)
HSVhsv(189, 66%, 54%)
CMYKcmyk(65.9%, 10.1%, 0%, 45.9%)
CIE-LABlab(48.07, -18.80, -14.57)
CIE-LCHlch(48.07, 23.78, 217.78°)
OKLaboklab(54.5% -0.0656 -0.0404)
OKLCHoklch(54.5% 0.077 211.7)
XYZxyz(12.9655, 16.8532, 26.6095)
Luminance0.1686 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7C8A #8A3D2F
analogous
#2F8A6B #2F7C8A #2F4F8A
triadic
#2F7C8A #8A2F7C #7C8A2F
tetradic
#2F7C8A #6B2F8A #8A3D2F #4F8A2F
square
#2F7C8A #6B2F8A #8A3D2F #4F8A2F
split-complementary
#2F7C8A #8A2F4F #8A6B2F
monochromatic
#102A2F #1F535C #2F7C8A #3FA5B8 #68BCCC

Accessibility & contrast

On white

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

On black

4.37
#2F7C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2F7C8A#FFFFFF#000000##FFFFFF
##2F7C8A1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71788B
Deuteranopia (green-blind)
#636E8A
Tritanopia (blue-blind)
#008280
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f7c8a;
/* rgb */ color: rgb(47, 124, 138);
/* oklch */ color: oklch(54.5% 0.077 211.7);
Tailwind
colors: {
  custom: {
    50: '#73a2ac',
    500: '#2f7c8a',
    950: '#000000',
  },
}
SCSS
$custom: #2f7c8a;
$custom-light: #73a2ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7c8a",
  "rgb": {
    "r": 47,
    "g": 124,
    "b": 138
  },
  "hsl": {
    "h": 189.231,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.54502,
    "c": 0.07703,
    "h": 211.7
  },
  "luminance": 0.16855
}

Semantic roles & 50–950 ramp

primary
#2F7C8A
secondary
#B36F62
accent
#644FD9
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090F10
muted
#7B7E7F

Preview Lab

Preview with #2F7C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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