#2C77A8#2C77A8

#2C77A8 is a mid, moderate cyan. Relative luminance 0.166; OKLCH L 54.6% C 0.106 H 241.4°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2C77A8
RGBrgb(44, 119, 168)
HSLhsl(204, 58%, 42%)
HSVhsv(204, 74%, 66%)
CMYKcmyk(73.8%, 29.2%, 0%, 34.1%)
CIE-LABlab(47.69, -6.15, -32.77)
CIE-LCHlch(47.69, 33.35, 259.37°)
OKLaboklab(54.59% -0.0505 -0.0926)
OKLCHoklch(54.59% 0.106 241.4)
XYZxyz(14.7007, 16.5546, 39.4588)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C77A8 #A85D2C
analogous
#2CA89B #2C77A8 #2C39A8
triadic
#2C77A8 #A82C77 #77A82C
tetradic
#2C77A8 #9B2CA8 #A85D2C #39A82C
square
#2C77A8 #9B2CA8 #A85D2C #39A82C
split-complementary
#2C77A8 #A82C39 #A89B2C
monochromatic
#133247 #1F5578 #2C77A8 #4397CE #74B2DB

Accessibility & contrast

On white

4.87
#2C77A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#2C77A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C77A8
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C77A8#FFFFFF#000000##FFFFFF
##2C77A81.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6078AA
Deuteranopia (green-blind)
#4F6CA7
Tritanopia (blue-blind)
#008388
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2c77a8;
/* rgb */ color: rgb(44, 119, 168);
/* oklch */ color: oklch(54.6% 0.106 241.4);
Tailwind
colors: {
  custom: {
    50: '#769ec2',
    500: '#2c77a8',
    950: '#000000',
  },
}
SCSS
$custom: #2c77a8;
$custom-light: #769ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c77a8",
  "rgb": {
    "r": 44,
    "g": 119,
    "b": 168
  },
  "hsl": {
    "h": 203.71,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.54591,
    "c": 0.10553,
    "h": 241.4
  },
  "luminance": 0.16556
}

Semantic roles & 50–950 ramp

primary
#2C77A8
secondary
#C28F6E
accent
#8446E2
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2C77A8

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

Preview Lab → · Contrast checker → · Palette generator →

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