#5754DB#5754DB

#5754DB is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 52.9% C 0.200 H 278.1°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#5754DB
RGBrgb(87, 84, 219)
HSLhsl(241, 65%, 59%)
HSVhsv(241, 62%, 86%)
CMYKcmyk(60.3%, 61.6%, 0%, 14.1%)
CIE-LABlab(43.48, 40.44, -68.87)
CIE-LCHlch(43.48, 79.87, 300.42°)
OKLaboklab(52.93% 0.0281 -0.1982)
OKLCHoklch(52.93% 0.2 278.1)
XYZxyz(19.8829, 13.4799, 68.5582)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5754DB #D8DB54
analogous
#5495DB #5754DB #9A54DB
triadic
#5754DB #DB5754 #54DB57
tetradic
#5754DB #DB5495 #D8DB54 #54DB9A
square
#5754DB #DB5495 #D8DB54 #54DB9A
split-complementary
#5754DB #DB9A54 #95DB54
monochromatic
#221F95 #2E2AC8 #5754DB #8987E6 #BAB9F0

Accessibility & contrast

On white

5.68
#5754DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#5754DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5754DB
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5754DB#FFFFFF#000000##FFFFFF
##5754DB1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5754db;
/* rgb */ color: rgb(87, 84, 219);
/* oklch */ color: oklch(52.9% 0.200 278.1);
Tailwind
colors: {
  custom: {
    50: '#9384e7',
    500: '#5754db',
    950: '#000000',
  },
}
SCSS
$custom: #5754db;
$custom-light: #9384e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5754db",
  "rgb": {
    "r": 87,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 241.333,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.52934,
    "c": 0.20017,
    "h": 278.1
  },
  "luminance": 0.13481
}

Semantic roles & 50–950 ramp

primary
#5754DB
secondary
#DFE0AB
accent
#E840E4
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5754DB

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

Preview Lab → · Contrast checker → · Palette generator →

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