#5A5DE5#5A5DE5

#5A5DE5 is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.5% C 0.201 H 276.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5A5DE5
RGBrgb(90, 93, 229)
HSLhsl(239, 73%, 63%)
HSVhsv(239, 61%, 90%)
CMYKcmyk(60.7%, 59.4%, 0%, 10.2%)
CIE-LABlab(46.52, 38.75, -69.58)
CIE-LCHlch(46.52, 79.65, 299.11°)
OKLaboklab(55.46% 0.0233 -0.2001)
OKLCHoklch(55.46% 0.201 276.6)
XYZxyz(22.2691, 15.6578, 75.9623)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5DE5 #E5E25A
analogous
#5AA3E5 #5A5DE5 #9C5AE5
triadic
#5A5DE5 #E55A5D #5DE55A
tetradic
#5A5DE5 #E55AA3 #E5E25A #5AE59C
square
#5A5DE5 #E55AA3 #E5E25A #5AE59C
split-complementary
#5A5DE5 #E59C5A #A3E55A
monochromatic
#1B1EAA #2529DD #5A5DE5 #8F91ED #C4C5F6

Accessibility & contrast

On white

5.08
#5A5DE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#5A5DE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A5DE5
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5DE5#FFFFFF#000000##FFFFFF
##5A5DE51.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E9
Deuteranopia (green-blind)
#0068E2
Tritanopia (blue-blind)
#007E98
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5a5de5;
/* rgb */ color: rgb(90, 93, 229);
/* oklch */ color: oklch(55.5% 0.201 276.6);
Tailwind
colors: {
  custom: {
    50: '#968bee',
    500: '#5a5de5',
    950: '#000000',
  },
}
SCSS
$custom: #5a5de5;
$custom-light: #968bee;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5de5",
  "rgb": {
    "r": 90,
    "g": 93,
    "b": 229
  },
  "hsl": {
    "h": 238.705,
    "s": 72.775,
    "l": 62.549
  },
  "oklch": {
    "l": 0.55464,
    "c": 0.20149,
    "h": 276.6
  },
  "luminance": 0.1566
}

Semantic roles & 50–950 ramp

primary
#5A5DE5
secondary
#E7E6B4
accent
#D111D5
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #5A5DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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