#5A55EE#5A55EE

#5A55EE is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 54.9% C 0.222 H 277.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5A55EE
RGBrgb(90, 85, 238)
HSLhsl(242, 82%, 63%)
HSVhsv(242, 64%, 93%)
CMYKcmyk(62.2%, 64.3%, 0%, 6.7%)
CIE-LABlab(45.42, 46.36, -76.46)
CIE-LCHlch(45.42, 89.42, 301.23°)
OKLaboklab(54.87% 0.0294 -0.2204)
OKLCHoklch(54.87% 0.222 277.6)
XYZxyz(22.8926, 14.8419, 82.5307)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A55EE #E9EE55
analogous
#559CEE #5A55EE #A655EE
triadic
#5A55EE #EE5A55 #55EE5A
tetradic
#5A55EE #EE559C #E9EE55 #55EEA6
square
#5A55EE #EE559C #E9EE55 #55EEA6
split-complementary
#5A55EE #EEA655 #9CEE55
monochromatic
#1812B6 #241DE8 #5A55EE #908DF4 #C6C4F9

Accessibility & contrast

On white

5.29
#5A55EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#5A55EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A55EE
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A55EE#FFFFFF#000000##FFFFFF
##5A55EE1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F3
Deuteranopia (green-blind)
#0065EB
Tritanopia (blue-blind)
#007C9A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5a55ee;
/* rgb */ color: rgb(90, 85, 238);
/* oklch */ color: oklch(54.9% 0.222 277.6);
Tailwind
colors: {
  custom: {
    50: '#9886f5',
    500: '#5a55ee',
    950: '#000000',
  },
}
SCSS
$custom: #5a55ee;
$custom-light: #9886f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5a55ee",
  "rgb": {
    "r": 90,
    "g": 85,
    "b": 238
  },
  "hsl": {
    "h": 241.961,
    "s": 81.818,
    "l": 63.333
  },
  "oklch": {
    "l": 0.54872,
    "c": 0.22233,
    "h": 277.6
  },
  "luminance": 0.14844
}

Semantic roles & 50–950 ramp

primary
#5A55EE
secondary
#E9EBB4
accent
#DE07D7
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5A55EE

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

Preview Lab → · Contrast checker → · Palette generator →

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