#5754E7#5754E7

#5754E7 is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 53.9% C 0.215 H 277.3°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#5754E7
RGBrgb(87, 84, 231)
HSLhsl(241, 75%, 62%)
HSVhsv(241, 64%, 91%)
CMYKcmyk(62.3%, 63.6%, 0%, 9.4%)
CIE-LABlab(44.43, 44.29, -74.14)
CIE-LCHlch(44.43, 86.36, 300.85°)
OKLaboklab(53.92% 0.0272 -0.2137)
OKLCHoklch(53.92% 0.215 277.3)
XYZxyz(21.5199, 14.1347, 77.1800)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5754E7 #E4E754
analogous
#549BE7 #5754E7 #A054E7
triadic
#5754E7 #E75754 #54E757
tetradic
#5754E7 #E7549B #E4E754 #54E7A0
square
#5754E7 #E7549B #E4E754 #54E7A0
split-complementary
#5754E7 #E7A054 #9BE754
monochromatic
#1B18A9 #231FDF #5754E7 #8C8AEF #C0BFF6

Accessibility & contrast

On white

5.49
#5754E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#5754E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5754E7
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5754E7#FFFFFF#000000##FFFFFF
##5754E71.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEC
Deuteranopia (green-blind)
#0063E4
Tritanopia (blue-blind)
#007A96
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5754e7;
/* rgb */ color: rgb(87, 84, 231);
/* oklch */ color: oklch(53.9% 0.215 277.3);
Tailwind
colors: {
  custom: {
    50: '#9585f0',
    500: '#5754e7',
    950: '#000000',
  },
}
SCSS
$custom: #5754e7;
$custom-light: #9585f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5754e7",
  "rgb": {
    "r": 87,
    "g": 84,
    "b": 231
  },
  "hsl": {
    "h": 241.224,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.53922,
    "c": 0.21539,
    "h": 277.3
  },
  "luminance": 0.14136
}

Semantic roles & 50–950 ramp

primary
#5754E7
secondary
#E6E7B0
accent
#D80ED3
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B17
muted
#7E7C85

Preview Lab

Preview with #5754E7

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

Preview Lab → · Contrast checker → · Palette generator →

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