#5771F6#5771F6

#5771F6 is a mid, highly saturated blue. Relative luminance 0.205; OKLCH L 60.2% C 0.200 H 270.9°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#5771F6
RGBrgb(87, 113, 246)
HSLhsl(230, 90%, 65%)
HSVhsv(230, 65%, 96%)
CMYKcmyk(64.6%, 54.1%, 0%, 3.5%)
CIE-LABlab(52.38, 31.74, -69.61)
CIE-LCHlch(52.38, 76.50, 294.51°)
OKLaboklab(60.16% 0.003 -0.2001)
OKLCHoklch(60.16% 0.2 270.9)
XYZxyz(26.4645, 20.4879, 89.7308)
Luminance0.2049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5771F6 #F6DC57
analogous
#57C0F6 #5771F6 #8D57F6
triadic
#5771F6 #F65771 #71F657
tetradic
#5771F6 #F657C0 #F6DC57 #57F68D
square
#5771F6 #F657C0 #F6DC57 #57F68D
split-complementary
#5771F6 #F68D57 #C0F657
monochromatic
#0B2AC8 #1D40F3 #5771F6 #91A2F9 #CBD3FC

Accessibility & contrast

On white

4.12
#5771F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#5771F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5771F6
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5771F6#FFFFFF#000000##000000
##5771F61.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FB
Deuteranopia (green-blind)
#0076F3
Tritanopia (blue-blind)
#0091A9
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5771f6;
/* rgb */ color: rgb(87, 113, 246);
/* oklch */ color: oklch(60.2% 0.200 270.9);
Tailwind
colors: {
  custom: {
    50: '#9699fa',
    500: '#5771f6',
    950: '#000000',
  },
}
SCSS
$custom: #5771f6;
$custom-light: #9699fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5771f6",
  "rgb": {
    "r": 87,
    "g": 113,
    "b": 246
  },
  "hsl": {
    "h": 230.189,
    "s": 89.831,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60163,
    "c": 0.2001,
    "h": 270.9
  },
  "luminance": 0.2049
}

Semantic roles & 50–950 ramp

primary
#5771F6
secondary
#EFE6BA
accent
#C000E6
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5771F6

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

Preview Lab → · Contrast checker → · Palette generator →

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