#5A53E9#5A53E9

#5A53E9 is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 54.1% C 0.218 H 278.3°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#5A53E9
RGBrgb(90, 83, 233)
HSLhsl(243, 77%, 62%)
HSVhsv(243, 64%, 91%)
CMYKcmyk(61.4%, 64.4%, 0%, 8.6%)
CIE-LABlab(44.58, 45.95, -75.02)
CIE-LCHlch(44.58, 87.97, 301.49°)
OKLaboklab(54.14% 0.0314 -0.2161)
OKLCHoklch(54.14% 0.218 278.3)
XYZxyz(22.0130, 14.2417, 78.6639)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A53E9 #E2E953
analogous
#5397E9 #5A53E9 #A553E9
triadic
#5A53E9 #E95A53 #53E95A
tetradic
#5A53E9 #E95397 #E2E953 #53E9A5
square
#5A53E9 #E95397 #E2E953 #53E9A5
split-complementary
#5A53E9 #E9A553 #97E953
monochromatic
#1D16AC #261DE2 #5A53E9 #8E89F0 #C2C0F7

Accessibility & contrast

On white

5.46
#5A53E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#5A53E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A53E9
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A53E9#FFFFFF#000000##FFFFFF
##5A53E91.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EE
Deuteranopia (green-blind)
#0063E6
Tritanopia (blue-blind)
#007997
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5a53e9;
/* rgb */ color: rgb(90, 83, 233);
/* oklch */ color: oklch(54.1% 0.218 278.3);
Tailwind
colors: {
  custom: {
    50: '#9784f1',
    500: '#5a53e9',
    950: '#000000',
  },
}
SCSS
$custom: #5a53e9;
$custom-light: #9784f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a53e9",
  "rgb": {
    "r": 90,
    "g": 83,
    "b": 233
  },
  "hsl": {
    "h": 242.8,
    "s": 77.32,
    "l": 61.961
  },
  "oklch": {
    "l": 0.54136,
    "c": 0.21841,
    "h": 278.3
  },
  "luminance": 0.14243
}

Semantic roles & 50–950 ramp

primary
#5A53E9
secondary
#E5E8B0
accent
#DA0CD0
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5A53E9

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

Preview Lab → · Contrast checker → · Palette generator →

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