#2771A0#2771A0

#2771A0 is a mid, moderate cyan. Relative luminance 0.148; OKLCH L 52.6% C 0.103 H 240.9°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#2771A0
RGBrgb(39, 113, 160)
HSLhsl(203, 61%, 39%)
HSVhsv(203, 76%, 63%)
CMYKcmyk(75.6%, 29.4%, 0%, 37.3%)
CIE-LABlab(45.33, -6.18, -31.80)
CIE-LCHlch(45.33, 32.40, 259.01°)
OKLaboklab(52.55% -0.05 -0.0899)
OKLCHoklch(52.55% 0.103 240.9)
XYZxyz(13.0845, 14.7781, 35.4138)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2771A0 #A05627
analogous
#27A093 #2771A0 #2735A0
triadic
#2771A0 #A02771 #71A027
tetradic
#2771A0 #9327A0 #A05627 #35A027
square
#2771A0 #9327A0 #A05627 #35A027
split-complementary
#2771A0 #A02735 #A09327
monochromatic
#0F2B3E #1B4E6F #2771A0 #3693CE #67ADDA

Accessibility & contrast

On white

5.31
#2771A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#2771A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2771A0#FFFFFF#000000##FFFFFF
##2771A01.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B72A2
Deuteranopia (green-blind)
#4B669F
Tritanopia (blue-blind)
#007D81
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2771a0;
/* rgb */ color: rgb(39, 113, 160);
/* oklch */ color: oklch(52.6% 0.103 240.9);
Tailwind
colors: {
  custom: {
    50: '#7299bc',
    500: '#2771a0',
    950: '#000000',
  },
}
SCSS
$custom: #2771a0;
$custom-light: #7299bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2771a0",
  "rgb": {
    "r": 39,
    "g": 113,
    "b": 160
  },
  "hsl": {
    "h": 203.306,
    "s": 60.804,
    "l": 39.02
  },
  "oklch": {
    "l": 0.52552,
    "c": 0.10288,
    "h": 240.9
  },
  "luminance": 0.1478
}

Semantic roles & 50–950 ramp

primary
#2771A0
secondary
#C08763
accent
#8244E4
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2771A0

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

Preview Lab → · Contrast checker → · Palette generator →

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