#5771CB#5771CB

#5771CB is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.2% C 0.142 H 269.4°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#5771CB
RGBrgb(87, 113, 203)
HSLhsl(227, 53%, 57%)
HSVhsv(227, 57%, 80%)
CMYKcmyk(57.1%, 44.3%, 0%, 20.4%)
CIE-LABlab(49.67, 17.32, -49.73)
CIE-LCHlch(49.67, 52.66, 289.20°)
OKLaboklab(57.24% -0.0014 -0.1416)
OKLCHoklch(57.24% 0.142 269.4)
XYZxyz(20.6115, 18.1467, 58.9048)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5771CB #CBB157
analogous
#57ABCB #5771CB #7757CB
triadic
#5771CB #CB5771 #71CB57
tetradic
#5771CB #CB57AB #CBB157 #57CB77
square
#5771CB #CB57AB #CBB157 #57CB77
split-complementary
#5771CB #CB7757 #ABCB57
monochromatic
#283B80 #3651AF #5771CB #8699D9 #B4C0E8

Accessibility & contrast

On white

4.54
#5771CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#5771CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5771CB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5771CB#FFFFFF#000000##000000
##5771CB1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#497CCE
Deuteranopia (green-blind)
#3971C9
Tritanopia (blue-blind)
#018594
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5771cb;
/* rgb */ color: rgb(87, 113, 203);
/* oklch */ color: oklch(57.2% 0.142 269.4);
Tailwind
colors: {
  custom: {
    50: '#8f99db',
    500: '#5771cb',
    950: '#000000',
  },
}
SCSS
$custom: #5771cb;
$custom-light: #8f99db;
$custom-dark: #000000;
JSON
{
  "hex": "#5771cb",
  "rgb": {
    "r": 87,
    "g": 113,
    "b": 203
  },
  "hsl": {
    "h": 226.552,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57241,
    "c": 0.14165,
    "h": 269.4
  },
  "luminance": 0.18148
}

Semantic roles & 50–950 ramp

primary
#5771CB
secondary
#D7CCA7
accent
#BC4CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #5771CB

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

Preview Lab → · Contrast checker → · Palette generator →

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