#5E52EB#5E52EB

#5E52EB is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.4% C 0.221 H 279.6°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5E52EB
RGBrgb(94, 82, 235)
HSLhsl(245, 79%, 62%)
HSVhsv(245, 65%, 92%)
CMYKcmyk(60%, 65.1%, 0%, 7.8%)
CIE-LABlab(44.82, 47.73, -75.74)
CIE-LCHlch(44.82, 89.53, 302.22°)
OKLaboklab(54.43% 0.0369 -0.2182)
OKLCHoklch(54.43% 0.221 279.6)
XYZxyz(22.6240, 14.4108, 80.1705)
Luminance0.1441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E52EB #DFEB52
analogous
#5293EB #5E52EB #AB52EB
triadic
#5E52EB #EB5E52 #52EB5E
tetradic
#5E52EB #EB5293 #DFEB52 #52EBAB
square
#5E52EB #EB5293 #DFEB52 #52EBAB
split-complementary
#5E52EB #EBAB52 #93EB52
monochromatic
#2014AE #2B1BE5 #5E52EB #9189F1 #C4C0F8

Accessibility & contrast

On white

5.41
#5E52EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#5E52EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E52EB
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E52EB#FFFFFF#000000##FFFFFF
##5E52EB1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F0
Deuteranopia (green-blind)
#0064E8
Tritanopia (blue-blind)
#007997
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5e52eb;
/* rgb */ color: rgb(94, 82, 235);
/* oklch */ color: oklch(54.4% 0.221 279.6);
Tailwind
colors: {
  custom: {
    50: '#9a84f3',
    500: '#5e52eb',
    950: '#000000',
  },
}
SCSS
$custom: #5e52eb;
$custom-light: #9a84f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e52eb",
  "rgb": {
    "r": 94,
    "g": 82,
    "b": 235
  },
  "hsl": {
    "h": 244.706,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.54434,
    "c": 0.22126,
    "h": 279.6
  },
  "luminance": 0.14412
}

Semantic roles & 50–950 ramp

primary
#5E52EB
secondary
#E4E8B0
accent
#DC0ACB
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5E52EB

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

Preview Lab → · Contrast checker → · Palette generator →

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