#5756E3#5756E3

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

Color values

HEX#5756E3
RGBrgb(87, 86, 227)
HSLhsl(240, 72%, 61%)
HSVhsv(240, 62%, 89%)
CMYKcmyk(61.7%, 62.1%, 0%, 11%)
CIE-LABlab(44.56, 41.83, -71.67)
CIE-LCHlch(44.56, 82.98, 300.27°)
OKLaboklab(53.92% 0.0259 -0.2064)
OKLCHoklch(53.92% 0.208 277.2)
XYZxyz(21.1189, 14.2262, 74.2912)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5756E3 #E2E356
analogous
#569CE3 #5756E3 #9E56E3
triadic
#5756E3 #E35756 #56E357
tetradic
#5756E3 #E3569C #E2E356 #56E39E
square
#5756E3 #E3569C #E2E356 #56E39E
split-complementary
#5756E3 #E39E56 #9CE356
monochromatic
#1C1BA4 #2524D8 #5756E3 #8B8BEC #BFBFF4

Accessibility & contrast

On white

5.46
#5756E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#5756E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5756E3
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5756E3#FFFFFF#000000##FFFFFF
##5756E31.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5756e3;
/* rgb */ color: rgb(87, 86, 227);
/* oklch */ color: oklch(53.9% 0.208 277.2);
Tailwind
colors: {
  custom: {
    50: '#9486ed',
    500: '#5756e3',
    950: '#000000',
  },
}
SCSS
$custom: #5756e3;
$custom-light: #9486ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5756e3",
  "rgb": {
    "r": 87,
    "g": 86,
    "b": 227
  },
  "hsl": {
    "h": 240.426,
    "s": 71.574,
    "l": 61.373
  },
  "oklch": {
    "l": 0.53918,
    "c": 0.208,
    "h": 277.2
  },
  "luminance": 0.14228
}

Semantic roles & 50–950 ramp

primary
#5756E3
secondary
#E4E5B0
accent
#D412D2
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5756E3

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

Preview Lab → · Contrast checker → · Palette generator →

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