#5A53DC#5A53DC

#5A53DC is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.1% C 0.202 H 279.3°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5A53DC
RGBrgb(90, 83, 220)
HSLhsl(243, 66%, 59%)
HSVhsv(243, 62%, 86%)
CMYKcmyk(59.1%, 62.3%, 0%, 13.7%)
CIE-LABlab(43.55, 41.84, -69.32)
CIE-LCHlch(43.55, 80.97, 301.11°)
OKLaboklab(53.06% 0.0325 -0.1994)
OKLCHoklch(53.06% 0.202 279.3)
XYZxyz(20.2239, 13.5260, 69.2413)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A53DC #D5DC53
analogous
#5390DC #5A53DC #9F53DC
triadic
#5A53DC #DC5A53 #53DC5A
tetradic
#5A53DC #DC5390 #D5DC53 #53DC9F
square
#5A53DC #DC5390 #D5DC53 #53DC9F
split-complementary
#5A53DC #DC9F53 #90DC53
monochromatic
#251F96 #3129C9 #5A53DC #8B86E6 #BCB9F1

Accessibility & contrast

On white

5.67
#5A53DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#5A53DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A53DC
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A53DC#FFFFFF#000000##FFFFFF
##5A53DC1.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#0061D9
Tritanopia (blue-blind)
#007590
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5a53dc;
/* rgb */ color: rgb(90, 83, 220);
/* oklch */ color: oklch(53.1% 0.202 279.3);
Tailwind
colors: {
  custom: {
    50: '#9584e8',
    500: '#5a53dc',
    950: '#000000',
  },
}
SCSS
$custom: #5a53dc;
$custom-light: #9584e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a53dc",
  "rgb": {
    "r": 90,
    "g": 83,
    "b": 220
  },
  "hsl": {
    "h": 243.066,
    "s": 66.184,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53063,
    "c": 0.20206,
    "h": 279.3
  },
  "luminance": 0.13527
}

Semantic roles & 50–950 ramp

primary
#5A53DC
secondary
#DDE0AB
accent
#E93FE0
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5A53DC

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

Preview Lab → · Contrast checker → · Palette generator →

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