#5754E8#5754E8

#5754E8 is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 54.0% C 0.217 H 277.2°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#5754E8
RGBrgb(87, 84, 232)
HSLhsl(241, 76%, 62%)
HSVhsv(241, 64%, 91%)
CMYKcmyk(62.5%, 63.8%, 0%, 9%)
CIE-LABlab(44.51, 44.61, -74.58)
CIE-LCHlch(44.51, 86.90, 300.89°)
OKLaboklab(54.01% 0.0271 -0.2149)
OKLCHoklch(54.01% 0.217 277.2)
XYZxyz(21.6616, 14.1913, 77.9260)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5754E8 #E5E854
analogous
#549BE8 #5754E8 #A154E8
triadic
#5754E8 #E85754 #54E857
tetradic
#5754E8 #E8549B #E5E854 #54E8A1
square
#5754E8 #E8549B #E5E854 #54E8A1
split-complementary
#5754E8 #E8A154 #9BE854
monochromatic
#1A17AB #221EE1 #5754E8 #8C8AEF #C1C0F7

Accessibility & contrast

On white

5.47
#5754E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#5754E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5754E8
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5754E8#FFFFFF#000000##FFFFFF
##5754E81.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070ED
Deuteranopia (green-blind)
#0063E5
Tritanopia (blue-blind)
#007A96
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5754e8;
/* rgb */ color: rgb(87, 84, 232);
/* oklch */ color: oklch(54.0% 0.217 277.2);
Tailwind
colors: {
  custom: {
    50: '#9685f0',
    500: '#5754e8',
    950: '#000000',
  },
}
SCSS
$custom: #5754e8;
$custom-light: #9685f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5754e8",
  "rgb": {
    "r": 87,
    "g": 84,
    "b": 232
  },
  "hsl": {
    "h": 241.216,
    "s": 76.289,
    "l": 61.961
  },
  "oklch": {
    "l": 0.54006,
    "c": 0.21664,
    "h": 277.2
  },
  "luminance": 0.14193
}

Semantic roles & 50–950 ramp

primary
#5754E8
secondary
#E6E7B1
accent
#D80DD4
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5754E8

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

Preview Lab → · Contrast checker → · Palette generator →

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