#2771B4#2771B4

#2771B4 is a mid, vivid cyan. Relative luminance 0.155; OKLCH L 53.7% C 0.127 H 249.8°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#2771B4
RGBrgb(39, 113, 180)
HSLhsl(209, 64%, 43%)
HSVhsv(209, 78%, 71%)
CMYKcmyk(78.3%, 37.2%, 0%, 29.4%)
CIE-LABlab(46.36, 1.28, -41.88)
CIE-LCHlch(46.36, 41.90, 271.74°)
OKLaboklab(53.7% -0.044 -0.1194)
OKLCHoklch(53.7% 0.127 249.8)
XYZxyz(14.9769, 15.5351, 45.3804)
Luminance0.1554 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2771B4 #B46A27
analogous
#27B4B1 #2771B4 #272AB4
triadic
#2771B4 #B42771 #71B427
tetradic
#2771B4 #B127B4 #B46A27 #2AB427
square
#2771B4 #B127B4 #B46A27 #2AB427
split-complementary
#2771B4 #B4272A #B4B127
monochromatic
#11324F #1C5182 #2771B4 #4290D6 #74ADE1

Accessibility & contrast

On white

5.11
#2771B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#2771B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2771B4
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2771B4#FFFFFF#000000##FFFFFF
##2771B41.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5275B7
Deuteranopia (green-blind)
#3C68B3
Tritanopia (blue-blind)
#00818A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2771b4;
/* rgb */ color: rgb(39, 113, 180);
/* oklch */ color: oklch(53.7% 0.127 249.8);
Tailwind
colors: {
  custom: {
    50: '#7699cb',
    500: '#2771b4',
    950: '#000000',
  },
}
SCSS
$custom: #2771b4;
$custom-light: #7699cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2771b4",
  "rgb": {
    "r": 39,
    "g": 113,
    "b": 180
  },
  "hsl": {
    "h": 208.511,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53701,
    "c": 0.12722,
    "h": 249.8
  },
  "luminance": 0.15537
}

Semantic roles & 50–950 ramp

primary
#2771B4
secondary
#C8996F
accent
#9040E7
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2771B4

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

Preview Lab → · Contrast checker → · Palette generator →

#2771B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva