#5D52E7#5D52E7

#5D52E7 is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 54.0% C 0.217 H 279.6°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#5D52E7
RGBrgb(93, 82, 231)
HSLhsl(244, 76%, 61%)
HSVhsv(244, 65%, 91%)
CMYKcmyk(59.7%, 64.5%, 0%, 9.4%)
CIE-LABlab(44.42, 46.34, -74.14)
CIE-LCHlch(44.42, 87.43, 302.01°)
OKLaboklab(54.03% 0.0361 -0.2135)
OKLCHoklch(54.03% 0.217 279.6)
XYZxyz(21.9507, 14.1297, 77.1564)
Luminance0.1413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D52E7 #DCE752
analogous
#5292E7 #5D52E7 #A852E7
triadic
#5D52E7 #E75D52 #52E75D
tetradic
#5D52E7 #E75292 #DCE752 #52E7A8
square
#5D52E7 #E75292 #DCE752 #52E7A8
split-complementary
#5D52E7 #E7A852 #92E752
monochromatic
#2217A7 #2D1FDD #5D52E7 #8F88EE #C2BDF6

Accessibility & contrast

On white

5.49
#5D52E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#5D52E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D52E7
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D52E7#FFFFFF#000000##FFFFFF
##5D52E71.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEC
Deuteranopia (green-blind)
#0063E4
Tritanopia (blue-blind)
#007895
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5d52e7;
/* rgb */ color: rgb(93, 82, 231);
/* oklch */ color: oklch(54.0% 0.217 279.6);
Tailwind
colors: {
  custom: {
    50: '#9883f0',
    500: '#5d52e7',
    950: '#000000',
  },
}
SCSS
$custom: #5d52e7;
$custom-light: #9883f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d52e7",
  "rgb": {
    "r": 93,
    "g": 82,
    "b": 231
  },
  "hsl": {
    "h": 244.43,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.54026,
    "c": 0.21651,
    "h": 279.6
  },
  "luminance": 0.14131
}

Semantic roles & 50–950 ramp

primary
#5D52E7
secondary
#E2E6AF
accent
#D80EC9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5D52E7

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

Preview Lab → · Contrast checker → · Palette generator →

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