#5771F5#5771F5

#5771F5 is a mid, vivid blue. Relative luminance 0.204; OKLCH L 60.1% C 0.199 H 270.8°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#5771F5
RGBrgb(87, 113, 245)
HSLhsl(230, 89%, 65%)
HSVhsv(230, 64%, 96%)
CMYKcmyk(64.5%, 53.9%, 0%, 3.9%)
CIE-LABlab(52.32, 31.40, -69.16)
CIE-LCHlch(52.32, 75.95, 294.42°)
OKLaboklab(60.09% 0.0029 -0.1988)
OKLCHoklch(60.09% 0.199 270.8)
XYZxyz(26.3115, 20.4267, 88.9246)
Luminance0.2043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5771F5 #F5DB57
analogous
#57C0F5 #5771F5 #8C57F5
triadic
#5771F5 #F55771 #71F557
tetradic
#5771F5 #F557C0 #F5DB57 #57F58C
square
#5771F5 #F557C0 #F5DB57 #57F58C
split-complementary
#5771F5 #F58C57 #C0F557
monochromatic
#0C2AC6 #1D40F2 #5771F5 #91A2F8 #CBD3FC

Accessibility & contrast

On white

4.13
#5771F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#5771F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5771F5
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5771F5#FFFFFF#000000##000000
##5771F51.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0484FA
Deuteranopia (green-blind)
#0076F2
Tritanopia (blue-blind)
#0090A8
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5771f5;
/* rgb */ color: rgb(87, 113, 245);
/* oklch */ color: oklch(60.1% 0.199 270.8);
Tailwind
colors: {
  custom: {
    50: '#9699f9',
    500: '#5771f5',
    950: '#000000',
  },
}
SCSS
$custom: #5771f5;
$custom-light: #9699f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5771f5",
  "rgb": {
    "r": 87,
    "g": 113,
    "b": 245
  },
  "hsl": {
    "h": 230.127,
    "s": 88.764,
    "l": 65.098
  },
  "oklch": {
    "l": 0.6009,
    "c": 0.19878,
    "h": 270.8
  },
  "luminance": 0.20429
}

Semantic roles & 50–950 ramp

primary
#5771F5
secondary
#EFE6B9
accent
#C000E5
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5771F5

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

Preview Lab → · Contrast checker → · Palette generator →

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