#5A5DE9#5A5DE9

#5A5DE9 is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 55.8% C 0.207 H 276.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5A5DE9
RGBrgb(90, 93, 233)
HSLhsl(239, 76%, 63%)
HSVhsv(239, 61%, 91%)
CMYKcmyk(61.4%, 60.1%, 0%, 8.6%)
CIE-LABlab(46.82, 40.04, -71.36)
CIE-LCHlch(46.82, 81.82, 299.30°)
OKLaboklab(55.78% 0.0232 -0.2053)
OKLCHoklch(55.78% 0.207 276.4)
XYZxyz(22.8340, 15.8837, 78.9376)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5DE9 #E9E65A
analogous
#5AA4E9 #5A5DE9 #9E5AE9
triadic
#5A5DE9 #E95A5D #5DE95A
tetradic
#5A5DE9 #E95AA4 #E9E65A #5AE99E
square
#5A5DE9 #E95AA4 #E9E65A #5AE99E
split-complementary
#5A5DE9 #E99E5A #A4E95A
monochromatic
#181BB1 #2428E2 #5A5DE9 #9092F0 #C6C7F7

Accessibility & contrast

On white

5.03
#5A5DE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#5A5DE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A5DE9
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5DE9#FFFFFF#000000##FFFFFF
##5A5DE91.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EE
Deuteranopia (green-blind)
#0069E6
Tritanopia (blue-blind)
#00809A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5a5de9;
/* rgb */ color: rgb(90, 93, 233);
/* oklch */ color: oklch(55.8% 0.207 276.4);
Tailwind
colors: {
  custom: {
    50: '#978bf1',
    500: '#5a5de9',
    950: '#000000',
  },
}
SCSS
$custom: #5a5de9;
$custom-light: #978bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5de9",
  "rgb": {
    "r": 90,
    "g": 93,
    "b": 233
  },
  "hsl": {
    "h": 238.741,
    "s": 76.471,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55779,
    "c": 0.20664,
    "h": 276.4
  },
  "luminance": 0.15886
}

Semantic roles & 50–950 ramp

primary
#5A5DE9
secondary
#E9E8B6
accent
#D40DD9
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5A5DE9

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

Preview Lab → · Contrast checker → · Palette generator →

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