#5A53F0#5A53F0

#5A53F0 is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.7% C 0.227 H 277.8°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#5A53F0
RGBrgb(90, 83, 240)
HSLhsl(243, 84%, 63%)
HSVhsv(243, 65%, 94%)
CMYKcmyk(62.5%, 65.4%, 0%, 5.9%)
CIE-LABlab(45.15, 48.15, -78.02)
CIE-LCHlch(45.15, 91.68, 301.68°)
OKLaboklab(54.73% 0.0307 -0.225)
OKLCHoklch(54.73% 0.227 277.8)
XYZxyz(23.0328, 14.6496, 84.0351)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A53F0 #E9F053
analogous
#539AF0 #5A53F0 #A853F0
triadic
#5A53F0 #F05A53 #53F05A
tetradic
#5A53F0 #F0539A #E9F053 #53F0A8
square
#5A53F0 #F0539A #E9F053 #53F0A8
split-complementary
#5A53F0 #F0A853 #9AF053
monochromatic
#1810B9 #241BEB #5A53F0 #908BF5 #C6C4FA

Accessibility & contrast

On white

5.34
#5A53F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#5A53F0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A53F0
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A53F0#FFFFFF#000000##FFFFFF
##5A53F01.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a53f0;
/* rgb */ color: rgb(90, 83, 240);
/* oklch */ color: oklch(54.7% 0.227 277.8);
Tailwind
colors: {
  custom: {
    50: '#9884f6',
    500: '#5a53f0',
    950: '#000000',
  },
}
SCSS
$custom: #5a53f0;
$custom-light: #9884f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5a53f0",
  "rgb": {
    "r": 90,
    "g": 83,
    "b": 240
  },
  "hsl": {
    "h": 242.675,
    "s": 83.957,
    "l": 63.333
  },
  "oklch": {
    "l": 0.54729,
    "c": 0.22705,
    "h": 277.8
  },
  "luminance": 0.14651
}

Semantic roles & 50–950 ramp

primary
#5A53F0
secondary
#E9EBB3
accent
#E005D7
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5A53F0

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

Preview Lab → · Contrast checker → · Palette generator →

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