#2771A1#2771A1

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

Color values

HEX#2771A1
RGBrgb(39, 113, 161)
HSLhsl(204, 61%, 39%)
HSVhsv(204, 76%, 63%)
CMYKcmyk(75.8%, 29.8%, 0%, 36.9%)
CIE-LABlab(45.38, -5.81, -32.31)
CIE-LCHlch(45.38, 32.83, 259.81°)
OKLaboklab(52.61% -0.0496 -0.0914)
OKLCHoklch(52.61% 0.104 241.5)
XYZxyz(13.1723, 14.8133, 35.8763)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2771A1 #A15727
analogous
#27A194 #2771A1 #2734A1
triadic
#2771A1 #A12771 #71A127
tetradic
#2771A1 #9427A1 #A15727 #34A127
square
#2771A1 #9427A1 #A15727 #34A127
split-complementary
#2771A1 #A12734 #A19427
monochromatic
#0F2C3E #1B4E70 #2771A1 #3793CE #68ADDA

Accessibility & contrast

On white

5.30
#2771A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2771A1#FFFFFF#000000##FFFFFF
##2771A11.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B72A3
Deuteranopia (green-blind)
#4A66A0
Tritanopia (blue-blind)
#007D82
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2771a1;
/* rgb */ color: rgb(39, 113, 161);
/* oklch */ color: oklch(52.6% 0.104 241.5);
Tailwind
colors: {
  custom: {
    50: '#7399bd',
    500: '#2771a1',
    950: '#000000',
  },
}
SCSS
$custom: #2771a1;
$custom-light: #7399bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2771a1",
  "rgb": {
    "r": 39,
    "g": 113,
    "b": 161
  },
  "hsl": {
    "h": 203.607,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.52607,
    "c": 0.10403,
    "h": 241.5
  },
  "luminance": 0.14815
}

Semantic roles & 50–950 ramp

primary
#2771A1
secondary
#C08863
accent
#8344E4
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2771A1

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

Preview Lab → · Contrast checker → · Palette generator →

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