#5A53E2#5A53E2

#5A53E2 is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.6% C 0.210 H 278.8°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#5A53E2
RGBrgb(90, 83, 226)
HSLhsl(243, 71%, 61%)
HSVhsv(243, 63%, 89%)
CMYKcmyk(60.2%, 63.3%, 0%, 11.4%)
CIE-LABlab(44.02, 43.74, -71.97)
CIE-LCHlch(44.02, 84.22, 301.29°)
OKLaboklab(53.55% 0.0321 -0.2072)
OKLCHoklch(53.55% 0.21 278.8)
XYZxyz(21.0328, 13.8496, 73.5016)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A53E2 #DBE253
analogous
#5393E2 #5A53E2 #A153E2
triadic
#5A53E2 #E25A53 #53E25A
tetradic
#5A53E2 #E25393 #DBE253 #53E2A1
square
#5A53E2 #E25393 #DBE253 #53E2A1
split-complementary
#5A53E2 #E2A153 #93E253
monochromatic
#211BA0 #2C24D4 #5A53E2 #8C87EB #BEBCF4

Accessibility & contrast

On white

5.57
#5A53E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#5A53E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A53E2
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A53E2#FFFFFF#000000##FFFFFF
##5A53E21.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#0062DF
Tritanopia (blue-blind)
#007793
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5a53e2;
/* rgb */ color: rgb(90, 83, 226);
/* oklch */ color: oklch(53.6% 0.210 278.8);
Tailwind
colors: {
  custom: {
    50: '#9684ec',
    500: '#5a53e2',
    950: '#000000',
  },
}
SCSS
$custom: #5a53e2;
$custom-light: #9684ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5a53e2",
  "rgb": {
    "r": 90,
    "g": 83,
    "b": 226
  },
  "hsl": {
    "h": 242.937,
    "s": 71.144,
    "l": 60.588
  },
  "oklch": {
    "l": 0.53554,
    "c": 0.20966,
    "h": 278.8
  },
  "luminance": 0.13851
}

Semantic roles & 50–950 ramp

primary
#5A53E2
secondary
#E1E4AD
accent
#D312CA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5A53E2

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

Preview Lab → · Contrast checker → · Palette generator →

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