#5A4BBF#5A4BBF

#5A4BBF is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.4% C 0.175 H 283.9°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#5A4BBF
RGBrgb(90, 75, 191)
HSLhsl(248, 48%, 52%)
HSVhsv(248, 61%, 75%)
CMYKcmyk(52.9%, 60.7%, 0%, 25.1%)
CIE-LABlab(39.52, 37.52, -59.13)
CIE-LCHlch(39.52, 70.03, 302.39°)
OKLaboklab(49.43% 0.0418 -0.1695)
OKLCHoklch(49.43% 0.175 283.9)
XYZxyz(16.1336, 10.9665, 50.5467)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A4BBF #B0BF4B
analogous
#4B76BF #5A4BBF #944BBF
triadic
#5A4BBF #BF5A4B #4BBF5A
tetradic
#5A4BBF #BF4B76 #B0BF4B #4BBF94
square
#5A4BBF #BF4B76 #B0BF4B #4BBF94
split-complementary
#5A4BBF #BF944B #76BF4B
monochromatic
#2E266A #423697 #5A4BBF #8378CF #ADA5DF

Accessibility & contrast

On white

6.58
#5A4BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#5A4BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A4BBF
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A4BBF#FFFFFF#000000##FFFFFF
##5A4BBF1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#30677E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5a4bbf;
/* rgb */ color: rgb(90, 75, 191);
/* oklch */ color: oklch(49.4% 0.175 283.9);
Tailwind
colors: {
  custom: {
    50: '#917ed3',
    500: '#5a4bbf',
    950: '#000000',
  },
}
SCSS
$custom: #5a4bbf;
$custom-light: #917ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a4bbf",
  "rgb": {
    "r": 90,
    "g": 75,
    "b": 191
  },
  "hsl": {
    "h": 247.759,
    "s": 47.541,
    "l": 52.157
  },
  "oklch": {
    "l": 0.49428,
    "c": 0.17459,
    "h": 283.9
  },
  "luminance": 0.10967
}

Semantic roles & 50–950 ramp

primary
#5A4BBF
secondary
#C6CC9A
accent
#D751C6
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5A4BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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