#5754DA#5754DA

#5754DA is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.9% C 0.199 H 278.1°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#5754DA
RGBrgb(87, 84, 218)
HSLhsl(241, 64%, 59%)
HSVhsv(241, 61%, 85%)
CMYKcmyk(60.1%, 61.5%, 0%, 14.5%)
CIE-LABlab(43.40, 40.12, -68.43)
CIE-LCHlch(43.40, 79.32, 300.39°)
OKLaboklab(52.85% 0.0281 -0.1969)
OKLCHoklch(52.85% 0.199 278.1)
XYZxyz(19.7516, 13.4274, 67.8670)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5754DA #D7DA54
analogous
#5494DA #5754DA #9A54DA
triadic
#5754DA #DA5754 #54DA57
tetradic
#5754DA #DA5494 #D7DA54 #54DA9A
square
#5754DA #DA5494 #D7DA54 #54DA9A
split-complementary
#5754DA #DA9A54 #94DA54
monochromatic
#232094 #2E2BC6 #5754DA #8886E5 #BAB9F0

Accessibility & contrast

On white

5.70
#5754DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#5754DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5754DA
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5754DA#FFFFFF#000000##FFFFFF
##5754DA1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDE
Deuteranopia (green-blind)
#0061D7
Tritanopia (blue-blind)
#00758F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5754da;
/* rgb */ color: rgb(87, 84, 218);
/* oklch */ color: oklch(52.9% 0.199 278.1);
Tailwind
colors: {
  custom: {
    50: '#9384e6',
    500: '#5754da',
    950: '#000000',
  },
}
SCSS
$custom: #5754da;
$custom-light: #9384e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5754da",
  "rgb": {
    "r": 87,
    "g": 84,
    "b": 218
  },
  "hsl": {
    "h": 241.343,
    "s": 64.423,
    "l": 59.216
  },
  "oklch": {
    "l": 0.52853,
    "c": 0.19888,
    "h": 278.1
  },
  "luminance": 0.13429
}

Semantic roles & 50–950 ramp

primary
#5754DA
secondary
#DEDFAB
accent
#E740E4
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5754DA

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

Preview Lab → · Contrast checker → · Palette generator →

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