#2771A9#2771A9

#2771A9 is a mid, moderate cyan. Relative luminance 0.151; OKLCH L 53.1% C 0.114 H 245.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#2771A9
RGBrgb(39, 113, 169)
HSLhsl(206, 63%, 41%)
HSVhsv(206, 77%, 66%)
CMYKcmyk(76.9%, 33.1%, 0%, 33.7%)
CIE-LABlab(45.78, -2.85, -36.38)
CIE-LCHlch(45.78, 36.49, 265.52°)
OKLaboklab(53.05% -0.0471 -0.1033)
OKLCHoklch(53.05% 0.114 245.5)
XYZxyz(13.9005, 15.1045, 39.7113)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2771A9 #A95F27
analogous
#27A9A0 #2771A9 #2730A9
triadic
#2771A9 #A92771 #71A927
tetradic
#2771A9 #A027A9 #A95F27 #30A927
square
#2771A9 #A027A9 #A95F27 #30A927
split-complementary
#2771A9 #A92730 #A9A027
monochromatic
#102F46 #1C5077 #2771A9 #3B91D2 #6DADDD

Accessibility & contrast

On white

5.22
#2771A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#2771A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2771A9
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2771A9#FFFFFF#000000##FFFFFF
##2771A91.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5773AB
Deuteranopia (green-blind)
#4567A8
Tritanopia (blue-blind)
#007F85
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2771a9;
/* rgb */ color: rgb(39, 113, 169);
/* oklch */ color: oklch(53.1% 0.114 245.5);
Tailwind
colors: {
  custom: {
    50: '#7499c3',
    500: '#2771a9',
    950: '#000000',
  },
}
SCSS
$custom: #2771a9;
$custom-light: #7499c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2771a9",
  "rgb": {
    "r": 39,
    "g": 113,
    "b": 169
  },
  "hsl": {
    "h": 205.846,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.53054,
    "c": 0.11353,
    "h": 245.5
  },
  "luminance": 0.15106
}

Semantic roles & 50–950 ramp

primary
#2771A9
secondary
#C49068
accent
#8942E6
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2771A9

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

Preview Lab → · Contrast checker → · Palette generator →

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