#2F7986#2F7986

#2F7986 is a mid, moderate teal. Relative luminance 0.160; OKLCH L 53.6% C 0.075 H 211.1°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#2F7986
RGBrgb(47, 121, 134)
HSLhsl(189, 48%, 35%)
HSVhsv(189, 65%, 53%)
CMYKcmyk(64.9%, 9.7%, 0%, 47.5%)
CIE-LABlab(46.97, -18.45, -13.88)
CIE-LCHlch(46.97, 23.09, 216.94°)
OKLaboklab(53.57% -0.0639 -0.0385)
OKLCHoklch(53.57% 0.075 211.1)
XYZxyz(12.3110, 15.9990, 24.9889)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7986 #863C2F
analogous
#2F8668 #2F7986 #2F4D86
triadic
#2F7986 #862F79 #79862F
tetradic
#2F7986 #682F86 #863C2F #4D862F
square
#2F7986 #682F86 #863C2F #4D862F
split-complementary
#2F7986 #862F4D #86682F
monochromatic
#0F272B #1F5059 #2F7986 #3FA2B3 #66BBC9

Accessibility & contrast

On white

5.00
#2F7986 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#2F7986 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7986
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7986#FFFFFF#000000##FFFFFF
##2F79861.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E7587
Deuteranopia (green-blind)
#616B86
Tritanopia (blue-blind)
#007F7D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2f7986;
/* rgb */ color: rgb(47, 121, 134);
/* oklch */ color: oklch(53.6% 0.075 211.1);
Tailwind
colors: {
  custom: {
    50: '#72a0a9',
    500: '#2f7986',
    950: '#000000',
  },
}
SCSS
$custom: #2f7986;
$custom-light: #72a0a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7986",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 134
  },
  "hsl": {
    "h": 188.966,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.53568,
    "c": 0.07463,
    "h": 211.1
  },
  "luminance": 0.16
}

Semantic roles & 50–950 ramp

primary
#2F7986
secondary
#B06C60
accent
#6450D8
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E0F
muted
#7B7E7F

Preview Lab

Preview with #2F7986

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

Preview Lab → · Contrast checker → · Palette generator →

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