#5A55E5#5A55E5

#5A55E5 is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 54.1% C 0.211 H 278.2°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#5A55E5
RGBrgb(90, 85, 229)
HSLhsl(242, 73%, 62%)
HSVhsv(242, 63%, 90%)
CMYKcmyk(60.7%, 62.9%, 0%, 10.2%)
CIE-LABlab(44.70, 43.51, -72.56)
CIE-LCHlch(44.70, 84.61, 300.95°)
OKLaboklab(54.12% 0.0301 -0.2089)
OKLCHoklch(54.12% 0.211 278.2)
XYZxyz(21.6033, 14.3262, 75.7404)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A55E5 #E0E555
analogous
#5598E5 #5A55E5 #A255E5
triadic
#5A55E5 #E55A55 #55E55A
tetradic
#5A55E5 #E55598 #E0E555 #55E5A2
square
#5A55E5 #E55598 #E0E555 #55E5A2
split-complementary
#5A55E5 #E5A255 #98E555
monochromatic
#1E19A6 #2822DB #5A55E5 #8E8AED #C1BFF5

Accessibility & contrast

On white

5.43
#5A55E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#5A55E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A55E5
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A55E5#FFFFFF#000000##FFFFFF
##5A55E51.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EA
Deuteranopia (green-blind)
#0064E2
Tritanopia (blue-blind)
#007995
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5a55e5;
/* rgb */ color: rgb(90, 85, 229);
/* oklch */ color: oklch(54.1% 0.211 278.2);
Tailwind
colors: {
  custom: {
    50: '#9685ee',
    500: '#5a55e5',
    950: '#000000',
  },
}
SCSS
$custom: #5a55e5;
$custom-light: #9685ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5a55e5",
  "rgb": {
    "r": 90,
    "g": 85,
    "b": 229
  },
  "hsl": {
    "h": 242.083,
    "s": 73.469,
    "l": 61.569
  },
  "oklch": {
    "l": 0.54124,
    "c": 0.21108,
    "h": 278.2
  },
  "luminance": 0.14328
}

Semantic roles & 50–950 ramp

primary
#5A55E5
secondary
#E4E6B0
accent
#D610CF
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5A55E5

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

Preview Lab → · Contrast checker → · Palette generator →

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