#5D52E4#5D52E4

#5D52E4 is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 53.8% C 0.213 H 279.8°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#5D52E4
RGBrgb(93, 82, 228)
HSLhsl(245, 73%, 61%)
HSVhsv(245, 64%, 89%)
CMYKcmyk(59.2%, 64%, 0%, 10.6%)
CIE-LABlab(44.18, 45.41, -72.83)
CIE-LCHlch(44.18, 85.83, 301.94°)
OKLaboklab(53.78% 0.0364 -0.2096)
OKLCHoklch(53.78% 0.213 279.8)
XYZxyz(21.5307, 13.9616, 74.9440)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D52E4 #D9E452
analogous
#5290E4 #5D52E4 #A652E4
triadic
#5D52E4 #E45D52 #52E45D
tetradic
#5D52E4 #E45290 #D9E452 #52E4A6
square
#5D52E4 #E45290 #D9E452 #52E4A6
split-complementary
#5D52E4 #E4A652 #90E452
monochromatic
#2419A2 #2F22D7 #5D52E4 #8F87EC #C0BCF5

Accessibility & contrast

On white

5.54
#5D52E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#5D52E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D52E4
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D52E4#FFFFFF#000000##FFFFFF
##5D52E41.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE9
Deuteranopia (green-blind)
#0063E1
Tritanopia (blue-blind)
#007794
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5d52e4;
/* rgb */ color: rgb(93, 82, 228);
/* oklch */ color: oklch(53.8% 0.213 279.8);
Tailwind
colors: {
  custom: {
    50: '#9883ee',
    500: '#5d52e4',
    950: '#000000',
  },
}
SCSS
$custom: #5d52e4;
$custom-light: #9883ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5d52e4",
  "rgb": {
    "r": 93,
    "g": 82,
    "b": 228
  },
  "hsl": {
    "h": 244.521,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.53777,
    "c": 0.21279,
    "h": 279.8
  },
  "luminance": 0.13963
}

Semantic roles & 50–950 ramp

primary
#5D52E4
secondary
#E0E5AD
accent
#D510C6
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5D52E4

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

Preview Lab → · Contrast checker → · Palette generator →

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