#5A44CB#5A44CB

#5A44CB is a mid, vivid blue. Relative luminance 0.106; OKLCH L 49.3% C 0.199 H 283.8°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#5A44CB
RGBrgb(90, 68, 203)
HSLhsl(250, 56%, 53%)
HSVhsv(250, 67%, 80%)
CMYKcmyk(55.7%, 66.5%, 0%, 20.4%)
CIE-LABlab(38.93, 45.27, -67.08)
CIE-LCHlch(38.93, 80.93, 304.02°)
OKLaboklab(49.29% 0.0475 -0.1929)
OKLCHoklch(49.29% 0.199 283.8)
XYZxyz(17.0598, 10.6187, 57.6390)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A44CB #B5CB44
analogous
#4471CB #5A44CB #9D44CB
triadic
#5A44CB #CB5A44 #44CB5A
tetradic
#5A44CB #CB4471 #B5CB44 #44CB9D
square
#5A44CB #CB4471 #B5CB44 #44CB9D
split-complementary
#5A44CB #CB9D44 #71CB44
monochromatic
#2E2074 #412EA4 #5A44CB #8474D8 #AFA4E6

Accessibility & contrast

On white

6.72
#5A44CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#5A44CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A44CB
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A44CB#FFFFFF#000000##FFFFFF
##5A44CB1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CF
Deuteranopia (green-blind)
#0057C8
Tritanopia (blue-blind)
#236682
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5a44cb;
/* rgb */ color: rgb(90, 68, 203);
/* oklch */ color: oklch(49.3% 0.199 283.8);
Tailwind
colors: {
  custom: {
    50: '#9379dc',
    500: '#5a44cb',
    950: '#000000',
  },
}
SCSS
$custom: #5a44cb;
$custom-light: #9379dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5a44cb",
  "rgb": {
    "r": 90,
    "g": 68,
    "b": 203
  },
  "hsl": {
    "h": 249.778,
    "s": 56.485,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49289,
    "c": 0.19863,
    "h": 283.8
  },
  "luminance": 0.1062
}

Semantic roles & 50–950 ramp

primary
#5A44CB
secondary
#C9D398
accent
#E048C7
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5A44CB

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

Preview Lab → · Contrast checker → · Palette generator →

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