#5D5CEC#5D5CEC

#5D5CEC is a mid, highly saturated blue. Relative luminance 0.160; OKLCH L 56.0% C 0.211 H 277.4°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#5D5CEC
RGBrgb(93, 92, 236)
HSLhsl(240, 79%, 64%)
HSVhsv(240, 61%, 93%)
CMYKcmyk(60.6%, 61%, 0%, 7.5%)
CIE-LABlab(47.02, 42.07, -72.71)
CIE-LCHlch(47.02, 84.00, 300.05°)
OKLaboklab(56.05% 0.0274 -0.2092)
OKLCHoklch(56.05% 0.211 277.4)
XYZxyz(23.4768, 16.0358, 81.1987)
Luminance0.1604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5CEC #EBEC5C
analogous
#5CA3EC #5D5CEC #A55CEC
triadic
#5D5CEC #EC5D5C #5CEC5D
tetradic
#5D5CEC #EC5CA3 #EBEC5C #5CECA5
square
#5D5CEC #EC5CA3 #EBEC5C #5CECA5
split-complementary
#5D5CEC #ECA55C #A3EC5C
monochromatic
#1715B8 #2725E6 #5D5CEC #9393F2 #CACAF9

Accessibility & contrast

On white

4.99
#5D5CEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#5D5CEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5CEC
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5CEC#FFFFFF#000000##FFFFFF
##5D5CEC1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F1
Deuteranopia (green-blind)
#0069E9
Tritanopia (blue-blind)
#00809B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5d5cec;
/* rgb */ color: rgb(93, 92, 236);
/* oklch */ color: oklch(56.0% 0.211 277.4);
Tailwind
colors: {
  custom: {
    50: '#998af3',
    500: '#5d5cec',
    950: '#000000',
  },
}
SCSS
$custom: #5d5cec;
$custom-light: #998af3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5cec",
  "rgb": {
    "r": 93,
    "g": 92,
    "b": 236
  },
  "hsl": {
    "h": 240.417,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.56049,
    "c": 0.21103,
    "h": 277.4
  },
  "luminance": 0.16038
}

Semantic roles & 50–950 ramp

primary
#5D5CEC
secondary
#EBEBB9
accent
#DB0ADA
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5D5CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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