#5771BE#5771BE

#5771BE is a mid, vivid blue. Relative luminance 0.176; OKLCH L 56.5% C 0.123 H 268.2°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#5771BE
RGBrgb(87, 113, 190)
HSLhsl(225, 44%, 54%)
HSVhsv(225, 54%, 75%)
CMYKcmyk(54.2%, 40.5%, 0%, 25.5%)
CIE-LABlab(48.95, 13.05, -43.43)
CIE-LCHlch(48.95, 45.35, 286.72°)
OKLaboklab(56.45% -0.0038 -0.1231)
OKLCHoklch(56.45% 0.123 268.2)
XYZxyz(19.1268, 17.5528, 51.0853)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5771BE #BEA457
analogous
#57A5BE #5771BE #7157BE
triadic
#5771BE #BE5771 #71BE57
tetradic
#5771BE #BE57A5 #BEA457 #57BE71
square
#5771BE #BE57A5 #BEA457 #57BE71
split-complementary
#5771BE #BE7157 #A5BE57
monochromatic
#2B3C6F #3C549C #5771BE #8396CF #AFBCE0

Accessibility & contrast

On white

4.66
#5771BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#5771BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5771BE
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5771BE#FFFFFF#000000##FFFFFF
##5771BE1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5179C1
Deuteranopia (green-blind)
#4570BC
Tritanopia (blue-blind)
#21828E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5771be;
/* rgb */ color: rgb(87, 113, 190);
/* oklch */ color: oklch(56.5% 0.123 268.2);
Tailwind
colors: {
  custom: {
    50: '#8d99d2',
    500: '#5771be',
    950: '#000000',
  },
}
SCSS
$custom: #5771be;
$custom-light: #8d99d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5771be",
  "rgb": {
    "r": 87,
    "g": 113,
    "b": 190
  },
  "hsl": {
    "h": 224.854,
    "s": 44.206,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5645,
    "c": 0.12321,
    "h": 268.2
  },
  "luminance": 0.17554
}

Semantic roles & 50–950 ramp

primary
#5771BE
secondary
#CEC3A3
accent
#B454D4
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0D14
muted
#7E7E82

Preview Lab

Preview with #5771BE

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

Preview Lab → · Contrast checker → · Palette generator →

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