#5771BB#5771BB

#5771BB is a mid, moderate blue. Relative luminance 0.174; OKLCH L 56.3% C 0.119 H 267.9°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#5771BB
RGBrgb(87, 113, 187)
HSLhsl(224, 42%, 54%)
HSVhsv(224, 53%, 73%)
CMYKcmyk(53.5%, 39.6%, 0%, 26.7%)
CIE-LABlab(48.79, 12.07, -41.95)
CIE-LCHlch(48.79, 43.65, 286.06°)
OKLaboklab(56.27% -0.0044 -0.1188)
OKLCHoklch(56.27% 0.119 267.9)
XYZxyz(18.8023, 17.4230, 49.3763)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5771BB #BBA157
analogous
#57A3BB #5771BB #6F57BB
triadic
#5771BB #BB5771 #71BB57
tetradic
#5771BB #BB57A3 #BBA157 #57BB6F
square
#5771BB #BB57A3 #BBA157 #57BB6F
split-complementary
#5771BB #BB6F57 #A3BB57
monochromatic
#2C3C6C #3D5597 #5771BB #8396CD #AEBBDE

Accessibility & contrast

On white

4.68
#5771BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#5771BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5771BB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5771BB#FFFFFF#000000##FFFFFF
##5771BB1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5379BE
Deuteranopia (green-blind)
#4770B9
Tritanopia (blue-blind)
#25818D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5771bb;
/* rgb */ color: rgb(87, 113, 187);
/* oklch */ color: oklch(56.3% 0.119 267.9);
Tailwind
colors: {
  custom: {
    50: '#8d99d0',
    500: '#5771bb',
    950: '#000000',
  },
}
SCSS
$custom: #5771bb;
$custom-light: #8d99d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5771bb",
  "rgb": {
    "r": 87,
    "g": 113,
    "b": 187
  },
  "hsl": {
    "h": 224.4,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56274,
    "c": 0.11891,
    "h": 267.9
  },
  "luminance": 0.17424
}

Semantic roles & 50–950 ramp

primary
#5771BB
secondary
#CCC1A2
accent
#B256D2
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0D14
muted
#7E7E82

Preview Lab

Preview with #5771BB

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

Preview Lab → · Contrast checker → · Palette generator →

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