#5A55E4#5A55E4

#5A55E4 is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 54.0% C 0.210 H 278.3°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#5A55E4
RGBrgb(90, 85, 228)
HSLhsl(242, 73%, 61%)
HSVhsv(242, 63%, 89%)
CMYKcmyk(60.5%, 62.7%, 0%, 10.6%)
CIE-LABlab(44.62, 43.20, -72.12)
CIE-LCHlch(44.62, 84.07, 300.92°)
OKLaboklab(54.04% 0.0302 -0.2076)
OKLCHoklch(54.04% 0.21 278.3)
XYZxyz(21.4641, 14.2705, 75.0071)
Luminance0.1427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A55E4 #DFE455
analogous
#5598E4 #5A55E4 #A255E4
triadic
#5A55E4 #E45A55 #55E45A
tetradic
#5A55E4 #E45598 #DFE455 #55E4A2
square
#5A55E4 #E45598 #DFE455 #55E4A2
split-complementary
#5A55E4 #E4A255 #98E455
monochromatic
#1F1AA4 #2923D9 #5A55E4 #8D8AEC #C1BFF5

Accessibility & contrast

On white

5.45
#5A55E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#5A55E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A55E4
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A55E4#FFFFFF#000000##FFFFFF
##5A55E41.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE9
Deuteranopia (green-blind)
#0064E1
Tritanopia (blue-blind)
#007995
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5a55e4;
/* rgb */ color: rgb(90, 85, 228);
/* oklch */ color: oklch(54.0% 0.210 278.3);
Tailwind
colors: {
  custom: {
    50: '#9685ee',
    500: '#5a55e4',
    950: '#000000',
  },
}
SCSS
$custom: #5a55e4;
$custom-light: #9685ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5a55e4",
  "rgb": {
    "r": 90,
    "g": 85,
    "b": 228
  },
  "hsl": {
    "h": 242.098,
    "s": 72.589,
    "l": 61.373
  },
  "oklch": {
    "l": 0.54042,
    "c": 0.20983,
    "h": 278.3
  },
  "luminance": 0.14272
}

Semantic roles & 50–950 ramp

primary
#5A55E4
secondary
#E3E5B0
accent
#D511CE
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #5A55E4

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

Preview Lab → · Contrast checker → · Palette generator →

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