#2777A8#2777A8

#2777A8 is a mid, moderate cyan. Relative luminance 0.165; OKLCH L 54.4% C 0.107 H 240.3°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#2777A8
RGBrgb(39, 119, 168)
HSLhsl(203, 62%, 41%)
HSVhsv(203, 77%, 66%)
CMYKcmyk(76.8%, 29.2%, 0%, 34.1%)
CIE-LABlab(47.56, -6.81, -32.99)
CIE-LCHlch(47.56, 33.69, 258.34°)
OKLaboklab(54.45% -0.0532 -0.0933)
OKLCHoklch(54.45% 0.107 240.3)
XYZxyz(14.4986, 16.4504, 39.4493)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2777A8 #A85827
analogous
#27A898 #2777A8 #2736A8
triadic
#2777A8 #A82777 #77A827
tetradic
#2777A8 #9827A8 #A85827 #36A827
square
#2777A8 #9827A8 #A85827 #36A827
split-complementary
#2777A8 #A82736 #A89827
monochromatic
#103145 #1B5476 #2777A8 #3B98D1 #6CB2DD

Accessibility & contrast

On white

4.89
#2777A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#2777A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2777A8
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2777A8#FFFFFF#000000##FFFFFF
##2777A81.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)
#6078AA
Deuteranopia (green-blind)
#4E6BA7
Tritanopia (blue-blind)
#008388
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2777a8;
/* rgb */ color: rgb(39, 119, 168);
/* oklch */ color: oklch(54.4% 0.107 240.3);
Tailwind
colors: {
  custom: {
    50: '#749ec2',
    500: '#2777a8',
    950: '#000000',
  },
}
SCSS
$custom: #2777a8;
$custom-light: #749ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#2777a8",
  "rgb": {
    "r": 39,
    "g": 119,
    "b": 168
  },
  "hsl": {
    "h": 202.791,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.54447,
    "c": 0.10743,
    "h": 240.3
  },
  "luminance": 0.16452
}

Semantic roles & 50–950 ramp

primary
#2777A8
secondary
#C38A67
accent
#8042E5
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2777A8

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

Preview Lab → · Contrast checker → · Palette generator →

#2777A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva