#2771B1#2771B1

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

Color values

HEX#2771B1
RGBrgb(39, 113, 177)
HSLhsl(208, 64%, 42%)
HSVhsv(208, 78%, 69%)
CMYKcmyk(78%, 36.2%, 0%, 30.6%)
CIE-LABlab(46.20, 0.15, -40.39)
CIE-LCHlch(46.20, 40.39, 270.21°)
OKLaboklab(53.52% -0.0448 -0.115)
OKLCHoklch(53.52% 0.123 248.7)
XYZxyz(14.6746, 15.4142, 43.7883)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2771B1 #B16727
analogous
#27B1AC #2771B1 #272CB1
triadic
#2771B1 #B12771 #71B127
tetradic
#2771B1 #AC27B1 #B16727 #2CB127
square
#2771B1 #AC27B1 #B16727 #2CB127
split-complementary
#2771B1 #B1272C #B1AC27
monochromatic
#11314D #1C517F #2771B1 #4090D5 #72ADE0

Accessibility & contrast

On white

5.14
#2771B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2771B1#FFFFFF#000000##FFFFFF
##2771B11.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5374B4
Deuteranopia (green-blind)
#3F68B0
Tritanopia (blue-blind)
#008088
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2771b1;
/* rgb */ color: rgb(39, 113, 177);
/* oklch */ color: oklch(53.5% 0.123 248.7);
Tailwind
colors: {
  custom: {
    50: '#7699c8',
    500: '#2771b1',
    950: '#000000',
  },
}
SCSS
$custom: #2771b1;
$custom-light: #7699c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2771b1",
  "rgb": {
    "r": 39,
    "g": 113,
    "b": 177
  },
  "hsl": {
    "h": 207.826,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53521,
    "c": 0.12343,
    "h": 248.7
  },
  "luminance": 0.15416
}

Semantic roles & 50–950 ramp

primary
#2771B1
secondary
#C7976D
accent
#8E41E7
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2771B1

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

Preview Lab → · Contrast checker → · Palette generator →

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