#2771C1#2771C1

#2771C1 is a mid, vivid cyan. Relative luminance 0.161; OKLCH L 54.5% C 0.144 H 253.5°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#2771C1
RGBrgb(39, 113, 193)
HSLhsl(211, 66%, 45%)
HSVhsv(211, 80%, 76%)
CMYKcmyk(79.8%, 41.5%, 0%, 24.3%)
CIE-LABlab(47.09, 6.21, -48.23)
CIE-LCHlch(47.09, 48.63, 277.33°)
OKLaboklab(54.51% -0.0409 -0.138)
OKLCHoklch(54.51% 0.144 253.5)
XYZxyz(16.3639, 16.0899, 52.6849)
Luminance0.1609 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2771C1 #C17727
analogous
#27BEC1 #2771C1 #2A27C1
triadic
#2771C1 #C12771 #71C127
tetradic
#2771C1 #C127BE #C17727 #27C12A
square
#2771C1 #C127BE #C17727 #27C12A
split-complementary
#2771C1 #C12A27 #BEC127
monochromatic
#12355B #1D538E #2771C1 #4B90DB #7EAFE5

Accessibility & contrast

On white

4.98
#2771C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#2771C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2771C1
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2771C1#FFFFFF#000000##FFFFFF
##2771C11.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A77C4
Deuteranopia (green-blind)
#2F69BF
Tritanopia (blue-blind)
#00848F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2771c1;
/* rgb */ color: rgb(39, 113, 193);
/* oklch */ color: oklch(54.5% 0.144 253.5);
Tailwind
colors: {
  custom: {
    50: '#7999d4',
    500: '#2771c1',
    950: '#000000',
  },
}
SCSS
$custom: #2771c1;
$custom-light: #7999d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2771c1",
  "rgb": {
    "r": 39,
    "g": 113,
    "b": 193
  },
  "hsl": {
    "h": 211.169,
    "s": 66.379,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54513,
    "c": 0.14393,
    "h": 253.5
  },
  "luminance": 0.16092
}

Semantic roles & 50–950 ramp

primary
#2771C1
secondary
#CDA477
accent
#973EE9
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2771C1

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

Preview Lab → · Contrast checker → · Palette generator →

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