#5A53E8#5A53E8

#5A53E8 is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 54.1% C 0.217 H 278.3°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#5A53E8
RGBrgb(90, 83, 232)
HSLhsl(243, 76%, 62%)
HSVhsv(243, 64%, 91%)
CMYKcmyk(61.2%, 64.2%, 0%, 9%)
CIE-LABlab(44.50, 45.63, -74.58)
CIE-LCHlch(44.50, 87.43, 301.46°)
OKLaboklab(54.05% 0.0315 -0.2149)
OKLCHoklch(54.05% 0.217 278.3)
XYZxyz(21.8705, 14.1847, 77.9137)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A53E8 #E1E853
analogous
#5397E8 #5A53E8 #A553E8
triadic
#5A53E8 #E85A53 #53E85A
tetradic
#5A53E8 #E85397 #E1E853 #53E8A5
square
#5A53E8 #E85397 #E1E853 #53E8A5
split-complementary
#5A53E8 #E8A553 #97E853
monochromatic
#1E17AA #271EE0 #5A53E8 #8E89EF #C2BFF6

Accessibility & contrast

On white

5.47
#5A53E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#5A53E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A53E8
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A53E8#FFFFFF#000000##FFFFFF
##5A53E81.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FED
Deuteranopia (green-blind)
#0063E5
Tritanopia (blue-blind)
#007996
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5a53e8;
/* rgb */ color: rgb(90, 83, 232);
/* oklch */ color: oklch(54.1% 0.217 278.3);
Tailwind
colors: {
  custom: {
    50: '#9784f0',
    500: '#5a53e8',
    950: '#000000',
  },
}
SCSS
$custom: #5a53e8;
$custom-light: #9784f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a53e8",
  "rgb": {
    "r": 90,
    "g": 83,
    "b": 232
  },
  "hsl": {
    "h": 242.819,
    "s": 76.41,
    "l": 61.765
  },
  "oklch": {
    "l": 0.54053,
    "c": 0.21717,
    "h": 278.3
  },
  "luminance": 0.14186
}

Semantic roles & 50–950 ramp

primary
#5A53E8
secondary
#E4E7B0
accent
#D90DCF
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5A53E8

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

Preview Lab → · Contrast checker → · Palette generator →

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