#5A55E6#5A55E6

#5A55E6 is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.2% C 0.212 H 278.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#5A55E6
RGBrgb(90, 85, 230)
HSLhsl(242, 74%, 62%)
HSVhsv(242, 63%, 90%)
CMYKcmyk(60.9%, 63%, 0%, 9.8%)
CIE-LABlab(44.78, 43.83, -73.00)
CIE-LCHlch(44.78, 85.14, 300.98°)
OKLaboklab(54.21% 0.0301 -0.2102)
OKLCHoklch(54.21% 0.212 278.1)
XYZxyz(21.7433, 14.3822, 76.4778)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A55E6 #E1E655
analogous
#5599E6 #5A55E6 #A355E6
triadic
#5A55E6 #E65A55 #55E65A
tetradic
#5A55E6 #E65599 #E1E655 #55E6A3
square
#5A55E6 #E65599 #E1E655 #55E6A3
split-complementary
#5A55E6 #E6A355 #99E655
monochromatic
#1E19A8 #2721DD #5A55E6 #8E8AEE #C2C0F6

Accessibility & contrast

On white

5.42
#5A55E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#5A55E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A55E6
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A55E6#FFFFFF#000000##FFFFFF
##5A55E61.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EB
Deuteranopia (green-blind)
#0064E3
Tritanopia (blue-blind)
#007A96
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5a55e6;
/* rgb */ color: rgb(90, 85, 230);
/* oklch */ color: oklch(54.2% 0.212 278.1);
Tailwind
colors: {
  custom: {
    50: '#9785ef',
    500: '#5a55e6',
    950: '#000000',
  },
}
SCSS
$custom: #5a55e6;
$custom-light: #9785ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5a55e6",
  "rgb": {
    "r": 90,
    "g": 85,
    "b": 230
  },
  "hsl": {
    "h": 242.069,
    "s": 74.359,
    "l": 61.765
  },
  "oklch": {
    "l": 0.54207,
    "c": 0.21235,
    "h": 278.1
  },
  "luminance": 0.14384
}

Semantic roles & 50–950 ramp

primary
#5A55E6
secondary
#E4E6B1
accent
#D60FD0
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5A55E6

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

Preview Lab → · Contrast checker → · Palette generator →

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