#5D5CE3#5D5CE3

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

Color values

HEX#5D5CE3
RGBrgb(93, 92, 227)
HSLhsl(240, 71%, 63%)
HSVhsv(240, 59%, 89%)
CMYKcmyk(59%, 59.5%, 0%, 11%)
CIE-LABlab(46.35, 39.20, -68.73)
CIE-LCHlch(46.35, 79.12, 299.70°)
OKLaboklab(55.34% 0.0277 -0.1976)
OKLCHoklch(55.34% 0.2 278)
XYZxyz(22.2020, 15.5259, 74.4850)
Luminance0.1553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5CE3 #E2E35C
analogous
#5C9FE3 #5D5CE3 #A05CE3
triadic
#5D5CE3 #E35D5C #5CE35D
tetradic
#5D5CE3 #E35C9F #E2E35C #5CE3A0
square
#5D5CE3 #E35C9F #E2E35C #5CE3A0
split-complementary
#5D5CE3 #E3A05C #9FE35C
monochromatic
#1E1DA8 #2928DA #5D5CE3 #9190EC #C5C4F5

Accessibility & contrast

On white

5.12
#5D5CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5D5CE3
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5CE3#FFFFFF#000000##FFFFFF
##5D5CE31.005.124.115.12
#FFFFFF5.121.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d5ce3;
/* rgb */ color: rgb(93, 92, 227);
/* oklch */ color: oklch(55.3% 0.200 278.0);
Tailwind
colors: {
  custom: {
    50: '#978aed',
    500: '#5d5ce3',
    950: '#000000',
  },
}
SCSS
$custom: #5d5ce3;
$custom-light: #978aed;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5ce3",
  "rgb": {
    "r": 93,
    "g": 92,
    "b": 227
  },
  "hsl": {
    "h": 240.444,
    "s": 70.681,
    "l": 62.549
  },
  "oklch": {
    "l": 0.55341,
    "c": 0.1995,
    "h": 278
  },
  "luminance": 0.15527
}

Semantic roles & 50–950 ramp

primary
#5D5CE3
secondary
#E6E6B5
accent
#D313D1
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #5D5CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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