#2C7786#2C7786

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

Color values

HEX#2C7786
RGBrgb(44, 119, 134)
HSLhsl(190, 51%, 35%)
HSVhsv(190, 67%, 53%)
CMYKcmyk(67.2%, 11.2%, 0%, 47.5%)
CIE-LABlab(46.24, -17.90, -14.99)
CIE-LCHlch(46.24, 23.35, 219.95°)
OKLaboklab(52.96% -0.0635 -0.0417)
OKLCHoklch(52.96% 0.076 213.3)
XYZxyz(11.9368, 15.4491, 24.9025)
Luminance0.1545 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7786 #863B2C
analogous
#2C8668 #2C7786 #2C4A86
triadic
#2C7786 #862C77 #77862C
tetradic
#2C7786 #682C86 #863B2C #4A862C
square
#2C7786 #682C86 #863B2C #4A862C
split-complementary
#2C7786 #862C4A #86682C
monochromatic
#0E252A #1D4E58 #2C7786 #3BA0B4 #61BACB

Accessibility & contrast

On white

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

On black

4.09
#2C7786 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2C7786#FFFFFF#000000##FFFFFF
##2C77861.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c7786;
/* rgb */ color: rgb(44, 119, 134);
/* oklch */ color: oklch(53.0% 0.076 213.3);
Tailwind
colors: {
  custom: {
    50: '#719ea9',
    500: '#2c7786',
    950: '#000000',
  },
}
SCSS
$custom: #2c7786;
$custom-light: #719ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7786",
  "rgb": {
    "r": 44,
    "g": 119,
    "b": 134
  },
  "hsl": {
    "h": 190,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.52955,
    "c": 0.07592,
    "h": 213.3
  },
  "luminance": 0.1545
}

Semantic roles & 50–950 ramp

primary
#2C7786
secondary
#B16B5C
accent
#654EDA
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #2C7786

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

Preview Lab → · Contrast checker → · Palette generator →

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