#5A5DF3#5A5DF3

#5A5DF3 is a mid, highly saturated blue. Relative luminance 0.165; OKLCH L 56.6% C 0.219 H 275.9°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#5A5DF3
RGBrgb(90, 93, 243)
HSLhsl(239, 86%, 65%)
HSVhsv(239, 63%, 95%)
CMYKcmyk(63%, 61.7%, 0%, 4.7%)
CIE-LABlab(47.59, 43.27, -75.72)
CIE-LCHlch(47.59, 87.22, 299.75°)
OKLaboklab(56.58% 0.0227 -0.2182)
OKLCHoklch(56.58% 0.219 275.9)
XYZxyz(24.3032, 16.4714, 86.6752)
Luminance0.1647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A5DF3 #F3F05A
analogous
#5AA9F3 #5A5DF3 #A45AF3
triadic
#5A5DF3 #F35A5D #5DF35A
tetradic
#5A5DF3 #F35AA9 #F3F05A #5AF3A4
square
#5A5DF3 #F35AA9 #F3F05A #5AF3A4
split-complementary
#5A5DF3 #F3A45A #A9F35A
monochromatic
#0E12C4 #2125EF #5A5DF3 #9395F7 #CCCDFB

Accessibility & contrast

On white

4.89
#5A5DF3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#5A5DF3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A5DF3
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A5DF3#FFFFFF#000000##FFFFFF
##5A5DF31.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F8
Deuteranopia (green-blind)
#006AF0
Tritanopia (blue-blind)
#00839F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5a5df3;
/* rgb */ color: rgb(90, 93, 243);
/* oklch */ color: oklch(56.6% 0.219 275.9);
Tailwind
colors: {
  custom: {
    50: '#988bf8',
    500: '#5a5df3',
    950: '#000000',
  },
}
SCSS
$custom: #5a5df3;
$custom-light: #988bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a5df3",
  "rgb": {
    "r": 90,
    "g": 93,
    "b": 243
  },
  "hsl": {
    "h": 238.824,
    "s": 86.441,
    "l": 65.294
  },
  "oklch": {
    "l": 0.5658,
    "c": 0.21935,
    "h": 275.9
  },
  "luminance": 0.16473
}

Semantic roles & 50–950 ramp

primary
#5A5DF3
secondary
#EEEDBB
accent
#DF03E3
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5A5DF3

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

Preview Lab → · Contrast checker → · Palette generator →

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