#2C7987#2C7987

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

Color values

HEX#2C7987
RGBrgb(44, 121, 135)
HSLhsl(189, 51%, 35%)
HSVhsv(189, 67%, 53%)
CMYKcmyk(67.4%, 10.4%, 0%, 47.1%)
CIE-LABlab(46.92, -18.66, -14.56)
CIE-LCHlch(46.92, 23.67, 217.96°)
OKLaboklab(53.51% -0.0652 -0.0404)
OKLCHoklch(53.51% 0.077 211.8)
XYZxyz(12.2474, 15.9582, 25.3517)
Luminance0.1596 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7987 #873A2C
analogous
#2C8768 #2C7987 #2C4B87
triadic
#2C7987 #872C79 #79872C
tetradic
#2C7987 #682C87 #873A2C #4B872C
square
#2C7987 #682C87 #873A2C #4B872C
split-complementary
#2C7987 #872C4B #87682C
monochromatic
#0E262B #1D5059 #2C7987 #3BA2B5 #62BBCC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C7987#FFFFFF#000000##FFFFFF
##2C79871.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)
#6E7588
Deuteranopia (green-blind)
#616B87
Tritanopia (blue-blind)
#007F7D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2c7987;
/* rgb */ color: rgb(44, 121, 135);
/* oklch */ color: oklch(53.5% 0.077 211.8);
Tailwind
colors: {
  custom: {
    50: '#71a0aa',
    500: '#2c7987',
    950: '#000000',
  },
}
SCSS
$custom: #2c7987;
$custom-light: #71a0aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7987",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 135
  },
  "hsl": {
    "h": 189.231,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.53511,
    "c": 0.07677,
    "h": 211.8
  },
  "luminance": 0.15959
}

Semantic roles & 50–950 ramp

primary
#2C7987
secondary
#B26A5D
accent
#634DDA
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #2C7987

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

Preview Lab → · Contrast checker → · Palette generator →

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