#5A53DB#5A53DB

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

Color values

HEX#5A53DB
RGBrgb(90, 83, 219)
HSLhsl(243, 65%, 59%)
HSVhsv(243, 62%, 86%)
CMYKcmyk(58.9%, 62.1%, 0%, 14.1%)
CIE-LABlab(43.47, 41.52, -68.88)
CIE-LCHlch(43.47, 80.43, 301.08°)
OKLaboklab(52.98% 0.0326 -0.1981)
OKLCHoklch(52.98% 0.201 279.3)
XYZxyz(20.0918, 13.4732, 68.5459)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A53DB #D4DB53
analogous
#5390DB #5A53DB #9E53DB
triadic
#5A53DB #DB5A53 #53DB5A
tetradic
#5A53DB #DB5390 #D4DB53 #53DB9E
square
#5A53DB #DB5390 #D4DB53 #53DB9E
split-complementary
#5A53DB #DB9E53 #90DB53
monochromatic
#251F95 #322AC7 #5A53DB #8B86E6 #BBB8F0

Accessibility & contrast

On white

5.68
#5A53DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#5A53DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A53DB
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A53DB#FFFFFF#000000##FFFFFF
##5A53DB1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDF
Deuteranopia (green-blind)
#0061D8
Tritanopia (blue-blind)
#00758F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5a53db;
/* rgb */ color: rgb(90, 83, 219);
/* oklch */ color: oklch(53.0% 0.201 279.3);
Tailwind
colors: {
  custom: {
    50: '#9584e7',
    500: '#5a53db',
    950: '#000000',
  },
}
SCSS
$custom: #5a53db;
$custom-light: #9584e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a53db",
  "rgb": {
    "r": 90,
    "g": 83,
    "b": 219
  },
  "hsl": {
    "h": 243.088,
    "s": 65.385,
    "l": 59.216
  },
  "oklch": {
    "l": 0.52982,
    "c": 0.20079,
    "h": 279.3
  },
  "luminance": 0.13475
}

Semantic roles & 50–950 ramp

primary
#5A53DB
secondary
#DDDFAA
accent
#E83FE0
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5A53DB

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

Preview Lab → · Contrast checker → · Palette generator →

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