#2C7986#2C7986

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

Color values

HEX#2C7986
RGBrgb(44, 121, 134)
HSLhsl(189, 51%, 35%)
HSVhsv(189, 67%, 53%)
CMYKcmyk(67.2%, 9.7%, 0%, 47.5%)
CIE-LABlab(46.88, -18.98, -14.02)
CIE-LCHlch(46.88, 23.60, 216.45°)
OKLaboklab(53.47% -0.0657 -0.0389)
OKLCHoklch(53.47% 0.076 210.7)
XYZxyz(12.1773, 15.9301, 24.9827)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7986 #86392C
analogous
#2C8666 #2C7986 #2C4C86
triadic
#2C7986 #862C79 #79862C
tetradic
#2C7986 #662C86 #86392C #4C862C
square
#2C7986 #662C86 #86392C #4C862C
split-complementary
#2C7986 #862C4C #86662C
monochromatic
#0E262A #1D4F58 #2C7986 #3BA3B4 #61BCCB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C7986#FFFFFF#000000##FFFFFF
##2C79861.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.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: #2c7986;
/* rgb */ color: rgb(44, 121, 134);
/* oklch */ color: oklch(53.5% 0.076 210.7);
Tailwind
colors: {
  custom: {
    50: '#71a0a9',
    500: '#2c7986',
    950: '#000000',
  },
}
SCSS
$custom: #2c7986;
$custom-light: #71a0a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7986",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 134
  },
  "hsl": {
    "h": 188.667,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.5347,
    "c": 0.07635,
    "h": 210.7
  },
  "luminance": 0.15931
}

Semantic roles & 50–950 ramp

primary
#2C7986
secondary
#B1695C
accent
#624EDA
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #2C7986

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

Preview Lab → · Contrast checker → · Palette generator →

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