#5771F3#5771F3

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

Color values

HEX#5771F3
RGBrgb(87, 113, 243)
HSLhsl(230, 87%, 65%)
HSVhsv(230, 64%, 95%)
CMYKcmyk(64.2%, 53.5%, 0%, 4.7%)
CIE-LABlab(52.18, 30.73, -68.27)
CIE-LCHlch(52.18, 74.86, 294.23°)
OKLaboklab(59.95% 0.0028 -0.1961)
OKLCHoklch(59.95% 0.196 270.8)
XYZxyz(26.0078, 20.3052, 87.3254)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5771F3 #F3D957
analogous
#57BFF3 #5771F3 #8B57F3
triadic
#5771F3 #F35771 #71F357
tetradic
#5771F3 #F357BF #F3D957 #57F38B
square
#5771F3 #F357BF #F3D957 #57F38B
split-complementary
#5771F3 #F38B57 #BFF357
monochromatic
#0E2CC2 #1E41EF #5771F3 #90A1F7 #C9D2FB

Accessibility & contrast

On white

4.15
#5771F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#5771F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5771F3
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5771F3#FFFFFF#000000##000000
##5771F31.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F84F8
Deuteranopia (green-blind)
#0076F0
Tritanopia (blue-blind)
#0090A7
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5771f3;
/* rgb */ color: rgb(87, 113, 243);
/* oklch */ color: oklch(59.9% 0.196 270.8);
Tailwind
colors: {
  custom: {
    50: '#9699f8',
    500: '#5771f3',
    950: '#000000',
  },
}
SCSS
$custom: #5771f3;
$custom-light: #9699f8;
$custom-dark: #000000;
JSON
{
  "hex": "#5771f3",
  "rgb": {
    "r": 87,
    "g": 113,
    "b": 243
  },
  "hsl": {
    "h": 230,
    "s": 86.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.59945,
    "c": 0.19615,
    "h": 270.8
  },
  "luminance": 0.20308
}

Semantic roles & 50–950 ramp

primary
#5771F3
secondary
#EEE5B8
accent
#BE02E3
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5771F3

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

Preview Lab → · Contrast checker → · Palette generator →

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