#5754CE#5754CE

#5754CE is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.9% C 0.183 H 279.0°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#5754CE
RGBrgb(87, 84, 206)
HSLhsl(241, 55%, 57%)
HSVhsv(241, 59%, 81%)
CMYKcmyk(57.8%, 59.2%, 0%, 19.2%)
CIE-LABlab(42.49, 36.26, -63.02)
CIE-LCHlch(42.49, 72.71, 299.92°)
OKLaboklab(51.9% 0.0286 -0.181)
OKLCHoklch(51.9% 0.183 279)
XYZxyz(18.2379, 12.8218, 59.8944)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5754CE #CBCE54
analogous
#548ECE #5754CE #9454CE
triadic
#5754CE #CE5754 #54CE57
tetradic
#5754CE #CE548E #CBCE54 #54CE94
square
#5754CE #CE548E #CBCE54 #54CE94
split-complementary
#5754CE #CE9454 #8ECE54
monochromatic
#282582 #3633B2 #5754CE #8684DC #B4B3E9

Accessibility & contrast

On white

5.89
#5754CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#5754CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5754CE
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5754CE#FFFFFF#000000##FFFFFF
##5754CE1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#005FCC
Tritanopia (blue-blind)
#087189
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5754ce;
/* rgb */ color: rgb(87, 84, 206);
/* oklch */ color: oklch(51.9% 0.183 279.0);
Tailwind
colors: {
  custom: {
    50: '#9184de',
    500: '#5754ce',
    950: '#000000',
  },
}
SCSS
$custom: #5754ce;
$custom-light: #9184de;
$custom-dark: #000000;
JSON
{
  "hex": "#5754ce",
  "rgb": {
    "r": 87,
    "g": 84,
    "b": 206
  },
  "hsl": {
    "h": 241.475,
    "s": 55.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51902,
    "c": 0.18324,
    "h": 279
  },
  "luminance": 0.12823
}

Semantic roles & 50–950 ramp

primary
#5754CE
secondary
#D7D8A6
accent
#DF49DB
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5754CE

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

Preview Lab → · Contrast checker → · Palette generator →

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