#2F7983#2F7983

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

Color values

HEX#2F7983
RGBrgb(47, 121, 131)
HSLhsl(187, 47%, 35%)
HSVhsv(187, 64%, 51%)
CMYKcmyk(64.1%, 7.6%, 0%, 48.6%)
CIE-LABlab(46.86, -19.41, -12.26)
CIE-LCHlch(46.86, 22.96, 212.28°)
OKLaboklab(53.45% -0.0652 -0.034)
OKLCHoklch(53.45% 0.074 207.5)
XYZxyz(12.1047, 15.9165, 23.9026)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7983 #83392F
analogous
#2F8363 #2F7983 #2F4F83
triadic
#2F7983 #832F79 #79832F
tetradic
#2F7983 #632F83 #83392F #4F832F
square
#2F7983 #632F83 #83392F #4F832F
split-complementary
#2F7983 #832F4F #83632F
monochromatic
#0F2629 #1F4F56 #2F7983 #3FA3B0 #65BCC8

Accessibility & contrast

On white

5.02
#2F7983 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F7983
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7983#FFFFFF#000000##FFFFFF
##2F79831.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F7484
Deuteranopia (green-blind)
#626B83
Tritanopia (blue-blind)
#007E7C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2f7983;
/* rgb */ color: rgb(47, 121, 131);
/* oklch */ color: oklch(53.4% 0.074 207.5);
Tailwind
colors: {
  custom: {
    50: '#72a0a7',
    500: '#2f7983',
    950: '#000000',
  },
}
SCSS
$custom: #2f7983;
$custom-light: #72a0a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7983",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 131
  },
  "hsl": {
    "h": 187.143,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.53445,
    "c": 0.07357,
    "h": 207.5
  },
  "luminance": 0.15918
}

Semantic roles & 50–950 ramp

primary
#2F7983
secondary
#AF695F
accent
#6151D7
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #2F7983

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

Preview Lab → · Contrast checker → · Palette generator →

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