#5771EF#5771EF

#5771EF is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.7% C 0.191 H 270.8°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#5771EF
RGBrgb(87, 113, 239)
HSLhsl(230, 83%, 64%)
HSVhsv(230, 64%, 94%)
CMYKcmyk(63.6%, 52.7%, 0%, 6.3%)
CIE-LABlab(51.91, 29.38, -66.47)
CIE-LCHlch(51.91, 72.67, 293.84°)
OKLaboklab(59.66% 0.0026 -0.1908)
OKLCHoklch(59.66% 0.191 270.8)
XYZxyz(25.4103, 20.0662, 84.1787)
Luminance0.2007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5771EF #EFD557
analogous
#57BDEF #5771EF #8957EF
triadic
#5771EF #EF5771 #71EF57
tetradic
#5771EF #EF57BD #EFD557 #57EF89
square
#5771EF #EF57BD #EFD557 #57EF89
split-complementary
#5771EF #EF8957 #BDEF57
monochromatic
#122EBA #1F42EA #5771EF #8FA0F4 #C7CFFA

Accessibility & contrast

On white

4.19
#5771EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#5771EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5771EF
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5771EF#FFFFFF#000000##000000
##5771EF1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C83F3
Deuteranopia (green-blind)
#0075EC
Tritanopia (blue-blind)
#008FA5
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5771ef;
/* rgb */ color: rgb(87, 113, 239);
/* oklch */ color: oklch(59.7% 0.191 270.8);
Tailwind
colors: {
  custom: {
    50: '#9599f5',
    500: '#5771ef',
    950: '#000000',
  },
}
SCSS
$custom: #5771ef;
$custom-light: #9599f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5771ef",
  "rgb": {
    "r": 87,
    "g": 113,
    "b": 239
  },
  "hsl": {
    "h": 229.737,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.59658,
    "c": 0.19087,
    "h": 270.8
  },
  "luminance": 0.20068
}

Semantic roles & 50–950 ramp

primary
#5771EF
secondary
#ECE2B6
accent
#BA06DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5771EF

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

Preview Lab → · Contrast checker → · Palette generator →

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