#5D5ADC#5D5ADC

#5D5ADC is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.5% C 0.193 H 278.9°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5D5ADC
RGBrgb(93, 90, 220)
HSLhsl(241, 65%, 61%)
HSVhsv(241, 59%, 86%)
CMYKcmyk(57.7%, 59.1%, 0%, 13.7%)
CIE-LABlab(45.37, 38.17, -66.35)
CIE-LCHlch(45.37, 76.54, 299.91°)
OKLaboklab(54.46% 0.0298 -0.1906)
OKLCHoklch(54.46% 0.193 278.9)
XYZxyz(21.0845, 14.8053, 69.4429)
Luminance0.1481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5ADC #D9DC5A
analogous
#5A98DC #5D5ADC #9E5ADC
triadic
#5D5ADC #DC5D5A #5ADC5D
tetradic
#5D5ADC #DC5A98 #D9DC5A #5ADC9E
square
#5D5ADC #DC5A98 #D9DC5A #5ADC9E
split-complementary
#5D5ADC #DC9E5A #98DC5A
monochromatic
#24219B #2F2CCD #5D5ADC #8F8CE7 #C0BFF1

Accessibility & contrast

On white

5.30
#5D5ADC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#5D5ADC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5ADC
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5ADC#FFFFFF#000000##FFFFFF
##5D5ADC1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#0066D9
Tritanopia (blue-blind)
#057992
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5d5adc;
/* rgb */ color: rgb(93, 90, 220);
/* oklch */ color: oklch(54.5% 0.193 278.9);
Tailwind
colors: {
  custom: {
    50: '#9689e8',
    500: '#5d5adc',
    950: '#000000',
  },
}
SCSS
$custom: #5d5adc;
$custom-light: #9689e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5adc",
  "rgb": {
    "r": 93,
    "g": 90,
    "b": 220
  },
  "hsl": {
    "h": 241.385,
    "s": 65,
    "l": 60.784
  },
  "oklch": {
    "l": 0.54456,
    "c": 0.19288,
    "h": 278.9
  },
  "luminance": 0.14807
}

Semantic roles & 50–950 ramp

primary
#5D5ADC
secondary
#E0E2B0
accent
#CD19C9
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5D5ADC

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

Preview Lab → · Contrast checker → · Palette generator →

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