#5E52FD#5E52FD

#5E52FD is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 56.0% C 0.243 H 278.2°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5E52FD
RGBrgb(94, 82, 253)
HSLhsl(244, 98%, 66%)
HSVhsv(244, 68%, 99%)
CMYKcmyk(62.8%, 67.6%, 0%, 0.8%)
CIE-LABlab(46.32, 53.27, -83.38)
CIE-LCHlch(46.32, 98.94, 302.58°)
OKLaboklab(55.98% 0.0347 -0.2405)
OKLCHoklch(55.98% 0.243 278.2)
XYZxyz(25.3573, 15.5041, 94.5658)
Luminance0.1551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E52FD #F1FD52
analogous
#529BFD #5E52FD #B452FD
triadic
#5E52FD #FD5E52 #52FD5E
tetradic
#5E52FD #FD529B #F1FD52 #52FDB4
square
#5E52FD #FD529B #F1FD52 #52FDB4
split-complementary
#5E52FD #FDB452 #9BFD52
monochromatic
#1102D2 #2615FC #5E52FD #968EFE #CFCBFE

Accessibility & contrast

On white

5.12
#5E52FD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#5E52FD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E52FD
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E52FD#FFFFFF#000000##FFFFFF
##5E52FD1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075FF
Deuteranopia (green-blind)
#0067FA
Tritanopia (blue-blind)
#0080A1
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5e52fd;
/* rgb */ color: rgb(94, 82, 253);
/* oklch */ color: oklch(56.0% 0.243 278.2);
Tailwind
colors: {
  custom: {
    50: '#9d84ff',
    500: '#5e52fd',
    950: '#000000',
  },
}
SCSS
$custom: #5e52fd;
$custom-light: #9d84ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5e52fd",
  "rgb": {
    "r": 94,
    "g": 82,
    "b": 253
  },
  "hsl": {
    "h": 244.211,
    "s": 97.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.55979,
    "c": 0.24302,
    "h": 278.2
  },
  "luminance": 0.15506
}

Semantic roles & 50–950 ramp

primary
#5E52FD
secondary
#EEF2B9
accent
#E600D5
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #5E52FD

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

Preview Lab → · Contrast checker → · Palette generator →

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