#5D52F1#5D52F1

#5D52F1 is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.9% C 0.229 H 278.8°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#5D52F1
RGBrgb(93, 82, 241)
HSLhsl(244, 85%, 63%)
HSVhsv(244, 66%, 95%)
CMYKcmyk(61.4%, 66%, 0%, 5.5%)
CIE-LABlab(45.24, 49.44, -78.44)
CIE-LCHlch(45.24, 92.72, 302.23°)
OKLaboklab(54.87% 0.035 -0.2261)
OKLCHoklch(54.87% 0.229 278.8)
XYZxyz(23.4036, 14.7108, 84.8082)
Luminance0.1471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D52F1 #E6F152
analogous
#5296F1 #5D52F1 #AC52F1
triadic
#5D52F1 #F15D52 #52F15D
tetradic
#5D52F1 #F15296 #E6F152 #52F1AC
square
#5D52F1 #F15296 #E6F152 #52F1AC
split-complementary
#5D52F1 #F1AC52 #96F152
monochromatic
#1B0FBA #2819EC #5D52F1 #928BF6 #C7C3FA

Accessibility & contrast

On white

5.33
#5D52F1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#5D52F1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D52F1
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D52F1#FFFFFF#000000##FFFFFF
##5D52F11.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F6
Deuteranopia (green-blind)
#0065EE
Tritanopia (blue-blind)
#007B9B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5d52f1;
/* rgb */ color: rgb(93, 82, 241);
/* oklch */ color: oklch(54.9% 0.229 278.8);
Tailwind
colors: {
  custom: {
    50: '#9a84f7',
    500: '#5d52f1',
    950: '#000000',
  },
}
SCSS
$custom: #5d52f1;
$custom-light: #9a84f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d52f1",
  "rgb": {
    "r": 93,
    "g": 82,
    "b": 241
  },
  "hsl": {
    "h": 244.151,
    "s": 85.027,
    "l": 63.333
  },
  "oklch": {
    "l": 0.54871,
    "c": 0.22878,
    "h": 278.8
  },
  "luminance": 0.14713
}

Semantic roles & 50–950 ramp

primary
#5D52F1
secondary
#E8ECB3
accent
#E204D2
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5D52F1

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

Preview Lab → · Contrast checker → · Palette generator →

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