#5771C8#5771C8

#5771C8 is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.1% C 0.137 H 269.2°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#5771C8
RGBrgb(87, 113, 200)
HSLhsl(226, 51%, 56%)
HSVhsv(226, 57%, 78%)
CMYKcmyk(56.5%, 43.5%, 0%, 21.6%)
CIE-LABlab(49.50, 16.33, -48.29)
CIE-LCHlch(49.50, 50.98, 288.68°)
OKLaboklab(57.05% -0.0019 -0.1374)
OKLCHoklch(57.05% 0.137 269.2)
XYZxyz(20.2575, 18.0051, 57.0402)
Luminance0.1801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5771C8 #C8AE57
analogous
#57AAC8 #5771C8 #7657C8
triadic
#5771C8 #C85771 #71C857
tetradic
#5771C8 #C857AA #C8AE57 #57C876
square
#5771C8 #C857AA #C8AE57 #57C876
split-complementary
#5771C8 #C87657 #AAC857
monochromatic
#293C7C #3852AA #5771C8 #8598D7 #B3BFE6

Accessibility & contrast

On white

4.56
#5771C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#5771C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5771C8
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5771C8#FFFFFF#000000##000000
##5771C81.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7BCB
Deuteranopia (green-blind)
#3C71C6
Tritanopia (blue-blind)
#0C8493
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5771c8;
/* rgb */ color: rgb(87, 113, 200);
/* oklch */ color: oklch(57.1% 0.137 269.2);
Tailwind
colors: {
  custom: {
    50: '#8f99d9',
    500: '#5771c8',
    950: '#000000',
  },
}
SCSS
$custom: #5771c8;
$custom-light: #8f99d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5771c8",
  "rgb": {
    "r": 87,
    "g": 113,
    "b": 200
  },
  "hsl": {
    "h": 226.195,
    "s": 50.673,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57054,
    "c": 0.13741,
    "h": 269.2
  },
  "luminance": 0.18007
}

Semantic roles & 50–950 ramp

primary
#5771C8
secondary
#D5CAA6
accent
#BA4EDA
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #5771C8

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

Preview Lab → · Contrast checker → · Palette generator →

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