#2C7B87#2C7B87

#2C7B87 is a mid, moderate teal. Relative luminance 0.165; OKLCH L 54.0% C 0.077 H 209.2°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#2C7B87
RGBrgb(44, 123, 135)
HSLhsl(188, 51%, 35%)
HSVhsv(188, 67%, 53%)
CMYKcmyk(67.4%, 8.9%, 0%, 47.1%)
CIE-LABlab(47.56, -19.74, -13.59)
CIE-LCHlch(47.56, 23.96, 214.55°)
OKLaboklab(54.03% -0.0675 -0.0377)
OKLCHoklch(54.03% 0.077 209.2)
XYZxyz(12.4930, 16.4493, 25.4336)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7B87 #87382C
analogous
#2C8765 #2C7B87 #2C4E87
triadic
#2C7B87 #872C7B #7B872C
tetradic
#2C7B87 #652C87 #87382C #4E872C
square
#2C7B87 #652C87 #87382C #4E872C
split-complementary
#2C7B87 #872C4E #87652C
monochromatic
#0E272B #1D5159 #2C7B87 #3BA5B5 #62BECC

Accessibility & contrast

On white

4.89
#2C7B87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#2C7B87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7B87
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7B87#FFFFFF#000000##FFFFFF
##2C7B871.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#707688
Deuteranopia (green-blind)
#636D87
Tritanopia (blue-blind)
#00817F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2c7b87;
/* rgb */ color: rgb(44, 123, 135);
/* oklch */ color: oklch(54.0% 0.077 209.2);
Tailwind
colors: {
  custom: {
    50: '#71a1aa',
    500: '#2c7b87',
    950: '#000000',
  },
}
SCSS
$custom: #2c7b87;
$custom-light: #71a1aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7b87",
  "rgb": {
    "r": 44,
    "g": 123,
    "b": 135
  },
  "hsl": {
    "h": 187.912,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.54026,
    "c": 0.07729,
    "h": 209.2
  },
  "luminance": 0.16451
}

Semantic roles & 50–950 ramp

primary
#2C7B87
secondary
#B2685D
accent
#604DDA
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090F10
muted
#7B7E7F

Preview Lab

Preview with #2C7B87

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

Preview Lab → · Contrast checker → · Palette generator →

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