#5D52D2#5D52D2

#5D52D2 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.3% C 0.190 H 281.5°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#5D52D2
RGBrgb(93, 82, 210)
HSLhsl(245, 59%, 57%)
HSVhsv(245, 61%, 82%)
CMYKcmyk(55.7%, 61%, 0%, 17.6%)
CIE-LABlab(42.78, 39.80, -64.83)
CIE-LCHlch(42.78, 76.07, 301.54°)
OKLaboklab(52.33% 0.0378 -0.1861)
OKLCHoklch(52.33% 0.19 281.5)
XYZxyz(19.1607, 13.0137, 62.4625)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D52D2 #C7D252
analogous
#5287D2 #5D52D2 #9D52D2
triadic
#5D52D2 #D25D52 #52D25D
tetradic
#5D52D2 #D25287 #C7D252 #52D29D
square
#5D52D2 #D25287 #C7D252 #52D29D
split-complementary
#5D52D2 #D29D52 #87D252
monochromatic
#2C2387 #3B30B7 #5D52D2 #8A83DF #B8B3EB

Accessibility & contrast

On white

5.83
#5D52D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#5D52D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D52D2
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D52D2#FFFFFF#000000##FFFFFF
##5D52D21.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#0060CF
Tritanopia (blue-blind)
#22718A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5d52d2;
/* rgb */ color: rgb(93, 82, 210);
/* oklch */ color: oklch(52.3% 0.190 281.5);
Tailwind
colors: {
  custom: {
    50: '#9583e1',
    500: '#5d52d2',
    950: '#000000',
  },
}
SCSS
$custom: #5d52d2;
$custom-light: #9583e1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d52d2",
  "rgb": {
    "r": 93,
    "g": 82,
    "b": 210
  },
  "hsl": {
    "h": 245.156,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52325,
    "c": 0.18993,
    "h": 281.5
  },
  "luminance": 0.13015
}

Semantic roles & 50–950 ramp

primary
#5D52D2
secondary
#D5DAA6
accent
#E246D5
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5D52D2

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

Preview Lab → · Contrast checker → · Palette generator →

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