#2771B0#2771B0

#2771B0 is a mid, vivid cyan. Relative luminance 0.154; OKLCH L 53.5% C 0.122 H 248.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2771B0
RGBrgb(39, 113, 176)
HSLhsl(208, 64%, 42%)
HSVhsv(208, 78%, 69%)
CMYKcmyk(77.8%, 35.8%, 0%, 31%)
CIE-LABlab(46.14, -0.23, -39.89)
CIE-LCHlch(46.14, 39.89, 269.67°)
OKLaboklab(53.46% -0.0451 -0.1135)
OKLCHoklch(53.46% 0.122 248.3)
XYZxyz(14.5753, 15.3745, 43.2653)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2771B0 #B06627
analogous
#27B0AB #2771B0 #272DB0
triadic
#2771B0 #B02771 #71B027
tetradic
#2771B0 #AB27B0 #B06627 #2DB027
square
#2771B0 #AB27B0 #B06627 #2DB027
split-complementary
#2771B0 #B0272D #B0AB27
monochromatic
#11314C #1C517E #2771B0 #4090D5 #72ADE0

Accessibility & contrast

On white

5.15
#2771B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#2771B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2771B0#FFFFFF#000000##FFFFFF
##2771B01.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5474B3
Deuteranopia (green-blind)
#4068AF
Tritanopia (blue-blind)
#008088
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2771b0;
/* rgb */ color: rgb(39, 113, 176);
/* oklch */ color: oklch(53.5% 0.122 248.3);
Tailwind
colors: {
  custom: {
    50: '#7699c8',
    500: '#2771b0',
    950: '#000000',
  },
}
SCSS
$custom: #2771b0;
$custom-light: #7699c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2771b0",
  "rgb": {
    "r": 39,
    "g": 113,
    "b": 176
  },
  "hsl": {
    "h": 207.591,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53461,
    "c": 0.12217,
    "h": 248.3
  },
  "luminance": 0.15376
}

Semantic roles & 50–950 ramp

primary
#2771B0
secondary
#C7966C
accent
#8D41E7
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2771B0

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

Preview Lab → · Contrast checker → · Palette generator →

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