#5D5CE2#5D5CE2

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

Color values

HEX#5D5CE2
RGBrgb(93, 92, 226)
HSLhsl(240, 70%, 62%)
HSVhsv(240, 59%, 89%)
CMYKcmyk(58.8%, 59.3%, 0%, 11.4%)
CIE-LABlab(46.27, 38.88, -68.28)
CIE-LCHlch(46.27, 78.58, 299.66°)
OKLaboklab(55.26% 0.0278 -0.1962)
OKLCHoklch(55.26% 0.198 278)
XYZxyz(22.0644, 15.4708, 73.7602)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5CE2 #E1E25C
analogous
#5C9EE2 #5D5CE2 #A05CE2
triadic
#5D5CE2 #E25D5C #5CE25D
tetradic
#5D5CE2 #E25C9E #E1E25C #5CE2A0
square
#5D5CE2 #E25C9E #E1E25C #5CE2A0
split-complementary
#5D5CE2 #E2A05C #9EE25C
monochromatic
#1F1EA6 #2928D9 #5D5CE2 #9190EB #C4C4F4

Accessibility & contrast

On white

5.13
#5D5CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#5D5CE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5CE2
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5CE2#FFFFFF#000000##FFFFFF
##5D5CE21.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E6
Deuteranopia (green-blind)
#0068DF
Tritanopia (blue-blind)
#007C96
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5d5ce2;
/* rgb */ color: rgb(93, 92, 226);
/* oklch */ color: oklch(55.3% 0.198 278.0);
Tailwind
colors: {
  custom: {
    50: '#978aec',
    500: '#5d5ce2',
    950: '#000000',
  },
}
SCSS
$custom: #5d5ce2;
$custom-light: #978aec;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5ce2",
  "rgb": {
    "r": 93,
    "g": 92,
    "b": 226
  },
  "hsl": {
    "h": 240.448,
    "s": 69.792,
    "l": 62.353
  },
  "oklch": {
    "l": 0.55263,
    "c": 0.19819,
    "h": 278
  },
  "luminance": 0.15472
}

Semantic roles & 50–950 ramp

primary
#5D5CE2
secondary
#E5E5B4
accent
#D214D0
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #5D5CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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