#5754EF#5754EF

#5754EF is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.6% C 0.225 H 276.8°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#5754EF
RGBrgb(87, 84, 239)
HSLhsl(241, 83%, 63%)
HSVhsv(241, 65%, 94%)
CMYKcmyk(63.6%, 64.9%, 0%, 6.3%)
CIE-LABlab(45.08, 46.84, -77.59)
CIE-LCHlch(45.08, 90.63, 301.12°)
OKLaboklab(54.6% 0.0265 -0.2238)
OKLCHoklch(54.6% 0.225 276.8)
XYZxyz(22.6757, 14.5970, 83.2672)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5754EF #ECEF54
analogous
#549EEF #5754EF #A454EF
triadic
#5754EF #EF5754 #54EF57
tetradic
#5754EF #EF549E #ECEF54 #54EFA4
square
#5754EF #EF549E #ECEF54 #54EFA4
split-complementary
#5754EF #EFA454 #9EEF54
monochromatic
#1411B7 #201CEA #5754EF #8E8CF4 #C5C4F9

Accessibility & contrast

On white

5.36
#5754EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#5754EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5754EF
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5754EF#FFFFFF#000000##FFFFFF
##5754EF1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F4
Deuteranopia (green-blind)
#0064EC
Tritanopia (blue-blind)
#007C9A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5754ef;
/* rgb */ color: rgb(87, 84, 239);
/* oklch */ color: oklch(54.6% 0.225 276.8);
Tailwind
colors: {
  custom: {
    50: '#9785f5',
    500: '#5754ef',
    950: '#000000',
  },
}
SCSS
$custom: #5754ef;
$custom-light: #9785f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5754ef",
  "rgb": {
    "r": 87,
    "g": 84,
    "b": 239
  },
  "hsl": {
    "h": 241.161,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.54598,
    "c": 0.22532,
    "h": 276.8
  },
  "luminance": 0.14599
}

Semantic roles & 50–950 ramp

primary
#5754EF
secondary
#EAEBB4
accent
#DF06DB
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5754EF

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

Preview Lab → · Contrast checker → · Palette generator →

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