#2777A5#2777A5

#2777A5 is a mid, moderate cyan. Relative luminance 0.163; OKLCH L 54.3% C 0.104 H 238.6°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#2777A5
RGBrgb(39, 119, 165)
HSLhsl(202, 62%, 40%)
HSVhsv(202, 76%, 65%)
CMYKcmyk(76.4%, 27.9%, 0%, 35.3%)
CIE-LABlab(47.42, -7.90, -31.46)
CIE-LCHlch(47.42, 32.44, 255.90°)
OKLaboklab(54.29% -0.0542 -0.0889)
OKLCHoklch(54.29% 0.104 238.6)
XYZxyz(14.2224, 16.3399, 37.9944)
Luminance0.1634 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2777A5 #A55527
analogous
#27A594 #2777A5 #2738A5
triadic
#2777A5 #A52777 #77A527
tetradic
#2777A5 #9427A5 #A55527 #38A527
square
#2777A5 #9427A5 #A55527 #38A527
split-complementary
#2777A5 #A52738 #A59427
monochromatic
#103042 #1B5374 #2777A5 #3999D0 #6AB2DC

Accessibility & contrast

On white

4.92
#2777A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#2777A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2777A5
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2777A5#FFFFFF#000000##FFFFFF
##2777A51.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6177A7
Deuteranopia (green-blind)
#506BA4
Tritanopia (blue-blind)
#008387
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2777a5;
/* rgb */ color: rgb(39, 119, 165);
/* oklch */ color: oklch(54.3% 0.104 238.6);
Tailwind
colors: {
  custom: {
    50: '#749ec0',
    500: '#2777a5',
    950: '#000000',
  },
}
SCSS
$custom: #2777a5;
$custom-light: #749ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#2777a5",
  "rgb": {
    "r": 39,
    "g": 119,
    "b": 165
  },
  "hsl": {
    "h": 201.905,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.54287,
    "c": 0.10412,
    "h": 238.6
  },
  "luminance": 0.16342
}

Semantic roles & 50–950 ramp

primary
#2777A5
secondary
#C28766
accent
#7E43E5
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2777A5

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

Preview Lab → · Contrast checker → · Palette generator →

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