#2771AA#2771AA

#2771AA is a mid, moderate cyan. Relative luminance 0.151; OKLCH L 53.1% C 0.115 H 245.9°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#2771AA
RGBrgb(39, 113, 170)
HSLhsl(206, 63%, 41%)
HSVhsv(206, 77%, 67%)
CMYKcmyk(77.1%, 33.5%, 0%, 33.3%)
CIE-LABlab(45.83, -2.48, -36.89)
CIE-LCHlch(45.83, 36.97, 266.16°)
OKLaboklab(53.11% -0.0468 -0.1047)
OKLCHoklch(53.11% 0.115 245.9)
XYZxyz(13.9947, 15.1422, 40.2076)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2771AA #AA6027
analogous
#27AAA1 #2771AA #272FAA
triadic
#2771AA #AA2771 #71AA27
tetradic
#2771AA #A127AA #AA6027 #2FAA27
square
#2771AA #A127AA #AA6027 #2FAA27
split-complementary
#2771AA #AA272F #AAA127
monochromatic
#102F46 #1C5078 #2771AA #3C91D2 #6EADDE

Accessibility & contrast

On white

5.21
#2771AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#2771AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2771AA#FFFFFF#000000##FFFFFF
##2771AA1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5773AC
Deuteranopia (green-blind)
#4467A9
Tritanopia (blue-blind)
#007F85
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2771aa;
/* rgb */ color: rgb(39, 113, 170);
/* oklch */ color: oklch(53.1% 0.115 245.9);
Tailwind
colors: {
  custom: {
    50: '#7499c3',
    500: '#2771aa',
    950: '#000000',
  },
}
SCSS
$custom: #2771aa;
$custom-light: #7499c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2771aa",
  "rgb": {
    "r": 39,
    "g": 113,
    "b": 170
  },
  "hsl": {
    "h": 206.107,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.53111,
    "c": 0.11474,
    "h": 245.9
  },
  "luminance": 0.15144
}

Semantic roles & 50–950 ramp

primary
#2771AA
secondary
#C49069
accent
#8942E6
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2771AA

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

Preview Lab → · Contrast checker → · Palette generator →

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