#2771A3#2771A3

#2771A3 is a mid, moderate cyan. Relative luminance 0.149; OKLCH L 52.7% C 0.106 H 242.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#2771A3
RGBrgb(39, 113, 163)
HSLhsl(204, 61%, 40%)
HSVhsv(204, 76%, 64%)
CMYKcmyk(76.1%, 30.7%, 0%, 36.1%)
CIE-LABlab(45.48, -5.07, -33.34)
CIE-LCHlch(45.48, 33.72, 261.35°)
OKLaboklab(52.72% -0.049 -0.0944)
OKLCHoklch(52.72% 0.106 242.6)
XYZxyz(13.3501, 14.8844, 36.8126)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2771A3 #A35927
analogous
#27A397 #2771A3 #2733A3
triadic
#2771A3 #A32771 #71A327
tetradic
#2771A3 #9727A3 #A35927 #33A327
square
#2771A3 #9727A3 #A35927 #33A327
split-complementary
#2771A3 #A32733 #A39727
monochromatic
#0F2D40 #1B4F72 #2771A3 #3892CF #69ADDB

Accessibility & contrast

On white

5.28
#2771A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#2771A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2771A3
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2771A3#FFFFFF#000000##FFFFFF
##2771A31.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A72A5
Deuteranopia (green-blind)
#4966A2
Tritanopia (blue-blind)
#007D83
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2771a3;
/* rgb */ color: rgb(39, 113, 163);
/* oklch */ color: oklch(52.7% 0.106 242.6);
Tailwind
colors: {
  custom: {
    50: '#7399be',
    500: '#2771a3',
    950: '#000000',
  },
}
SCSS
$custom: #2771a3;
$custom-light: #7399be;
$custom-dark: #000000;
JSON
{
  "hex": "#2771a3",
  "rgb": {
    "r": 39,
    "g": 113,
    "b": 163
  },
  "hsl": {
    "h": 204.194,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.52717,
    "c": 0.10635,
    "h": 242.6
  },
  "luminance": 0.14886
}

Semantic roles & 50–950 ramp

primary
#2771A3
secondary
#C18A64
accent
#8443E4
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2771A3

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

Preview Lab → · Contrast checker → · Palette generator →

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