#5A4BE5#5A4BE5

#5A4BE5 is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.6% C 0.223 H 279.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#5A4BE5
RGBrgb(90, 75, 229)
HSLhsl(246, 75%, 60%)
HSVhsv(246, 67%, 90%)
CMYKcmyk(60.7%, 67.2%, 0%, 10.2%)
CIE-LABlab(42.55, 49.26, -76.06)
CIE-LCHlch(42.55, 90.62, 302.93°)
OKLaboklab(52.57% 0.0381 -0.2192)
OKLCHoklch(52.57% 0.223 279.9)
XYZxyz(20.8709, 12.8614, 75.4962)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4BE5 #D6E54B
analogous
#4B89E5 #5A4BE5 #A74BE5
triadic
#5A4BE5 #E55A4B #4BE55A
tetradic
#5A4BE5 #E54B89 #D6E54B #4BE5A7
square
#5A4BE5 #E54B89 #D6E54B #4BE5A7
split-complementary
#5A4BE5 #E5A74B #89E54B
monochromatic
#24179F #301FD4 #5A4BE5 #8B80ED #BCB6F4

Accessibility & contrast

On white

5.88
#5A4BE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#5A4BE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A4BE5
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4BE5#FFFFFF#000000##FFFFFF
##5A4BE51.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEA
Deuteranopia (green-blind)
#005EE2
Tritanopia (blue-blind)
#007492
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5a4be5;
/* rgb */ color: rgb(90, 75, 229);
/* oklch */ color: oklch(52.6% 0.223 279.9);
Tailwind
colors: {
  custom: {
    50: '#977fee',
    500: '#5a4be5',
    950: '#000000',
  },
}
SCSS
$custom: #5a4be5;
$custom-light: #977fee;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4be5",
  "rgb": {
    "r": 90,
    "g": 75,
    "b": 229
  },
  "hsl": {
    "h": 245.844,
    "s": 74.757,
    "l": 59.608
  },
  "oklch": {
    "l": 0.5257,
    "c": 0.22251,
    "h": 279.9
  },
  "luminance": 0.12863
}

Semantic roles & 50–950 ramp

primary
#5A4BE5
secondary
#DEE4A8
accent
#F136DF
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5A4BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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