#2F7982#2F7982

#2F7982 is a mid, moderate teal. Relative luminance 0.159; OKLCH L 53.4% C 0.073 H 206.3°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#2F7982
RGBrgb(47, 121, 130)
HSLhsl(187, 47%, 35%)
HSVhsv(187, 64%, 51%)
CMYKcmyk(63.8%, 6.9%, 0%, 49%)
CIE-LABlab(46.83, -19.72, -11.72)
CIE-LCHlch(46.83, 22.94, 210.72°)
OKLaboklab(53.4% -0.0657 -0.0325)
OKLCHoklch(53.4% 0.073 206.3)
XYZxyz(12.0372, 15.8895, 23.5474)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7982 #82382F
analogous
#2F8262 #2F7982 #2F5082
triadic
#2F7982 #822F79 #79822F
tetradic
#2F7982 #622F82 #82382F #50822F
square
#2F7982 #622F82 #82382F #50822F
split-complementary
#2F7982 #822F50 #82622F
monochromatic
#0E2528 #1F4F55 #2F7982 #3FA3AF #64BCC7

Accessibility & contrast

On white

5.03
#2F7982 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#2F7982 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7982
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7982#FFFFFF#000000##FFFFFF
##2F79821.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F7483
Deuteranopia (green-blind)
#636B82
Tritanopia (blue-blind)
#007E7C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2f7982;
/* rgb */ color: rgb(47, 121, 130);
/* oklch */ color: oklch(53.4% 0.073 206.3);
Tailwind
colors: {
  custom: {
    50: '#72a0a6',
    500: '#2f7982',
    950: '#000000',
  },
}
SCSS
$custom: #2f7982;
$custom-light: #72a0a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7982",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 130
  },
  "hsl": {
    "h": 186.506,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.53404,
    "c": 0.07328,
    "h": 206.3
  },
  "luminance": 0.15891
}

Semantic roles & 50–950 ramp

primary
#2F7982
secondary
#AE675F
accent
#6051D7
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #2F7982

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

Preview Lab → · Contrast checker → · Palette generator →

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