#5D52DF#5D52DF

#5D52DF is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.4% C 0.207 H 280.3°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#5D52DF
RGBrgb(93, 82, 223)
HSLhsl(245, 69%, 60%)
HSVhsv(245, 63%, 87%)
CMYKcmyk(58.3%, 63.2%, 0%, 12.5%)
CIE-LABlab(43.78, 43.85, -70.64)
CIE-LCHlch(43.78, 83.14, 301.83°)
OKLaboklab(53.37% 0.0369 -0.2032)
OKLCHoklch(53.37% 0.207 280.3)
XYZxyz(20.8466, 13.6880, 71.3413)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D52DF #D4DF52
analogous
#528DDF #5D52DF #A452DF
triadic
#5D52DF #DF5D52 #52DF5D
tetradic
#5D52DF #DF528D #D4DF52 #52DFA4
square
#5D52DF #DF528D #D4DF52 #52DFA4
split-complementary
#5D52DF #DFA452 #8DDF52
monochromatic
#261D9A #3326CE #5D52DF #8D86E9 #BEB9F2

Accessibility & contrast

On white

5.62
#5D52DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#5D52DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D52DF
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D52DF#FFFFFF#000000##FFFFFF
##5D52DF1.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)
#007591
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5d52df;
/* rgb */ color: rgb(93, 82, 223);
/* oklch */ color: oklch(53.4% 0.207 280.3);
Tailwind
colors: {
  custom: {
    50: '#9783ea',
    500: '#5d52df',
    950: '#000000',
  },
}
SCSS
$custom: #5d52df;
$custom-light: #9783ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5d52df",
  "rgb": {
    "r": 93,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 244.681,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53366,
    "c": 0.20652,
    "h": 280.3
  },
  "luminance": 0.13689
}

Semantic roles & 50–950 ramp

primary
#5D52DF
secondary
#DDE2AB
accent
#EC3CDE
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5D52DF

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

Preview Lab → · Contrast checker → · Palette generator →

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