#5A44E1#5A44E1

#5A44E1 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 51.2% C 0.225 H 281.3°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#5A44E1
RGBrgb(90, 68, 225)
HSLhsl(248, 72%, 57%)
HSVhsv(248, 70%, 88%)
CMYKcmyk(60%, 69.8%, 0%, 11.8%)
CIE-LABlab(40.80, 51.90, -76.66)
CIE-LCHlch(40.80, 92.58, 304.10°)
OKLaboklab(51.21% 0.044 -0.2209)
OKLCHoklch(51.21% 0.225 281.3)
XYZxyz(19.8699, 11.7427, 72.4391)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A44E1 #CBE144
analogous
#447CE1 #5A44E1 #A944E1
triadic
#5A44E1 #E15A44 #44E15A
tetradic
#5A44E1 #E1447C #CBE144 #44E1A9
square
#5A44E1 #E1447C #CBE144 #44E1A9
split-complementary
#5A44E1 #E1A944 #7CE144
monochromatic
#291893 #3820C8 #5A44E1 #8979E9 #B7ADF2

Accessibility & contrast

On white

6.27
#5A44E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#5A44E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A44E1
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A44E1#FFFFFF#000000##FFFFFF
##5A44E11.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E6
Deuteranopia (green-blind)
#005ADE
Tritanopia (blue-blind)
#006E8E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5a44e1;
/* rgb */ color: rgb(90, 68, 225);
/* oklch */ color: oklch(51.2% 0.225 281.3);
Tailwind
colors: {
  custom: {
    50: '#977aec',
    500: '#5a44e1',
    950: '#000000',
  },
}
SCSS
$custom: #5a44e1;
$custom-light: #977aec;
$custom-dark: #000000;
JSON
{
  "hex": "#5a44e1",
  "rgb": {
    "r": 90,
    "g": 68,
    "b": 225
  },
  "hsl": {
    "h": 248.408,
    "s": 72.35,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5121,
    "c": 0.22529,
    "h": 281.3
  },
  "luminance": 0.11744
}

Semantic roles & 50–950 ramp

primary
#5A44E1
secondary
#D7E0A1
accent
#EF39D6
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5A44E1

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

Preview Lab → · Contrast checker → · Palette generator →

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