#5771F2#5771F2

#5771F2 is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.9% C 0.195 H 270.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#5771F2
RGBrgb(87, 113, 242)
HSLhsl(230, 86%, 65%)
HSVhsv(230, 64%, 95%)
CMYKcmyk(64%, 53.3%, 0%, 5.1%)
CIE-LABlab(52.11, 30.39, -67.82)
CIE-LCHlch(52.11, 74.32, 294.14°)
OKLaboklab(59.87% 0.0028 -0.1948)
OKLCHoklch(59.87% 0.195 270.8)
XYZxyz(25.8572, 20.2450, 86.5322)
Luminance0.2025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5771F2 #F2D857
analogous
#57BFF2 #5771F2 #8A57F2
triadic
#5771F2 #F25771 #71F257
tetradic
#5771F2 #F257BF #F2D857 #57F28A
square
#5771F2 #F257BF #F2D857 #57F28A
split-complementary
#5771F2 #F28A57 #BFF257
monochromatic
#0F2DC0 #1E41EE #5771F2 #90A1F6 #C9D1FB

Accessibility & contrast

On white

4.16
#5771F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#5771F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5771F2
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5771F2#FFFFFF#000000##000000
##5771F21.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1384F6
Deuteranopia (green-blind)
#0076EF
Tritanopia (blue-blind)
#0090A7
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5771f2;
/* rgb */ color: rgb(87, 113, 242);
/* oklch */ color: oklch(59.9% 0.195 270.8);
Tailwind
colors: {
  custom: {
    50: '#9599f7',
    500: '#5771f2',
    950: '#000000',
  },
}
SCSS
$custom: #5771f2;
$custom-light: #9599f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5771f2",
  "rgb": {
    "r": 87,
    "g": 113,
    "b": 242
  },
  "hsl": {
    "h": 229.935,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.59873,
    "c": 0.19484,
    "h": 270.8
  },
  "luminance": 0.20247
}

Semantic roles & 50–950 ramp

primary
#5771F2
secondary
#EDE4B8
accent
#BD03E2
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5771F2

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

Preview Lab → · Contrast checker → · Palette generator →

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