#5E52DF#5E52DF

#5E52DF is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.4% C 0.206 H 280.6°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#5E52DF
RGBrgb(94, 82, 223)
HSLhsl(245, 69%, 60%)
HSVhsv(245, 63%, 87%)
CMYKcmyk(57.8%, 63.2%, 0%, 12.5%)
CIE-LABlab(43.86, 44.01, -70.51)
CIE-LCHlch(43.86, 83.12, 301.97°)
OKLaboklab(53.44% 0.0381 -0.2028)
OKLCHoklch(53.44% 0.206 280.6)
XYZxyz(20.9485, 13.7406, 71.3460)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E52DF #D3DF52
analogous
#528DDF #5E52DF #A452DF
triadic
#5E52DF #DF5E52 #52DF5E
tetradic
#5E52DF #DF528D #D3DF52 #52DFA4
square
#5E52DF #DF528D #D3DF52 #52DFA4
split-complementary
#5E52DF #DFA452 #8DDF52
monochromatic
#271D9A #3426CE #5E52DF #8E86E9 #BEB9F2

Accessibility & contrast

On white

5.60
#5E52DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#5E52DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E52DF
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E52DF#FFFFFF#000000##FFFFFF
##5E52DF1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE3
Deuteranopia (green-blind)
#0062DC
Tritanopia (blue-blind)
#077591
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5e52df;
/* rgb */ color: rgb(94, 82, 223);
/* oklch */ color: oklch(53.4% 0.206 280.6);
Tailwind
colors: {
  custom: {
    50: '#9883ea',
    500: '#5e52df',
    950: '#000000',
  },
}
SCSS
$custom: #5e52df;
$custom-light: #9883ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5e52df",
  "rgb": {
    "r": 94,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 245.106,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53441,
    "c": 0.20635,
    "h": 280.6
  },
  "luminance": 0.13742
}

Semantic roles & 50–950 ramp

primary
#5E52DF
secondary
#DDE2AB
accent
#EC3CDD
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5E52DF

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

Preview Lab → · Contrast checker → · Palette generator →

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