#5A53E5#5A53E5

#5A53E5 is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 53.8% C 0.213 H 278.6°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#5A53E5
RGBrgb(90, 83, 229)
HSLhsl(243, 74%, 61%)
HSVhsv(243, 64%, 90%)
CMYKcmyk(60.7%, 63.8%, 0%, 10.2%)
CIE-LABlab(44.26, 44.68, -73.28)
CIE-LCHlch(44.26, 85.83, 301.37°)
OKLaboklab(53.8% 0.0318 -0.211)
OKLCHoklch(53.8% 0.213 278.6)
XYZxyz(21.4480, 14.0157, 75.6886)
Luminance0.1402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A53E5 #DEE553
analogous
#5395E5 #5A53E5 #A353E5
triadic
#5A53E5 #E55A53 #53E55A
tetradic
#5A53E5 #E55395 #DEE553 #53E5A3
square
#5A53E5 #E55395 #DEE553 #53E5A3
split-complementary
#5A53E5 #E5A353 #95E553
monochromatic
#2019A5 #2A21DA #5A53E5 #8D88ED #C0BDF5

Accessibility & contrast

On white

5.52
#5A53E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#5A53E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A53E5
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A53E5#FFFFFF#000000##FFFFFF
##5A53E51.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEA
Deuteranopia (green-blind)
#0063E2
Tritanopia (blue-blind)
#007895
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5a53e5;
/* rgb */ color: rgb(90, 83, 229);
/* oklch */ color: oklch(53.8% 0.213 278.6);
Tailwind
colors: {
  custom: {
    50: '#9784ee',
    500: '#5a53e5',
    950: '#000000',
  },
}
SCSS
$custom: #5a53e5;
$custom-light: #9784ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5a53e5",
  "rgb": {
    "r": 90,
    "g": 83,
    "b": 229
  },
  "hsl": {
    "h": 242.877,
    "s": 73.737,
    "l": 61.176
  },
  "oklch": {
    "l": 0.53802,
    "c": 0.21343,
    "h": 278.6
  },
  "luminance": 0.14017
}

Semantic roles & 50–950 ramp

primary
#5A53E5
secondary
#E3E5AE
accent
#D610CC
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5A53E5

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

Preview Lab → · Contrast checker → · Palette generator →

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