#2771D4#2771D4

#2771D4 is a mid, vivid cyan. Relative luminance 0.170; OKLCH L 55.8% C 0.169 H 257.3°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2771D4
RGBrgb(39, 113, 212)
HSLhsl(214, 69%, 49%)
HSVhsv(214, 82%, 83%)
CMYKcmyk(81.6%, 46.7%, 0%, 16.9%)
CIE-LABlab(48.25, 13.45, -57.26)
CIE-LCHlch(48.25, 58.81, 283.22°)
OKLaboklab(55.78% -0.0371 -0.1645)
OKLCHoklch(55.78% 0.169 257.3)
XYZxyz(18.6211, 16.9928, 64.5731)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2771D4 #D48A27
analogous
#27C8D4 #2771D4 #3327D4
triadic
#2771D4 #D42771 #71D427
tetradic
#2771D4 #D427C8 #D48A27 #27D433
square
#2771D4 #D427C8 #D48A27 #27D433
split-complementary
#2771D4 #D43327 #C8D427
monochromatic
#143A6D #1D55A0 #2771D4 #5892E0 #8CB4EA

Accessibility & contrast

On white

4.77
#2771D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#2771D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2771D4
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2771D4#FFFFFF#000000##FFFFFF
##2771D41.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A7BD8
Deuteranopia (green-blind)
#006BD2
Tritanopia (blue-blind)
#008998
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2771d4;
/* rgb */ color: rgb(39, 113, 212);
/* oklch */ color: oklch(55.8% 0.169 257.3);
Tailwind
colors: {
  custom: {
    50: '#7d99e2',
    500: '#2771d4',
    950: '#000000',
  },
}
SCSS
$custom: #2771d4;
$custom-light: #7d99e2;
$custom-dark: #000000;
JSON
{
  "hex": "#2771d4",
  "rgb": {
    "r": 39,
    "g": 113,
    "b": 212
  },
  "hsl": {
    "h": 214.335,
    "s": 68.924,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55784,
    "c": 0.16868,
    "h": 257.3
  },
  "luminance": 0.16995
}

Semantic roles & 50–950 ramp

primary
#2771D4
secondary
#D4B183
accent
#A13CEC
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #2771D4

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

Preview Lab → · Contrast checker → · Palette generator →

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