#2F7984#2F7984

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

Color values

HEX#2F7984
RGBrgb(47, 121, 132)
HSLhsl(188, 47%, 35%)
HSVhsv(188, 64%, 52%)
CMYKcmyk(64.4%, 8.3%, 0%, 48.2%)
CIE-LABlab(46.90, -19.09, -12.80)
CIE-LCHlch(46.90, 22.99, 213.84°)
OKLaboklab(53.49% -0.0648 -0.0355)
OKLCHoklch(53.49% 0.074 208.7)
XYZxyz(12.1728, 15.9437, 24.2613)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7984 #843A2F
analogous
#2F8465 #2F7984 #2F4E84
triadic
#2F7984 #842F79 #79842F
tetradic
#2F7984 #652F84 #843A2F #4E842F
square
#2F7984 #652F84 #843A2F #4E842F
split-complementary
#2F7984 #842F4E #84652F
monochromatic
#0F262A #1F5057 #2F7984 #3FA2B1 #65BBC8

Accessibility & contrast

On white

5.01
#2F7984 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#2F7984 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7984
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7984#FFFFFF#000000##FFFFFF
##2F79841.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f7984;
/* rgb */ color: rgb(47, 121, 132);
/* oklch */ color: oklch(53.5% 0.074 208.7);
Tailwind
colors: {
  custom: {
    50: '#72a0a7',
    500: '#2f7984',
    950: '#000000',
  },
}
SCSS
$custom: #2f7984;
$custom-light: #72a0a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7984",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 132
  },
  "hsl": {
    "h": 187.765,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.53485,
    "c": 0.07389,
    "h": 208.7
  },
  "luminance": 0.15945
}

Semantic roles & 50–950 ramp

primary
#2F7984
secondary
#AF6A60
accent
#6251D7
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E0F
muted
#7B7E7F

Preview Lab

Preview with #2F7984

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

Preview Lab → · Contrast checker → · Palette generator →

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