#5A4BE0#5A4BE0

#5A4BE0 is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.1% C 0.216 H 280.3°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#5A4BE0
RGBrgb(90, 75, 224)
HSLhsl(246, 71%, 59%)
HSVhsv(246, 67%, 88%)
CMYKcmyk(59.8%, 66.5%, 0%, 12.2%)
CIE-LABlab(42.13, 47.73, -73.91)
CIE-LCHlch(42.13, 87.98, 302.85°)
OKLaboklab(52.14% 0.0388 -0.2129)
OKLCHoklch(52.14% 0.216 280.3)
XYZxyz(20.1828, 12.5862, 71.8724)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4BE0 #D1E04B
analogous
#4B86E0 #5A4BE0 #A44BE0
triadic
#5A4BE0 #E05A4B #4BE05A
tetradic
#5A4BE0 #E04B86 #D1E04B #4BE0A4
square
#5A4BE0 #E04B86 #D1E04B #4BE0A4
split-complementary
#5A4BE0 #E0A44B #86E04B
monochromatic
#261A97 #3423CB #5A4BE0 #8A7FE9 #BAB3F2

Accessibility & contrast

On white

5.97
#5A4BE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5A4BE0
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4BE0#FFFFFF#000000##FFFFFF
##5A4BE01.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E5
Deuteranopia (green-blind)
#005EDD
Tritanopia (blue-blind)
#00728F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5a4be0;
/* rgb */ color: rgb(90, 75, 224);
/* oklch */ color: oklch(52.1% 0.216 280.3);
Tailwind
colors: {
  custom: {
    50: '#967feb',
    500: '#5a4be0',
    950: '#000000',
  },
}
SCSS
$custom: #5a4be0;
$custom-light: #967feb;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4be0",
  "rgb": {
    "r": 90,
    "g": 75,
    "b": 224
  },
  "hsl": {
    "h": 246.04,
    "s": 70.616,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52137,
    "c": 0.21642,
    "h": 280.3
  },
  "luminance": 0.12588
}

Semantic roles & 50–950 ramp

primary
#5A4BE0
secondary
#DBE1A6
accent
#ED3ADB
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5A4BE0

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

Preview Lab → · Contrast checker → · Palette generator →

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