#2771BA#2771BA

#2771BA is a mid, vivid cyan. Relative luminance 0.158; OKLCH L 54.1% C 0.135 H 251.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#2771BA
RGBrgb(39, 113, 186)
HSLhsl(210, 65%, 44%)
HSVhsv(210, 79%, 73%)
CMYKcmyk(79%, 39.2%, 0%, 27.1%)
CIE-LABlab(46.69, 3.55, -44.83)
CIE-LCHlch(46.69, 44.97, 274.52°)
OKLaboklab(54.07% -0.0425 -0.128)
OKLCHoklch(54.07% 0.135 251.6)
XYZxyz(15.6014, 15.7849, 48.6694)
Luminance0.1579 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2771BA #BA7027
analogous
#27BABA #2771BA #2728BA
triadic
#2771BA #BA2771 #71BA27
tetradic
#2771BA #BA27BA #BA7027 #28BA27
square
#2771BA #BA27BA #BA7027 #28BA27
split-complementary
#2771BA #BA2728 #BABA27
monochromatic
#123455 #1C5287 #2771BA #4690D8 #79AEE3

Accessibility & contrast

On white

5.05
#2771BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#2771BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2771BA#FFFFFF#000000##FFFFFF
##2771BA1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E76BD
Deuteranopia (green-blind)
#3769B9
Tritanopia (blue-blind)
#00828C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2771ba;
/* rgb */ color: rgb(39, 113, 186);
/* oklch */ color: oklch(54.1% 0.135 251.6);
Tailwind
colors: {
  custom: {
    50: '#7899cf',
    500: '#2771ba',
    950: '#000000',
  },
}
SCSS
$custom: #2771ba;
$custom-light: #7899cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2771ba",
  "rgb": {
    "r": 39,
    "g": 113,
    "b": 186
  },
  "hsl": {
    "h": 209.796,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.5407,
    "c": 0.13488,
    "h": 251.6
  },
  "luminance": 0.15787
}

Semantic roles & 50–950 ramp

primary
#2771BA
secondary
#CB9E72
accent
#9340E8
background
#F7F9FC
surface
#EEF2F9
border
#C9CCD2
text
#0A0D14
muted
#7C7E82

Preview Lab

Preview with #2771BA

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

Preview Lab → · Contrast checker → · Palette generator →

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