#2C7A87#2C7A87

#2C7A87 is a mid, moderate teal. Relative luminance 0.162; OKLCH L 53.8% C 0.077 H 210.5°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#2C7A87
RGBrgb(44, 122, 135)
HSLhsl(189, 51%, 35%)
HSVhsv(189, 67%, 53%)
CMYKcmyk(67.4%, 9.6%, 0%, 47.1%)
CIE-LABlab(47.24, -19.20, -14.07)
CIE-LCHlch(47.24, 23.81, 216.24°)
OKLaboklab(53.77% -0.0664 -0.0391)
OKLCHoklch(53.77% 0.077 210.5)
XYZxyz(12.3696, 16.2025, 25.3925)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7A87 #87392C
analogous
#2C8766 #2C7A87 #2C4D87
triadic
#2C7A87 #872C7A #7A872C
tetradic
#2C7A87 #662C87 #87392C #4D872C
square
#2C7A87 #662C87 #87392C #4D872C
split-complementary
#2C7A87 #872C4D #87662C
monochromatic
#0E272B #1D5059 #2C7A87 #3BA4B5 #62BDCC

Accessibility & contrast

On white

4.95
#2C7A87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#2C7A87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7A87
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7A87#FFFFFF#000000##FFFFFF
##2C7A871.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F7688
Deuteranopia (green-blind)
#626C87
Tritanopia (blue-blind)
#00807E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2c7a87;
/* rgb */ color: rgb(44, 122, 135);
/* oklch */ color: oklch(53.8% 0.077 210.5);
Tailwind
colors: {
  custom: {
    50: '#71a0aa',
    500: '#2c7a87',
    950: '#000000',
  },
}
SCSS
$custom: #2c7a87;
$custom-light: #71a0aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7a87",
  "rgb": {
    "r": 44,
    "g": 122,
    "b": 135
  },
  "hsl": {
    "h": 188.571,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.53769,
    "c": 0.07701,
    "h": 210.5
  },
  "luminance": 0.16204
}

Semantic roles & 50–950 ramp

primary
#2C7A87
secondary
#B2695D
accent
#624DDA
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #2C7A87

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

Preview Lab → · Contrast checker → · Palette generator →

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