#5D52E8#5D52E8

#5D52E8 is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 54.1% C 0.218 H 279.5°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#5D52E8
RGBrgb(93, 82, 232)
HSLhsl(244, 77%, 62%)
HSVhsv(244, 65%, 91%)
CMYKcmyk(59.9%, 64.7%, 0%, 9%)
CIE-LABlab(44.50, 46.65, -74.57)
CIE-LCHlch(44.50, 87.96, 302.03°)
OKLaboklab(54.11% 0.036 -0.2147)
OKLCHoklch(54.11% 0.218 279.5)
XYZxyz(22.0924, 14.1863, 77.9023)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D52E8 #DDE852
analogous
#5292E8 #5D52E8 #A852E8
triadic
#5D52E8 #E85D52 #52E85D
tetradic
#5D52E8 #E85292 #DDE852 #52E8A8
square
#5D52E8 #E85292 #DDE852 #52E8A8
split-complementary
#5D52E8 #E8A852 #92E852
monochromatic
#2116A9 #2C1EDF #5D52E8 #9088EF #C2BEF6

Accessibility & contrast

On white

5.47
#5D52E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#5D52E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D52E8
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D52E8#FFFFFF#000000##FFFFFF
##5D52E81.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FED
Deuteranopia (green-blind)
#0063E5
Tritanopia (blue-blind)
#007896
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5d52e8;
/* rgb */ color: rgb(93, 82, 232);
/* oklch */ color: oklch(54.1% 0.218 279.5);
Tailwind
colors: {
  custom: {
    50: '#9984f0',
    500: '#5d52e8',
    950: '#000000',
  },
}
SCSS
$custom: #5d52e8;
$custom-light: #9984f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d52e8",
  "rgb": {
    "r": 93,
    "g": 82,
    "b": 232
  },
  "hsl": {
    "h": 244.4,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.5411,
    "c": 0.21775,
    "h": 279.5
  },
  "luminance": 0.14188
}

Semantic roles & 50–950 ramp

primary
#5D52E8
secondary
#E3E7AF
accent
#D90DCA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5D52E8

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

Preview Lab → · Contrast checker → · Palette generator →

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