#5D52DB#5D52DB

#5D52DB is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.0% C 0.201 H 280.6°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#5D52DB
RGBrgb(93, 82, 219)
HSLhsl(245, 66%, 59%)
HSVhsv(245, 63%, 86%)
CMYKcmyk(57.5%, 62.6%, 0%, 14.1%)
CIE-LABlab(43.47, 42.61, -68.87)
CIE-LCHlch(43.47, 80.98, 301.74°)
OKLaboklab(53.04% 0.0372 -0.198)
OKLCHoklch(53.04% 0.201 280.6)
XYZxyz(20.3137, 13.4748, 68.5346)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D52DB #D0DB52
analogous
#528CDB #5D52DB #A252DB
triadic
#5D52DB #DB5D52 #52DB5D
tetradic
#5D52DB #DB528C #D0DB52 #52DBA2
square
#5D52DB #DB528C #D0DB52 #52DBA2
split-complementary
#5D52DB #DBA252 #8CDB52
monochromatic
#281F94 #3629C6 #5D52DB #8C85E6 #BCB7F0

Accessibility & contrast

On white

5.68
#5D52DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#5D52DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D52DB
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D52DB#FFFFFF#000000##FFFFFF
##5D52DB1.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)
#0062D8
Tritanopia (blue-blind)
#0E748F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5d52db;
/* rgb */ color: rgb(93, 82, 219);
/* oklch */ color: oklch(53.0% 0.201 280.6);
Tailwind
colors: {
  custom: {
    50: '#9783e7',
    500: '#5d52db',
    950: '#000000',
  },
}
SCSS
$custom: #5d52db;
$custom-light: #9783e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d52db",
  "rgb": {
    "r": 93,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 244.818,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.53041,
    "c": 0.20147,
    "h": 280.6
  },
  "luminance": 0.13476
}

Semantic roles & 50–950 ramp

primary
#5D52DB
secondary
#DBDFAA
accent
#E93FDB
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5D52DB

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

Preview Lab → · Contrast checker → · Palette generator →

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