#5754EA#5754EA

#5754EA is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 54.2% C 0.219 H 277.1°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#5754EA
RGBrgb(87, 84, 234)
HSLhsl(241, 78%, 62%)
HSVhsv(241, 64%, 92%)
CMYKcmyk(62.8%, 64.1%, 0%, 8.2%)
CIE-LABlab(44.67, 45.25, -75.44)
CIE-LCHlch(44.67, 87.97, 300.96°)
OKLaboklab(54.17% 0.027 -0.2175)
OKLCHoklch(54.17% 0.219 277.1)
XYZxyz(21.9473, 14.3056, 79.4306)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5754EA #E7EA54
analogous
#549CEA #5754EA #A254EA
triadic
#5754EA #EA5754 #54EA57
tetradic
#5754EA #EA549C #E7EA54 #54EAA2
square
#5754EA #EA549C #E7EA54 #54EAA2
split-complementary
#5754EA #EAA254 #9CEA54
monochromatic
#1815AE #211DE3 #5754EA #8D8BF1 #C2C1F7

Accessibility & contrast

On white

5.44
#5754EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#5754EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5754EA
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5754EA#FFFFFF#000000##FFFFFF
##5754EA1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EF
Deuteranopia (green-blind)
#0063E7
Tritanopia (blue-blind)
#007B98
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5754ea;
/* rgb */ color: rgb(87, 84, 234);
/* oklch */ color: oklch(54.2% 0.219 277.1);
Tailwind
colors: {
  custom: {
    50: '#9685f2',
    500: '#5754ea',
    950: '#000000',
  },
}
SCSS
$custom: #5754ea;
$custom-light: #9685f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5754ea",
  "rgb": {
    "r": 87,
    "g": 84,
    "b": 234
  },
  "hsl": {
    "h": 241.2,
    "s": 78.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.54174,
    "c": 0.21913,
    "h": 277.1
  },
  "luminance": 0.14307
}

Semantic roles & 50–950 ramp

primary
#5754EA
secondary
#E7E8B2
accent
#DA0BD6
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5754EA

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

Preview Lab → · Contrast checker → · Palette generator →

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