#5D52E2#5D52E2

#5D52E2 is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.6% C 0.210 H 280.0°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#5D52E2
RGBrgb(93, 82, 226)
HSLhsl(245, 71%, 60%)
HSVhsv(245, 64%, 89%)
CMYKcmyk(58.8%, 63.7%, 0%, 11.4%)
CIE-LABlab(44.02, 44.79, -71.96)
CIE-LCHlch(44.02, 84.76, 301.90°)
OKLaboklab(53.61% 0.0366 -0.2071)
OKLCHoklch(53.61% 0.21 280)
XYZxyz(21.2546, 13.8512, 73.4903)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D52E2 #D7E252
analogous
#528FE2 #5D52E2 #A552E2
triadic
#5D52E2 #E25D52 #52E25D
tetradic
#5D52E2 #E2528F #D7E252 #52E2A5
square
#5D52E2 #E2528F #D7E252 #52E2A5
split-complementary
#5D52E2 #E2A552 #8FE252
monochromatic
#251B9F #3123D3 #5D52E2 #8E86EB #BFBBF4

Accessibility & contrast

On white

5.57
#5D52E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#5D52E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D52E2
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D52E2#FFFFFF#000000##FFFFFF
##5D52E21.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE7
Deuteranopia (green-blind)
#0063DF
Tritanopia (blue-blind)
#007693
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5d52e2;
/* rgb */ color: rgb(93, 82, 226);
/* oklch */ color: oklch(53.6% 0.210 280.0);
Tailwind
colors: {
  custom: {
    50: '#9883ec',
    500: '#5d52e2',
    950: '#000000',
  },
}
SCSS
$custom: #5d52e2;
$custom-light: #9883ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5d52e2",
  "rgb": {
    "r": 93,
    "g": 82,
    "b": 226
  },
  "hsl": {
    "h": 244.583,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.53612,
    "c": 0.21029,
    "h": 280
  },
  "luminance": 0.13853
}

Semantic roles & 50–950 ramp

primary
#5D52E2
secondary
#DFE3AC
accent
#D312C5
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5D52E2

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

Preview Lab → · Contrast checker → · Palette generator →

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