#5A55EC#5A55EC

#5A55EC is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.7% C 0.220 H 277.7°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#5A55EC
RGBrgb(90, 85, 236)
HSLhsl(242, 80%, 63%)
HSVhsv(242, 64%, 93%)
CMYKcmyk(61.9%, 64%, 0%, 7.5%)
CIE-LABlab(45.26, 45.73, -75.60)
CIE-LCHlch(45.26, 88.36, 301.17°)
OKLaboklab(54.7% 0.0296 -0.2178)
OKLCHoklch(54.7% 0.22 277.7)
XYZxyz(22.6004, 14.7250, 80.9918)
Luminance0.1473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A55EC #E7EC55
analogous
#559BEC #5A55EC #A655EC
triadic
#5A55EC #EC5A55 #55EC5A
tetradic
#5A55EC #EC559B #E7EC55 #55ECA6
square
#5A55EC #EC559B #E7EC55 #55ECA6
split-complementary
#5A55EC #ECA655 #9BEC55
monochromatic
#1914B3 #251EE6 #5A55EC #8F8CF2 #C5C3F8

Accessibility & contrast

On white

5.32
#5A55EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#5A55EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A55EC
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A55EC#FFFFFF#000000##FFFFFF
##5A55EC1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F1
Deuteranopia (green-blind)
#0065E9
Tritanopia (blue-blind)
#007C99
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5a55ec;
/* rgb */ color: rgb(90, 85, 236);
/* oklch */ color: oklch(54.7% 0.220 277.7);
Tailwind
colors: {
  custom: {
    50: '#9885f3',
    500: '#5a55ec',
    950: '#000000',
  },
}
SCSS
$custom: #5a55ec;
$custom-light: #9885f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a55ec",
  "rgb": {
    "r": 90,
    "g": 85,
    "b": 236
  },
  "hsl": {
    "h": 241.987,
    "s": 79.894,
    "l": 62.941
  },
  "oklch": {
    "l": 0.54704,
    "c": 0.21985,
    "h": 277.7
  },
  "luminance": 0.14727
}

Semantic roles & 50–950 ramp

primary
#5A55EC
secondary
#E8EAB3
accent
#DC09D5
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5A55EC

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

Preview Lab → · Contrast checker → · Palette generator →

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