#5A5DE8#5A5DE8

#5A5DE8 is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 55.7% C 0.205 H 276.5°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#5A5DE8
RGBrgb(90, 93, 232)
HSLhsl(239, 76%, 63%)
HSVhsv(239, 61%, 91%)
CMYKcmyk(61.2%, 59.9%, 0%, 9%)
CIE-LABlab(46.75, 39.72, -70.91)
CIE-LCHlch(46.75, 81.28, 299.25°)
OKLaboklab(55.7% 0.0232 -0.204)
OKLCHoklch(55.7% 0.205 276.5)
XYZxyz(22.6916, 15.8268, 78.1874)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5DE8 #E8E55A
analogous
#5AA4E8 #5A5DE8 #9E5AE8
triadic
#5A5DE8 #E85A5D #5DE85A
tetradic
#5A5DE8 #E85AA4 #E8E55A #5AE89E
square
#5A5DE8 #E85AA4 #E8E55A #5AE89E
split-complementary
#5A5DE8 #E89E5A #A4E85A
monochromatic
#181CAF #2428E1 #5A5DE8 #9092EF #C5C6F7

Accessibility & contrast

On white

5.04
#5A5DE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#5A5DE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A5DE8
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5DE8#FFFFFF#000000##FFFFFF
##5A5DE81.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075ED
Deuteranopia (green-blind)
#0069E5
Tritanopia (blue-blind)
#007F9A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5a5de8;
/* rgb */ color: rgb(90, 93, 232);
/* oklch */ color: oklch(55.7% 0.205 276.5);
Tailwind
colors: {
  custom: {
    50: '#968bf0',
    500: '#5a5de8',
    950: '#000000',
  },
}
SCSS
$custom: #5a5de8;
$custom-light: #968bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5de8",
  "rgb": {
    "r": 90,
    "g": 93,
    "b": 232
  },
  "hsl": {
    "h": 238.732,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.557,
    "c": 0.20536,
    "h": 276.5
  },
  "luminance": 0.15829
}

Semantic roles & 50–950 ramp

primary
#5A5DE8
secondary
#E8E7B5
accent
#D30ED8
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5A5DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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