#2C77BB#2C77BB

#2C77BB is a mid, vivid cyan. Relative luminance 0.173; OKLCH L 55.7% C 0.128 H 249.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2C77BB
RGBrgb(44, 119, 187)
HSLhsl(209, 62%, 45%)
HSVhsv(209, 76%, 73%)
CMYKcmyk(76.5%, 36.4%, 0%, 26.7%)
CIE-LABlab(48.65, 0.81, -42.28)
CIE-LCHlch(48.65, 42.29, 271.10°)
OKLaboklab(55.66% -0.0449 -0.1204)
OKLCHoklch(55.66% 0.128 249.5)
XYZxyz(16.6018, 17.3150, 49.4712)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C77BB #BB702C
analogous
#2CBBB7 #2C77BB #2C30BB
triadic
#2C77BB #BB2C77 #77BB2C
tetradic
#2C77BB #B72CBB #BB702C #30BB2C
square
#2C77BB #B72CBB #BB702C #30BB2C
split-complementary
#2C77BB #BB2C30 #BBB72C
monochromatic
#153858 #205789 #2C77BB #4F95D6 #80B3E1

Accessibility & contrast

On white

4.70
#2C77BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#2C77BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C77BB
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C77BB#FFFFFF#000000##FFFFFF
##2C77BB1.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#577BBE
Deuteranopia (green-blind)
#426EBA
Tritanopia (blue-blind)
#008790
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2c77bb;
/* rgb */ color: rgb(44, 119, 187);
/* oklch */ color: oklch(55.7% 0.128 249.5);
Tailwind
colors: {
  custom: {
    50: '#799dd0',
    500: '#2c77bb',
    950: '#000000',
  },
}
SCSS
$custom: #2c77bb;
$custom-light: #799dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c77bb",
  "rgb": {
    "r": 44,
    "g": 119,
    "b": 187
  },
  "hsl": {
    "h": 208.531,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55663,
    "c": 0.12849,
    "h": 249.5
  },
  "luminance": 0.17317
}

Semantic roles & 50–950 ramp

primary
#2C77BB
secondary
#CA9F79
accent
#9043E5
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E14
muted
#7C7E82

Preview Lab

Preview with #2C77BB

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

Preview Lab → · Contrast checker → · Palette generator →

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