#5A55DC#5A55DC

#5A55DC is a mid, vivid blue. Relative luminance 0.138; OKLCH L 53.4% C 0.200 H 278.9°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#5A55DC
RGBrgb(90, 85, 220)
HSLhsl(242, 66%, 60%)
HSVhsv(242, 61%, 86%)
CMYKcmyk(59.1%, 61.4%, 0%, 13.7%)
CIE-LABlab(44.00, 40.65, -68.59)
CIE-LCHlch(44.00, 79.73, 300.66°)
OKLaboklab(53.39% 0.0307 -0.1973)
OKLCHoklch(53.39% 0.2 278.9)
XYZxyz(20.3791, 13.8365, 69.2931)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A55DC #D7DC55
analogous
#5594DC #5A55DC #9D55DC
triadic
#5A55DC #DC5A55 #55DC5A
tetradic
#5A55DC #DC5594 #D7DC55 #55DC9D
square
#5A55DC #DC5594 #D7DC55 #55DC9D
split-complementary
#5A55DC #DC9D55 #94DC55
monochromatic
#241F97 #302ACA #5A55DC #8B88E6 #BDBBF1

Accessibility & contrast

On white

5.57
#5A55DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#5A55DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A55DC
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A55DC#FFFFFF#000000##FFFFFF
##5A55DC1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#0063D9
Tritanopia (blue-blind)
#007690
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5a55dc;
/* rgb */ color: rgb(90, 85, 220);
/* oklch */ color: oklch(53.4% 0.200 278.9);
Tailwind
colors: {
  custom: {
    50: '#9585e8',
    500: '#5a55dc',
    950: '#000000',
  },
}
SCSS
$custom: #5a55dc;
$custom-light: #9585e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a55dc",
  "rgb": {
    "r": 90,
    "g": 85,
    "b": 220
  },
  "hsl": {
    "h": 242.222,
    "s": 65.854,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53394,
    "c": 0.19964,
    "h": 278.9
  },
  "luminance": 0.13838
}

Semantic roles & 50–950 ramp

primary
#5A55DC
secondary
#DFE0AC
accent
#E93FE3
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5A55DC

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

Preview Lab → · Contrast checker → · Palette generator →

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