#2F7B84#2F7B84

#2F7B84 is a mid, moderate teal. Relative luminance 0.164; OKLCH L 54.0% C 0.075 H 206.1°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#2F7B84
RGBrgb(47, 123, 132)
HSLhsl(186, 47%, 35%)
HSVhsv(186, 64%, 52%)
CMYKcmyk(64.4%, 6.8%, 0%, 48.2%)
CIE-LABlab(47.54, -20.16, -11.83)
CIE-LCHlch(47.54, 23.38, 210.41°)
OKLaboklab(54% -0.0671 -0.0328)
OKLCHoklch(54% 0.075 206.1)
XYZxyz(12.4184, 16.4349, 24.3431)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7B84 #84382F
analogous
#2F8462 #2F7B84 #2F5084
triadic
#2F7B84 #842F7B #7B842F
tetradic
#2F7B84 #622F84 #84382F #50842F
square
#2F7B84 #622F84 #84382F #50842F
split-complementary
#2F7B84 #842F50 #84622F
monochromatic
#0F272A #1F5157 #2F7B84 #3FA5B1 #65BEC8

Accessibility & contrast

On white

4.90
#2F7B84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#2F7B84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7B84
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7B84#FFFFFF#000000##FFFFFF
##2F7B841.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#717685
Deuteranopia (green-blind)
#646D84
Tritanopia (blue-blind)
#00807E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f7b84;
/* rgb */ color: rgb(47, 123, 132);
/* oklch */ color: oklch(54.0% 0.075 206.1);
Tailwind
colors: {
  custom: {
    50: '#72a1a7',
    500: '#2f7b84',
    950: '#000000',
  },
}
SCSS
$custom: #2f7b84;
$custom-light: #72a1a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7b84",
  "rgb": {
    "r": 47,
    "g": 123,
    "b": 132
  },
  "hsl": {
    "h": 186.353,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.54,
    "c": 0.07466,
    "h": 206.1
  },
  "luminance": 0.16436
}

Semantic roles & 50–950 ramp

primary
#2F7B84
secondary
#AF6860
accent
#5F51D7
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090F0F
muted
#7B7E7F

Preview Lab

Preview with #2F7B84

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

Preview Lab → · Contrast checker → · Palette generator →

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