#5A53E4#5A53E4

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

Color values

HEX#5A53E4
RGBrgb(90, 83, 228)
HSLhsl(243, 73%, 61%)
HSVhsv(243, 64%, 89%)
CMYKcmyk(60.5%, 63.6%, 0%, 10.6%)
CIE-LABlab(44.18, 44.37, -72.84)
CIE-LCHlch(44.18, 85.29, 301.35°)
OKLaboklab(53.72% 0.0319 -0.2098)
OKLCHoklch(53.72% 0.212 278.6)
XYZxyz(21.3088, 13.9600, 74.9554)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A53E4 #DDE453
analogous
#5394E4 #5A53E4 #A353E4
triadic
#5A53E4 #E45A53 #53E45A
tetradic
#5A53E4 #E45394 #DDE453 #53E4A3
square
#5A53E4 #E45394 #DDE453 #53E4A3
split-complementary
#5A53E4 #E4A353 #94E453
monochromatic
#201AA3 #2B22D8 #5A53E4 #8D88EC #BFBDF5

Accessibility & contrast

On white

5.54
#5A53E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#5A53E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A53E4
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A53E4#FFFFFF#000000##FFFFFF
##5A53E41.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE9
Deuteranopia (green-blind)
#0063E1
Tritanopia (blue-blind)
#007894
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5a53e4;
/* rgb */ color: rgb(90, 83, 228);
/* oklch */ color: oklch(53.7% 0.212 278.6);
Tailwind
colors: {
  custom: {
    50: '#9684ee',
    500: '#5a53e4',
    950: '#000000',
  },
}
SCSS
$custom: #5a53e4;
$custom-light: #9684ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5a53e4",
  "rgb": {
    "r": 90,
    "g": 83,
    "b": 228
  },
  "hsl": {
    "h": 242.897,
    "s": 72.864,
    "l": 60.98
  },
  "oklch": {
    "l": 0.53719,
    "c": 0.21218,
    "h": 278.6
  },
  "luminance": 0.13962
}

Semantic roles & 50–950 ramp

primary
#5A53E4
secondary
#E2E5AE
accent
#D511CB
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5A53E4

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

Preview Lab → · Contrast checker → · Palette generator →

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