#5754EB#5754EB

#5754EB is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.3% C 0.220 H 277.0°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#5754EB
RGBrgb(87, 84, 235)
HSLhsl(241, 79%, 63%)
HSVhsv(241, 64%, 92%)
CMYKcmyk(63%, 64.3%, 0%, 7.8%)
CIE-LABlab(44.75, 45.57, -75.87)
CIE-LCHlch(44.75, 88.51, 300.99°)
OKLaboklab(54.26% 0.0269 -0.2187)
OKLCHoklch(54.26% 0.22 277)
XYZxyz(22.0913, 14.3632, 80.1894)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5754EB #E8EB54
analogous
#549DEB #5754EB #A254EB
triadic
#5754EB #EB5754 #54EB57
tetradic
#5754EB #EB549D #E8EB54 #54EBA2
square
#5754EB #EB549D #E8EB54 #54EBA2
split-complementary
#5754EB #EBA254 #9DEB54
monochromatic
#1815B0 #211DE5 #5754EB #8D8BF1 #C3C2F8

Accessibility & contrast

On white

5.42
#5754EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#5754EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5754EB
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5754EB#FFFFFF#000000##FFFFFF
##5754EB1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5754eb;
/* rgb */ color: rgb(87, 84, 235);
/* oklch */ color: oklch(54.3% 0.220 277.0);
Tailwind
colors: {
  custom: {
    50: '#9685f3',
    500: '#5754eb',
    950: '#000000',
  },
}
SCSS
$custom: #5754eb;
$custom-light: #9685f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5754eb",
  "rgb": {
    "r": 87,
    "g": 84,
    "b": 235
  },
  "hsl": {
    "h": 241.192,
    "s": 79.058,
    "l": 62.549
  },
  "oklch": {
    "l": 0.54258,
    "c": 0.22037,
    "h": 277
  },
  "luminance": 0.14365
}

Semantic roles & 50–950 ramp

primary
#5754EB
secondary
#E8E9B2
accent
#DB0AD7
background
#FAF8FF
surface
#F3EFFE
border
#CDCAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5754EB

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

Preview Lab → · Contrast checker → · Palette generator →

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