#5A53CA#5A53CA

#5A53CA is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.6% C 0.179 H 280.8°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#5A53CA
RGBrgb(90, 83, 202)
HSLhsl(244, 53%, 56%)
HSVhsv(244, 59%, 79%)
CMYKcmyk(55.4%, 58.9%, 0%, 20.8%)
CIE-LABlab(42.19, 36.14, -61.20)
CIE-LCHlch(42.19, 71.07, 300.56°)
OKLaboklab(51.64% 0.0333 -0.1755)
OKLCHoklch(51.64% 0.179 280.8)
XYZxyz(17.9671, 12.6233, 57.3554)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A53CA #C3CA53
analogous
#5387CA #5A53CA #9553CA
triadic
#5A53CA #CA5A53 #53CA5A
tetradic
#5A53CA #CA5387 #C3CA53 #53CA95
square
#5A53CA #CA5387 #C3CA53 #53CA95
split-complementary
#5A53CA #CA9553 #87CA53
monochromatic
#2B267C #3C35AB #5A53CA #8782D8 #B4B1E7

Accessibility & contrast

On white

5.96
#5A53CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#5A53CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A53CA
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A53CA#FFFFFF#000000##FFFFFF
##5A53CA1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#005FC8
Tritanopia (blue-blind)
#226F86
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5a53ca;
/* rgb */ color: rgb(90, 83, 202);
/* oklch */ color: oklch(51.6% 0.179 280.8);
Tailwind
colors: {
  custom: {
    50: '#9284db',
    500: '#5a53ca',
    950: '#000000',
  },
}
SCSS
$custom: #5a53ca;
$custom-light: #9284db;
$custom-dark: #000000;
JSON
{
  "hex": "#5a53ca",
  "rgb": {
    "r": 90,
    "g": 83,
    "b": 202
  },
  "hsl": {
    "h": 243.529,
    "s": 52.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.51643,
    "c": 0.17868,
    "h": 280.8
  },
  "luminance": 0.12624
}

Semantic roles & 50–950 ramp

primary
#5A53CA
secondary
#D2D5A4
accent
#DC4CD4
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5A53CA

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

Preview Lab → · Contrast checker → · Palette generator →

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