#5771BC#5771BC

#5771BC is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.3% C 0.120 H 268.0°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#5771BC
RGBrgb(87, 113, 188)
HSLhsl(225, 43%, 54%)
HSVhsv(225, 54%, 74%)
CMYKcmyk(53.7%, 39.9%, 0%, 26.3%)
CIE-LABlab(48.84, 12.40, -42.44)
CIE-LCHlch(48.84, 44.22, 286.28°)
OKLaboklab(56.33% -0.0042 -0.1203)
OKLCHoklch(56.33% 0.12 268)
XYZxyz(18.9097, 17.4660, 49.9420)
Luminance0.1747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5771BC #BCA257
analogous
#57A4BC #5771BC #7057BC
triadic
#5771BC #BC5771 #71BC57
tetradic
#5771BC #BC57A4 #BCA257 #57BC70
square
#5771BC #BC57A4 #BCA257 #57BC70
split-complementary
#5771BC #BC7057 #A4BC57
monochromatic
#2C3C6D #3D5599 #5771BC #8396CD #AFBBDF

Accessibility & contrast

On white

4.67
#5771BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#5771BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5771BC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5771BC#FFFFFF#000000##FFFFFF
##5771BC1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5279BF
Deuteranopia (green-blind)
#4770BA
Tritanopia (blue-blind)
#23818D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5771bc;
/* rgb */ color: rgb(87, 113, 188);
/* oklch */ color: oklch(56.3% 0.120 268.0);
Tailwind
colors: {
  custom: {
    50: '#8d99d0',
    500: '#5771bc',
    950: '#000000',
  },
}
SCSS
$custom: #5771bc;
$custom-light: #8d99d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5771bc",
  "rgb": {
    "r": 87,
    "g": 113,
    "b": 188
  },
  "hsl": {
    "h": 224.554,
    "s": 42.979,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56332,
    "c": 0.12034,
    "h": 268
  },
  "luminance": 0.17467
}

Semantic roles & 50–950 ramp

primary
#5771BC
secondary
#CDC2A2
accent
#B255D3
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0D14
muted
#7E7E82

Preview Lab

Preview with #5771BC

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

Preview Lab → · Contrast checker → · Palette generator →

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