#5754E2#5754E2

#5754E2 is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.5% C 0.209 H 277.6°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#5754E2
RGBrgb(87, 84, 226)
HSLhsl(241, 71%, 61%)
HSVhsv(241, 63%, 89%)
CMYKcmyk(61.5%, 62.8%, 0%, 11.4%)
CIE-LABlab(44.03, 42.69, -71.96)
CIE-LCHlch(44.03, 83.67, 300.68°)
OKLaboklab(53.51% 0.0276 -0.2073)
OKLCHoklch(53.51% 0.209 277.6)
XYZxyz(20.8238, 13.8562, 73.5139)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5754E2 #DFE254
analogous
#5498E2 #5754E2 #9E54E2
triadic
#5754E2 #E25754 #54E257
tetradic
#5754E2 #E25498 #DFE254 #54E29E
square
#5754E2 #E25498 #DFE254 #54E29E
split-complementary
#5754E2 #E29E54 #98E254
monochromatic
#1E1BA0 #2824D5 #5754E2 #8A88EB #BEBDF4

Accessibility & contrast

On white

5.57
#5754E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#5754E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5754E2
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5754E2#FFFFFF#000000##FFFFFF
##5754E21.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#0062DF
Tritanopia (blue-blind)
#007893
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5754e2;
/* rgb */ color: rgb(87, 84, 226);
/* oklch */ color: oklch(53.5% 0.209 277.6);
Tailwind
colors: {
  custom: {
    50: '#9485ec',
    500: '#5754e2',
    950: '#000000',
  },
}
SCSS
$custom: #5754e2;
$custom-light: #9485ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5754e2",
  "rgb": {
    "r": 87,
    "g": 84,
    "b": 226
  },
  "hsl": {
    "h": 241.268,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.53506,
    "c": 0.20909,
    "h": 277.6
  },
  "luminance": 0.13858
}

Semantic roles & 50–950 ramp

primary
#5754E2
secondary
#E3E4AE
accent
#D312CF
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5754E2

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

Preview Lab → · Contrast checker → · Palette generator →

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