#5B52FD#5B52FD

#5B52FD is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.8% C 0.244 H 277.3°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#5B52FD
RGBrgb(91, 82, 253)
HSLhsl(243, 98%, 66%)
HSVhsv(243, 68%, 99%)
CMYKcmyk(64%, 67.6%, 0%, 0.8%)
CIE-LABlab(46.11, 52.89, -83.73)
CIE-LCHlch(46.11, 99.03, 302.28°)
OKLaboklab(55.78% 0.031 -0.2416)
OKLCHoklch(55.78% 0.244 277.3)
XYZxyz(25.0555, 15.3485, 94.5516)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B52FD #F4FD52
analogous
#529EFD #5B52FD #B052FD
triadic
#5B52FD #FD5B52 #52FD5B
tetradic
#5B52FD #FD529E #F4FD52 #52FDB0
square
#5B52FD #FD529E #F4FD52 #52FDB0
split-complementary
#5B52FD #FDB052 #9EFD52
monochromatic
#0D02D2 #2215FC #5B52FD #948EFE #CECBFE

Accessibility & contrast

On white

5.16
#5B52FD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#5B52FD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B52FD
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B52FD#FFFFFF#000000##FFFFFF
##5B52FD1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074FF
Deuteranopia (green-blind)
#0066FA
Tritanopia (blue-blind)
#0080A1
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5b52fd;
/* rgb */ color: rgb(91, 82, 253);
/* oklch */ color: oklch(55.8% 0.244 277.3);
Tailwind
colors: {
  custom: {
    50: '#9b84ff',
    500: '#5b52fd',
    950: '#000000',
  },
}
SCSS
$custom: #5b52fd;
$custom-light: #9b84ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5b52fd",
  "rgb": {
    "r": 91,
    "g": 82,
    "b": 253
  },
  "hsl": {
    "h": 243.158,
    "s": 97.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.55775,
    "c": 0.24363,
    "h": 277.3
  },
  "luminance": 0.15351
}

Semantic roles & 50–950 ramp

primary
#5B52FD
secondary
#EFF2B9
accent
#E600D9
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #5B52FD

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

Preview Lab → · Contrast checker → · Palette generator →

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