#5A53EC#5A53EC

#5A53EC is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.4% C 0.222 H 278.1°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5A53EC
RGBrgb(90, 83, 236)
HSLhsl(243, 80%, 63%)
HSVhsv(243, 65%, 93%)
CMYKcmyk(61.9%, 64.8%, 0%, 7.5%)
CIE-LABlab(44.82, 46.89, -76.31)
CIE-LCHlch(44.82, 89.56, 301.57°)
OKLaboklab(54.39% 0.0311 -0.2199)
OKLCHoklch(54.39% 0.222 278.1)
XYZxyz(22.4452, 14.4145, 80.9401)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A53EC #E5EC53
analogous
#5399EC #5A53EC #A653EC
triadic
#5A53EC #EC5A53 #53EC5A
tetradic
#5A53EC #EC5399 #E5EC53 #53ECA6
square
#5A53EC #EC5399 #E5EC53 #53ECA6
split-complementary
#5A53EC #ECA653 #99EC53
monochromatic
#1B14B1 #251CE6 #5A53EC #8F8AF2 #C4C1F8

Accessibility & contrast

On white

5.41
#5A53EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#5A53EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A53EC
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A53EC#FFFFFF#000000##FFFFFF
##5A53EC1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F1
Deuteranopia (green-blind)
#0064E9
Tritanopia (blue-blind)
#007A98
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5a53ec;
/* rgb */ color: rgb(90, 83, 236);
/* oklch */ color: oklch(54.4% 0.222 278.1);
Tailwind
colors: {
  custom: {
    50: '#9884f3',
    500: '#5a53ec',
    950: '#000000',
  },
}
SCSS
$custom: #5a53ec;
$custom-light: #9884f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a53ec",
  "rgb": {
    "r": 90,
    "g": 83,
    "b": 236
  },
  "hsl": {
    "h": 242.745,
    "s": 80.105,
    "l": 62.549
  },
  "oklch": {
    "l": 0.54389,
    "c": 0.22213,
    "h": 278.1
  },
  "luminance": 0.14416
}

Semantic roles & 50–950 ramp

primary
#5A53EC
secondary
#E7E9B2
accent
#DC09D3
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5A53EC

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

Preview Lab → · Contrast checker → · Palette generator →

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