#5A4EEB#5A4EEB

#5A4EEB is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.5% C 0.226 H 278.9°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#5A4EEB
RGBrgb(90, 78, 235)
HSLhsl(245, 80%, 61%)
HSVhsv(245, 67%, 92%)
CMYKcmyk(61.7%, 66.8%, 0%, 7.8%)
CIE-LABlab(43.68, 49.43, -77.61)
CIE-LCHlch(43.68, 92.02, 302.49°)
OKLaboklab(53.54% 0.0351 -0.2238)
OKLCHoklch(53.54% 0.226 278.9)
XYZxyz(21.9314, 13.6189, 80.0541)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4EEB #DFEB4E
analogous
#4E91EB #5A4EEB #A94EEB
triadic
#5A4EEB #EB5A4E #4EEB5A
tetradic
#5A4EEB #EB4E91 #DFEB4E #4EEBA9
square
#5A4EEB #EB4E91 #DFEB4E #4EEBA9
split-complementary
#5A4EEB #EBA94E #91EB4E
monochromatic
#1F13AB #291AE2 #5A4EEB #8D85F1 #C1BCF7

Accessibility & contrast

On white

5.64
#5A4EEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#5A4EEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A4EEB
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4EEB#FFFFFF#000000##FFFFFF
##5A4EEB1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DF0
Deuteranopia (green-blind)
#0061E8
Tritanopia (blue-blind)
#007796
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5a4eeb;
/* rgb */ color: rgb(90, 78, 235);
/* oklch */ color: oklch(53.5% 0.226 278.9);
Tailwind
colors: {
  custom: {
    50: '#9881f3',
    500: '#5a4eeb',
    950: '#000000',
  },
}
SCSS
$custom: #5a4eeb;
$custom-light: #9881f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4eeb",
  "rgb": {
    "r": 90,
    "g": 78,
    "b": 235
  },
  "hsl": {
    "h": 244.586,
    "s": 79.695,
    "l": 61.373
  },
  "oklch": {
    "l": 0.53539,
    "c": 0.22649,
    "h": 278.9
  },
  "luminance": 0.13621
}

Semantic roles & 50–950 ramp

primary
#5A4EEB
secondary
#E3E8AD
accent
#DC09CC
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5A4EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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