#5A53EF#5A53EF

#5A53EF is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.6% C 0.226 H 277.8°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#5A53EF
RGBrgb(90, 83, 239)
HSLhsl(243, 83%, 63%)
HSVhsv(243, 65%, 94%)
CMYKcmyk(62.3%, 65.3%, 0%, 6.3%)
CIE-LABlab(45.07, 47.83, -77.60)
CIE-LCHlch(45.07, 91.15, 301.65°)
OKLaboklab(54.64% 0.0308 -0.2237)
OKLCHoklch(54.64% 0.226 277.8)
XYZxyz(22.8847, 14.5903, 83.2549)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A53EF #E8EF53
analogous
#539AEF #5A53EF #A853EF
triadic
#5A53EF #EF5A53 #53EF5A
tetradic
#5A53EF #EF539A #E8EF53 #53EFA8
square
#5A53EF #EF539A #E8EF53 #53EFA8
split-complementary
#5A53EF #EFA853 #9AEF53
monochromatic
#1811B7 #241BEA #5A53EF #908BF4 #C5C3F9

Accessibility & contrast

On white

5.36
#5A53EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#5A53EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A53EF
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A53EF#FFFFFF#000000##FFFFFF
##5A53EF1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F4
Deuteranopia (green-blind)
#0064EC
Tritanopia (blue-blind)
#007C9A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5a53ef;
/* rgb */ color: rgb(90, 83, 239);
/* oklch */ color: oklch(54.6% 0.226 277.8);
Tailwind
colors: {
  custom: {
    50: '#9884f5',
    500: '#5a53ef',
    950: '#000000',
  },
}
SCSS
$custom: #5a53ef;
$custom-light: #9884f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a53ef",
  "rgb": {
    "r": 90,
    "g": 83,
    "b": 239
  },
  "hsl": {
    "h": 242.692,
    "s": 82.979,
    "l": 63.137
  },
  "oklch": {
    "l": 0.54644,
    "c": 0.22582,
    "h": 277.8
  },
  "luminance": 0.14592
}

Semantic roles & 50–950 ramp

primary
#5A53EF
secondary
#E8EBB3
accent
#DF06D6
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5A53EF

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

Preview Lab → · Contrast checker → · Palette generator →

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