#5A5DE3#5A5DE3

#5A5DE3 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 55.3% C 0.199 H 276.7°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#5A5DE3
RGBrgb(90, 93, 227)
HSLhsl(239, 71%, 62%)
HSVhsv(239, 60%, 89%)
CMYKcmyk(60.4%, 59%, 0%, 11%)
CIE-LABlab(46.37, 38.10, -68.69)
CIE-LCHlch(46.37, 78.55, 299.01°)
OKLaboklab(55.31% 0.0234 -0.1975)
OKLCHoklch(55.31% 0.199 276.7)
XYZxyz(21.9914, 15.5467, 74.5001)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5DE3 #E3E05A
analogous
#5AA2E3 #5A5DE3 #9C5AE3
triadic
#5A5DE3 #E35A5D #5DE35A
tetradic
#5A5DE3 #E35AA2 #E3E05A #5AE39C
square
#5A5DE3 #E35AA2 #E3E05A #5AE39C
split-complementary
#5A5DE3 #E39C5A #A2E35A
monochromatic
#1C1FA6 #262ADA #5A5DE3 #8E90EC #C3C4F5

Accessibility & contrast

On white

5.11
#5A5DE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#5A5DE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A5DE3
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5DE3#FFFFFF#000000##FFFFFF
##5A5DE31.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E7
Deuteranopia (green-blind)
#0068E0
Tritanopia (blue-blind)
#007E97
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5a5de3;
/* rgb */ color: rgb(90, 93, 227);
/* oklch */ color: oklch(55.3% 0.199 276.7);
Tailwind
colors: {
  custom: {
    50: '#968bed',
    500: '#5a5de3',
    950: '#000000',
  },
}
SCSS
$custom: #5a5de3;
$custom-light: #968bed;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5de3",
  "rgb": {
    "r": 90,
    "g": 93,
    "b": 227
  },
  "hsl": {
    "h": 238.686,
    "s": 70.984,
    "l": 62.157
  },
  "oklch": {
    "l": 0.55308,
    "c": 0.1989,
    "h": 276.7
  },
  "luminance": 0.15548
}

Semantic roles & 50–950 ramp

primary
#5A5DE3
secondary
#E6E4B3
accent
#CF12D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #5A5DE3

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

Preview Lab → · Contrast checker → · Palette generator →

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