#5756E2#5756E2

#5756E2 is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 53.8% C 0.207 H 277.2°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#5756E2
RGBrgb(87, 86, 226)
HSLhsl(240, 71%, 61%)
HSVhsv(240, 62%, 89%)
CMYKcmyk(61.5%, 61.9%, 0%, 11.4%)
CIE-LABlab(44.48, 41.50, -71.23)
CIE-LCHlch(44.48, 82.44, 300.23°)
OKLaboklab(53.84% 0.026 -0.2051)
OKLCHoklch(53.84% 0.207 277.2)
XYZxyz(20.9813, 14.1711, 73.5664)
Luminance0.1417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5756E2 #E1E256
analogous
#569BE2 #5756E2 #9D56E2
triadic
#5756E2 #E25756 #56E257
tetradic
#5756E2 #E2569B #E1E256 #56E29D
square
#5756E2 #E2569B #E1E256 #56E29D
split-complementary
#5756E2 #E29D56 #9BE256
monochromatic
#1D1CA2 #2625D6 #5756E2 #8B8AEB #BFBEF4

Accessibility & contrast

On white

5.48
#5756E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#5756E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5756E2
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5756E2#FFFFFF#000000##FFFFFF
##5756E21.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE7
Deuteranopia (green-blind)
#0063DF
Tritanopia (blue-blind)
#007994
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5756e2;
/* rgb */ color: rgb(87, 86, 226);
/* oklch */ color: oklch(53.8% 0.207 277.2);
Tailwind
colors: {
  custom: {
    50: '#9486ec',
    500: '#5756e2',
    950: '#000000',
  },
}
SCSS
$custom: #5756e2;
$custom-light: #9486ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5756e2",
  "rgb": {
    "r": 87,
    "g": 86,
    "b": 226
  },
  "hsl": {
    "h": 240.429,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.53837,
    "c": 0.20672,
    "h": 277.2
  },
  "luminance": 0.14173
}

Semantic roles & 50–950 ramp

primary
#5756E2
secondary
#E4E4B0
accent
#D313D1
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5756E2

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

Preview Lab → · Contrast checker → · Palette generator →

#5756E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva