#5771CF#5771CF

#5771CF is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.5% C 0.147 H 269.7°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#5771CF
RGBrgb(87, 113, 207)
HSLhsl(227, 56%, 58%)
HSVhsv(227, 58%, 81%)
CMYKcmyk(58%, 45.4%, 0%, 18.8%)
CIE-LABlab(49.91, 18.65, -51.65)
CIE-LCHlch(49.91, 54.91, 289.85°)
OKLaboklab(57.49% -0.0008 -0.1472)
OKLCHoklch(57.49% 0.147 269.7)
XYZxyz(21.0943, 18.3398, 61.4477)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5771CF #CFB557
analogous
#57ADCF #5771CF #7957CF
triadic
#5771CF #CF5771 #71CF57
tetradic
#5771CF #CF57AD #CFB557 #57CF79
square
#5771CF #CF57AD #CFB557 #57CF79
split-complementary
#5771CF #CF7957 #ADCF57
monochromatic
#263B85 #3450B5 #5771CF #8799DD #B6C1EA

Accessibility & contrast

On white

4.50
#5771CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#5771CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5771CF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5771CF#FFFFFF#000000##000000
##5771CF1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#467CD3
Deuteranopia (green-blind)
#3472CD
Tritanopia (blue-blind)
#008696
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5771cf;
/* rgb */ color: rgb(87, 113, 207);
/* oklch */ color: oklch(57.5% 0.147 269.7);
Tailwind
colors: {
  custom: {
    50: '#9099de',
    500: '#5771cf',
    950: '#000000',
  },
}
SCSS
$custom: #5771cf;
$custom-light: #9099de;
$custom-dark: #000000;
JSON
{
  "hex": "#5771cf",
  "rgb": {
    "r": 87,
    "g": 113,
    "b": 207
  },
  "hsl": {
    "h": 227,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.57494,
    "c": 0.14725,
    "h": 269.7
  },
  "luminance": 0.18341
}

Semantic roles & 50–950 ramp

primary
#5771CF
secondary
#D9CFA9
accent
#BE49DF
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #5771CF

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

Preview Lab → · Contrast checker → · Palette generator →

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