#5D54DF#5D54DF

#5D54DF is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 53.7% C 0.204 H 279.9°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#5D54DF
RGBrgb(93, 84, 223)
HSLhsl(244, 68%, 60%)
HSVhsv(244, 62%, 87%)
CMYKcmyk(58.3%, 62.3%, 0%, 12.5%)
CIE-LABlab(44.22, 42.68, -69.92)
CIE-LCHlch(44.22, 81.91, 301.40°)
OKLaboklab(53.69% 0.0351 -0.2011)
OKLCHoklch(53.69% 0.204 279.9)
XYZxyz(20.9996, 13.9940, 71.3923)
Luminance0.1400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D54DF #D6DF54
analogous
#5490DF #5D54DF #A354DF
triadic
#5D54DF #DF5D54 #54DF5D
tetradic
#5D54DF #DF5490 #D6DF54 #54DFA3
square
#5D54DF #DF5490 #D6DF54 #54DFA3
split-complementary
#5D54DF #DFA354 #90DF54
monochromatic
#251D9C #3227CF #5D54DF #8E88E9 #BFBBF2

Accessibility & contrast

On white

5.53
#5D54DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#5D54DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D54DF
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D54DF#FFFFFF#000000##FFFFFF
##5D54DF1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE3
Deuteranopia (green-blind)
#0063DC
Tritanopia (blue-blind)
#007792
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5d54df;
/* rgb */ color: rgb(93, 84, 223);
/* oklch */ color: oklch(53.7% 0.204 279.9);
Tailwind
colors: {
  custom: {
    50: '#9785ea',
    500: '#5d54df',
    950: '#000000',
  },
}
SCSS
$custom: #5d54df;
$custom-light: #9785ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5d54df",
  "rgb": {
    "r": 93,
    "g": 84,
    "b": 223
  },
  "hsl": {
    "h": 243.885,
    "s": 68.473,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53689,
    "c": 0.20412,
    "h": 279.9
  },
  "luminance": 0.13996
}

Semantic roles & 50–950 ramp

primary
#5D54DF
secondary
#DFE2AD
accent
#D015C4
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5D54DF

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

Preview Lab → · Contrast checker → · Palette generator →

#5D54DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva