#2F7C86#2F7C86

#2F7C86 is a mid, moderate teal. Relative luminance 0.167; OKLCH L 54.3% C 0.076 H 207.1°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2F7C86
RGBrgb(47, 124, 134)
HSLhsl(187, 48%, 35%)
HSVhsv(187, 65%, 53%)
CMYKcmyk(64.9%, 7.5%, 0%, 47.5%)
CIE-LABlab(47.93, -20.07, -12.43)
CIE-LCHlch(47.93, 23.60, 211.77°)
OKLaboklab(54.34% -0.0673 -0.0344)
OKLCHoklch(54.34% 0.076 207.1)
XYZxyz(12.6812, 16.7395, 25.1124)
Luminance0.1674 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7C86 #86392F
analogous
#2F8665 #2F7C86 #2F5086
triadic
#2F7C86 #862F7C #7C862F
tetradic
#2F7C86 #652F86 #86392F #50862F
square
#2F7C86 #652F86 #86392F #50862F
split-complementary
#2F7C86 #862F50 #86652F
monochromatic
#0F282B #1F5259 #2F7C86 #3FA6B3 #66BEC9

Accessibility & contrast

On white

4.83
#2F7C86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#2F7C86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7C86
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7C86#FFFFFF#000000##FFFFFF
##2F7C861.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#727787
Deuteranopia (green-blind)
#656E86
Tritanopia (blue-blind)
#00817F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f7c86;
/* rgb */ color: rgb(47, 124, 134);
/* oklch */ color: oklch(54.3% 0.076 207.1);
Tailwind
colors: {
  custom: {
    50: '#73a2a9',
    500: '#2f7c86',
    950: '#000000',
  },
}
SCSS
$custom: #2f7c86;
$custom-light: #73a2a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7c86",
  "rgb": {
    "r": 47,
    "g": 124,
    "b": 134
  },
  "hsl": {
    "h": 186.897,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.54338,
    "c": 0.07561,
    "h": 207.1
  },
  "luminance": 0.16741
}

Semantic roles & 50–950 ramp

primary
#2F7C86
secondary
#B06A60
accent
#6050D8
background
#F7FAFA
surface
#EDF3F4
border
#C8CDCE
text
#090F0F
muted
#7B7F7F

Preview Lab

Preview with #2F7C86

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

Preview Lab → · Contrast checker → · Palette generator →

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