#5771EB#5771EB

#5771EB is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.4% C 0.186 H 270.7°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#5771EB
RGBrgb(87, 113, 235)
HSLhsl(229, 79%, 63%)
HSVhsv(229, 63%, 92%)
CMYKcmyk(63%, 51.9%, 0%, 7.8%)
CIE-LABlab(51.65, 28.03, -64.66)
CIE-LCHlch(51.65, 70.48, 293.44°)
OKLaboklab(59.37% 0.0023 -0.1855)
OKLCHoklch(59.37% 0.186 270.7)
XYZxyz(24.8260, 19.8325, 81.1009)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5771EB #EBD157
analogous
#57BBEB #5771EB #8757EB
triadic
#5771EB #EB5771 #71EB57
tetradic
#5771EB #EB57BB #EBD157 #57EB87
square
#5771EB #EB57BB #EBD157 #57EB87
split-complementary
#5771EB #EB8757 #BBEB57
monochromatic
#1531B2 #2043E4 #5771EB #8E9FF2 #C4CDF8

Accessibility & contrast

On white

4.23
#5771EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#5771EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5771EB
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5771EB#FFFFFF#000000##000000
##5771EB1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2582EF
Deuteranopia (green-blind)
#0075E8
Tritanopia (blue-blind)
#008EA3
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5771eb;
/* rgb */ color: rgb(87, 113, 235);
/* oklch */ color: oklch(59.4% 0.186 270.7);
Tailwind
colors: {
  custom: {
    50: '#9499f2',
    500: '#5771eb',
    950: '#000000',
  },
}
SCSS
$custom: #5771eb;
$custom-light: #9499f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5771eb",
  "rgb": {
    "r": 87,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 229.459,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59374,
    "c": 0.18554,
    "h": 270.7
  },
  "luminance": 0.19835
}

Semantic roles & 50–950 ramp

primary
#5771EB
secondary
#E9E0B4
accent
#B60ADB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #5771EB

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

Preview Lab → · Contrast checker → · Palette generator →

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