#2C7787#2C7787

#2C7787 is a mid, moderate cyan. Relative luminance 0.155; OKLCH L 53.0% C 0.076 H 214.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#2C7787
RGBrgb(44, 119, 135)
HSLhsl(191, 51%, 35%)
HSVhsv(191, 67%, 53%)
CMYKcmyk(67.4%, 11.9%, 0%, 47.1%)
CIE-LABlab(46.28, -17.57, -15.53)
CIE-LCHlch(46.28, 23.45, 221.47°)
OKLaboklab(53% -0.063 -0.0432)
OKLCHoklch(53% 0.076 214.4)
XYZxyz(12.0069, 15.4771, 25.2716)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7787 #873C2C
analogous
#2C8769 #2C7787 #2C4A87
triadic
#2C7787 #872C77 #77872C
tetradic
#2C7787 #692C87 #873C2C #4A872C
square
#2C7787 #692C87 #873C2C #4A872C
split-complementary
#2C7787 #872C4A #87692C
monochromatic
#0E262B #1D4E59 #2C7787 #3BA0B5 #62B9CC

Accessibility & contrast

On white

5.13
#2C7787 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#2C7787 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7787
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7787#FFFFFF#000000##FFFFFF
##2C77871.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B7388
Deuteranopia (green-blind)
#5E6987
Tritanopia (blue-blind)
#007D7C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2c7787;
/* rgb */ color: rgb(44, 119, 135);
/* oklch */ color: oklch(53.0% 0.076 214.4);
Tailwind
colors: {
  custom: {
    50: '#719eaa',
    500: '#2c7787',
    950: '#000000',
  },
}
SCSS
$custom: #2c7787;
$custom-light: #719eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7787",
  "rgb": {
    "r": 44,
    "g": 119,
    "b": 135
  },
  "hsl": {
    "h": 190.549,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.52998,
    "c": 0.0764,
    "h": 214.4
  },
  "luminance": 0.15478
}

Semantic roles & 50–950 ramp

primary
#2C7787
secondary
#B26C5D
accent
#664DDA
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #2C7787

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

Preview Lab → · Contrast checker → · Palette generator →

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