#5A54DD#5A54DD

#5A54DD is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.3% C 0.202 H 279.0°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#5A54DD
RGBrgb(90, 84, 221)
HSLhsl(243, 67%, 60%)
HSVhsv(243, 62%, 87%)
CMYKcmyk(59.3%, 62%, 0%, 13.3%)
CIE-LABlab(43.85, 41.56, -69.40)
CIE-LCHlch(43.85, 80.89, 300.92°)
OKLaboklab(53.31% 0.0316 -0.1996)
OKLCHoklch(53.31% 0.202 279)
XYZxyz(20.4338, 13.7333, 69.9666)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A54DD #D7DD54
analogous
#5492DD #5A54DD #9F54DD
triadic
#5A54DD #DD5A54 #54DD5A
tetradic
#5A54DD #DD5492 #D7DD54 #54DD9F
square
#5A54DD #DD5492 #D7DD54 #54DD9F
split-complementary
#5A54DD #DD9F54 #92DD54
monochromatic
#241E98 #3028CB #5A54DD #8B87E7 #BDBAF1

Accessibility & contrast

On white

5.60
#5A54DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#5A54DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A54DD
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A54DD#FFFFFF#000000##FFFFFF
##5A54DD1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE1
Deuteranopia (green-blind)
#0062DA
Tritanopia (blue-blind)
#007691
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5a54dd;
/* rgb */ color: rgb(90, 84, 221);
/* oklch */ color: oklch(53.3% 0.202 279.0);
Tailwind
colors: {
  custom: {
    50: '#9585e9',
    500: '#5a54dd',
    950: '#000000',
  },
}
SCSS
$custom: #5a54dd;
$custom-light: #9585e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5a54dd",
  "rgb": {
    "r": 90,
    "g": 84,
    "b": 221
  },
  "hsl": {
    "h": 242.628,
    "s": 66.829,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53309,
    "c": 0.20213,
    "h": 279
  },
  "luminance": 0.13735
}

Semantic roles & 50–950 ramp

primary
#5A54DD
secondary
#DFE1AC
accent
#EA3EE2
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5A54DD

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

Preview Lab → · Contrast checker → · Palette generator →

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