#5771AE#5771AE

#5771AE is a mid, moderate blue. Relative luminance 0.169; OKLCH L 55.5% C 0.100 H 265.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5771AE
RGBrgb(87, 113, 174)
HSLhsl(222, 35%, 51%)
HSVhsv(222, 50%, 68%)
CMYKcmyk(50%, 35.1%, 0%, 31.8%)
CIE-LABlab(48.12, 7.91, -35.46)
CIE-LCHlch(48.12, 36.34, 282.58°)
OKLaboklab(55.54% -0.0075 -0.0999)
OKLCHoklch(55.54% 0.1 265.7)
XYZxyz(17.4731, 16.8913, 42.3758)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5771AE #AE9457
analogous
#579CAE #5771AE #6857AE
triadic
#5771AE #AE5771 #71AE57
tetradic
#5771AE #AE579C #AE9457 #57AE68
square
#5771AE #AE579C #AE9457 #57AE68
split-complementary
#5771AE #AE6857 #9CAE57
monochromatic
#2D3C5E #415687 #5771AE #8094C2 #AAB7D6

Accessibility & contrast

On white

4.80
#5771AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#5771AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5771AE
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5771AE#FFFFFF#000000##FFFFFF
##5771AE1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A76B1
Deuteranopia (green-blind)
#506FAD
Tritanopia (blue-blind)
#327E87
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5771ae;
/* rgb */ color: rgb(87, 113, 174);
/* oklch */ color: oklch(55.5% 0.100 265.7);
Tailwind
colors: {
  custom: {
    50: '#8b99c6',
    500: '#5771ae',
    950: '#000000',
  },
}
SCSS
$custom: #5771ae;
$custom-light: #8b99c6;
$custom-dark: #000000;
JSON
{
  "hex": "#5771ae",
  "rgb": {
    "r": 87,
    "g": 113,
    "b": 174
  },
  "hsl": {
    "h": 222.069,
    "s": 34.94,
    "l": 51.176
  },
  "oklch": {
    "l": 0.55542,
    "c": 0.10019,
    "h": 265.7
  },
  "luminance": 0.16892
}

Semantic roles & 50–950 ramp

primary
#5771AE
secondary
#C4B89D
accent
#AA5DCB
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #5771AE

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

Preview Lab → · Contrast checker → · Palette generator →

#5771AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva