#5771DF#5771DF

#5771DF is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.5% C 0.169 H 270.4°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#5771DF
RGBrgb(87, 113, 223)
HSLhsl(229, 68%, 61%)
HSVhsv(229, 61%, 87%)
CMYKcmyk(61%, 49.3%, 0%, 12.5%)
CIE-LABlab(50.88, 23.99, -59.16)
CIE-LCHlch(50.88, 63.84, 292.08°)
OKLaboklab(58.55% 0.0012 -0.1693)
OKLCHoklch(58.55% 0.169 270.4)
XYZxyz(23.1504, 19.1623, 72.2764)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5771DF #DFC557
analogous
#57B5DF #5771DF #8157DF
triadic
#5771DF #DF5771 #71DF57
tetradic
#5771DF #DF57B5 #DFC557 #57DF81
square
#5771DF #DF57B5 #DFC557 #57DF81
split-complementary
#5771DF #DF8157 #B5DF57
monochromatic
#1E369E #2848D1 #5771DF #8A9CE9 #BEC8F3

Accessibility & contrast

On white

4.35
#5771DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#5771DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5771DF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5771DF#FFFFFF#000000##000000
##5771DF1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#367FE3
Deuteranopia (green-blind)
#1873DD
Tritanopia (blue-blind)
#008A9D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5771df;
/* rgb */ color: rgb(87, 113, 223);
/* oklch */ color: oklch(58.5% 0.169 270.4);
Tailwind
colors: {
  custom: {
    50: '#9299ea',
    500: '#5771df',
    950: '#000000',
  },
}
SCSS
$custom: #5771df;
$custom-light: #9299ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5771df",
  "rgb": {
    "r": 87,
    "g": 113,
    "b": 223
  },
  "hsl": {
    "h": 228.529,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58545,
    "c": 0.16934,
    "h": 270.4
  },
  "luminance": 0.19164
}

Semantic roles & 50–950 ramp

primary
#5771DF
secondary
#E3D9AF
accent
#AC16D0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5771DF

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

Preview Lab → · Contrast checker → · Palette generator →

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