#5754DF#5754DF

#5754DF is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.3% C 0.205 H 277.8°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#5754DF
RGBrgb(87, 84, 223)
HSLhsl(241, 68%, 60%)
HSVhsv(241, 62%, 87%)
CMYKcmyk(61%, 62.3%, 0%, 12.5%)
CIE-LABlab(43.79, 41.73, -70.64)
CIE-LCHlch(43.79, 82.05, 300.57°)
OKLaboklab(53.26% 0.0278 -0.2034)
OKLCHoklch(53.26% 0.205 277.8)
XYZxyz(20.4158, 13.6930, 71.3649)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5754DF #DCDF54
analogous
#5496DF #5754DF #9C54DF
triadic
#5754DF #DF5754 #54DF57
tetradic
#5754DF #DF5496 #DCDF54 #54DF9C
square
#5754DF #DF5496 #DCDF54 #54DF9C
split-complementary
#5754DF #DF9C54 #96DF54
monochromatic
#201D9C #2A27CF #5754DF #8A88E9 #BCBBF2

Accessibility & contrast

On white

5.62
#5754DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#5754DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5754DF
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5754DF#FFFFFF#000000##FFFFFF
##5754DF1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE3
Deuteranopia (green-blind)
#0062DC
Tritanopia (blue-blind)
#007792
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5754df;
/* rgb */ color: rgb(87, 84, 223);
/* oklch */ color: oklch(53.3% 0.205 277.8);
Tailwind
colors: {
  custom: {
    50: '#9484ea',
    500: '#5754df',
    950: '#000000',
  },
}
SCSS
$custom: #5754df;
$custom-light: #9484ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5754df",
  "rgb": {
    "r": 87,
    "g": 84,
    "b": 223
  },
  "hsl": {
    "h": 241.295,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5326,
    "c": 0.20528,
    "h": 277.8
  },
  "luminance": 0.13695
}

Semantic roles & 50–950 ramp

primary
#5754DF
secondary
#E1E2AD
accent
#D015CC
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5754DF

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

Preview Lab → · Contrast checker → · Palette generator →

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