#5A55DD#5A55DD

#5A55DD is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.5% C 0.201 H 278.8°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#5A55DD
RGBrgb(90, 85, 221)
HSLhsl(242, 67%, 60%)
HSVhsv(242, 62%, 87%)
CMYKcmyk(59.3%, 61.5%, 0%, 13.3%)
CIE-LABlab(44.07, 40.97, -69.03)
CIE-LCHlch(44.07, 80.27, 300.69°)
OKLaboklab(53.47% 0.0307 -0.1986)
OKLCHoklch(53.47% 0.201 278.8)
XYZxyz(20.5119, 13.8896, 69.9927)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A55DD #D8DD55
analogous
#5594DD #5A55DD #9E55DD
triadic
#5A55DD #DD5A55 #55DD5A
tetradic
#5A55DD #DD5594 #D8DD55 #55DD9E
square
#5A55DD #DD5594 #D8DD55 #55DD9E
split-complementary
#5A55DD #DD9E55 #94DD55
monochromatic
#231F99 #2F29CC #5A55DD #8B88E7 #BDBBF1

Accessibility & contrast

On white

5.56
#5A55DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#5A55DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A55DD
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A55DD#FFFFFF#000000##FFFFFF
##5A55DD1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE1
Deuteranopia (green-blind)
#0063DA
Tritanopia (blue-blind)
#007791
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5a55dd;
/* rgb */ color: rgb(90, 85, 221);
/* oklch */ color: oklch(53.5% 0.201 278.8);
Tailwind
colors: {
  custom: {
    50: '#9585e9',
    500: '#5a55dd',
    950: '#000000',
  },
}
SCSS
$custom: #5a55dd;
$custom-light: #9585e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5a55dd",
  "rgb": {
    "r": 90,
    "g": 85,
    "b": 221
  },
  "hsl": {
    "h": 242.206,
    "s": 66.667,
    "l": 60
  },
  "oklch": {
    "l": 0.53475,
    "c": 0.20092,
    "h": 278.8
  },
  "luminance": 0.13891
}

Semantic roles & 50–950 ramp

primary
#5A55DD
secondary
#DFE1AD
accent
#EA3EE3
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5A55DD

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

Preview Lab → · Contrast checker → · Palette generator →

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