#5A55EA#5A55EA

#5A55EA is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.5% C 0.217 H 277.9°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5A55EA
RGBrgb(90, 85, 234)
HSLhsl(242, 78%, 63%)
HSVhsv(242, 64%, 92%)
CMYKcmyk(61.5%, 63.7%, 0%, 8.2%)
CIE-LABlab(45.09, 45.10, -74.74)
CIE-LCHlch(45.09, 87.29, 301.11°)
OKLaboklab(54.54% 0.0297 -0.2153)
OKLCHoklch(54.54% 0.217 277.9)
XYZxyz(22.3114, 14.6094, 79.4701)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A55EA #E5EA55
analogous
#559BEA #5A55EA #A455EA
triadic
#5A55EA #EA5A55 #55EA5A
tetradic
#5A55EA #EA559B #E5EA55 #55EAA4
square
#5A55EA #EA559B #E5EA55 #55EAA4
split-complementary
#5A55EA #EAA455 #9BEA55
monochromatic
#1B16AF #251FE3 #5A55EA #8F8BF1 #C4C2F7

Accessibility & contrast

On white

5.35
#5A55EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#5A55EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A55EA
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A55EA#FFFFFF#000000##FFFFFF
##5A55EA1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EF
Deuteranopia (green-blind)
#0064E7
Tritanopia (blue-blind)
#007B98
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5a55ea;
/* rgb */ color: rgb(90, 85, 234);
/* oklch */ color: oklch(54.5% 0.217 277.9);
Tailwind
colors: {
  custom: {
    50: '#9785f2',
    500: '#5a55ea',
    950: '#000000',
  },
}
SCSS
$custom: #5a55ea;
$custom-light: #9785f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a55ea",
  "rgb": {
    "r": 90,
    "g": 85,
    "b": 234
  },
  "hsl": {
    "h": 242.013,
    "s": 78.01,
    "l": 62.549
  },
  "oklch": {
    "l": 0.54538,
    "c": 0.21735,
    "h": 277.9
  },
  "luminance": 0.14611
}

Semantic roles & 50–950 ramp

primary
#5A55EA
secondary
#E7E8B2
accent
#DA0BD3
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5A55EA

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

Preview Lab → · Contrast checker → · Palette generator →

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