#5754E5#5754E5

#5754E5 is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 53.8% C 0.213 H 277.4°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#5754E5
RGBrgb(87, 84, 229)
HSLhsl(241, 74%, 61%)
HSVhsv(241, 63%, 90%)
CMYKcmyk(62%, 63.3%, 0%, 10.2%)
CIE-LABlab(44.26, 43.65, -73.27)
CIE-LCHlch(44.26, 85.29, 300.78°)
OKLaboklab(53.76% 0.0274 -0.2111)
OKLCHoklch(53.76% 0.213 277.4)
XYZxyz(21.2391, 14.0223, 75.7009)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5754E5 #E2E554
analogous
#549AE5 #5754E5 #A054E5
triadic
#5754E5 #E55754 #54E557
tetradic
#5754E5 #E5549A #E2E554 #54E5A0
square
#5754E5 #E5549A #E2E554 #54E5A0
split-complementary
#5754E5 #E5A054 #9AE554
monochromatic
#1C19A5 #2521DB #5754E5 #8B89ED #BFBEF5

Accessibility & contrast

On white

5.52
#5754E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#5754E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5754E5
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5754E5#FFFFFF#000000##FFFFFF
##5754E51.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEA
Deuteranopia (green-blind)
#0063E2
Tritanopia (blue-blind)
#007995
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5754e5;
/* rgb */ color: rgb(87, 84, 229);
/* oklch */ color: oklch(53.8% 0.213 277.4);
Tailwind
colors: {
  custom: {
    50: '#9585ee',
    500: '#5754e5',
    950: '#000000',
  },
}
SCSS
$custom: #5754e5;
$custom-light: #9585ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5754e5",
  "rgb": {
    "r": 87,
    "g": 84,
    "b": 229
  },
  "hsl": {
    "h": 241.241,
    "s": 73.604,
    "l": 61.373
  },
  "oklch": {
    "l": 0.53755,
    "c": 0.21287,
    "h": 277.4
  },
  "luminance": 0.14024
}

Semantic roles & 50–950 ramp

primary
#5754E5
secondary
#E4E6AF
accent
#D610D2
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B17
muted
#7E7C85

Preview Lab

Preview with #5754E5

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

Preview Lab → · Contrast checker → · Palette generator →

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