#5771BF#5771BF

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

Color values

HEX#5771BF
RGBrgb(87, 113, 191)
HSLhsl(225, 45%, 55%)
HSVhsv(225, 54%, 75%)
CMYKcmyk(54.5%, 40.8%, 0%, 25.1%)
CIE-LABlab(49.00, 13.38, -43.92)
CIE-LCHlch(49.00, 45.91, 286.94°)
OKLaboklab(56.51% -0.0036 -0.1246)
OKLCHoklch(56.51% 0.125 268.3)
XYZxyz(19.2365, 17.5967, 51.6629)
Luminance0.1760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5771BF #BFA557
analogous
#57A5BF #5771BF #7157BF
triadic
#5771BF #BF5771 #71BF57
tetradic
#5771BF #BF57A5 #BFA557 #57BF71
square
#5771BF #BF57A5 #BFA557 #57BF71
split-complementary
#5771BF #BF7157 #A5BF57
monochromatic
#2B3C71 #3C549D #5771BF #8396D0 #B0BCE1

Accessibility & contrast

On white

4.65
#5771BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#5771BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5771BF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5771BF#FFFFFF#000000##FFFFFF
##5771BF1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5179C2
Deuteranopia (green-blind)
#4470BD
Tritanopia (blue-blind)
#1F828F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5771bf;
/* rgb */ color: rgb(87, 113, 191);
/* oklch */ color: oklch(56.5% 0.125 268.3);
Tailwind
colors: {
  custom: {
    50: '#8d99d3',
    500: '#5771bf',
    950: '#000000',
  },
}
SCSS
$custom: #5771bf;
$custom-light: #8d99d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5771bf",
  "rgb": {
    "r": 87,
    "g": 113,
    "b": 191
  },
  "hsl": {
    "h": 225,
    "s": 44.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56509,
    "c": 0.12463,
    "h": 268.3
  },
  "luminance": 0.17598
}

Semantic roles & 50–950 ramp

primary
#5771BF
secondary
#CFC4A3
accent
#B453D5
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0D14
muted
#7E7E83

Preview Lab

Preview with #5771BF

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

Preview Lab → · Contrast checker → · Palette generator →

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