#5754DC#5754DC

#5754DC is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.0% C 0.201 H 278.0°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5754DC
RGBrgb(87, 84, 220)
HSLhsl(241, 66%, 60%)
HSVhsv(241, 62%, 86%)
CMYKcmyk(60.5%, 61.8%, 0%, 13.7%)
CIE-LABlab(43.56, 40.77, -69.32)
CIE-LCHlch(43.56, 80.42, 300.46°)
OKLaboklab(53.02% 0.028 -0.1995)
OKLCHoklch(53.02% 0.201 278)
XYZxyz(20.0149, 13.5327, 69.2536)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5754DC #D9DC54
analogous
#5495DC #5754DC #9B54DC
triadic
#5754DC #DC5754 #54DC57
tetradic
#5754DC #DC5495 #D9DC54 #54DC9B
square
#5754DC #DC5495 #D9DC54 #54DC9B
split-complementary
#5754DC #DC9B54 #95DC54
monochromatic
#221F97 #2D29CA #5754DC #8987E6 #BBBAF1

Accessibility & contrast

On white

5.67
#5754DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#5754DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5754DC
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5754DC#FFFFFF#000000##FFFFFF
##5754DC1.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#0061D9
Tritanopia (blue-blind)
#007690
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5754dc;
/* rgb */ color: rgb(87, 84, 220);
/* oklch */ color: oklch(53.0% 0.201 278.0);
Tailwind
colors: {
  custom: {
    50: '#9384e8',
    500: '#5754dc',
    950: '#000000',
  },
}
SCSS
$custom: #5754dc;
$custom-light: #9384e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5754dc",
  "rgb": {
    "r": 87,
    "g": 84,
    "b": 220
  },
  "hsl": {
    "h": 241.324,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53015,
    "c": 0.20145,
    "h": 278
  },
  "luminance": 0.13534
}

Semantic roles & 50–950 ramp

primary
#5754DC
secondary
#DFE0AC
accent
#E93FE5
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5754DC

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

Preview Lab → · Contrast checker → · Palette generator →

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