#5D5EEC#5D5EEC

#5D5EEC is a mid, highly saturated blue. Relative luminance 0.164; OKLCH L 56.4% C 0.209 H 277.1°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5D5EEC
RGBrgb(93, 94, 236)
HSLhsl(240, 79%, 65%)
HSVhsv(240, 61%, 93%)
CMYKcmyk(60.6%, 60.2%, 0%, 7.5%)
CIE-LABlab(47.48, 40.88, -71.97)
CIE-LCHlch(47.48, 82.77, 299.60°)
OKLaboklab(56.38% 0.0256 -0.207)
OKLCHoklch(56.38% 0.209 277.1)
XYZxyz(23.6523, 16.3869, 81.2572)
Luminance0.1639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5EEC #ECEB5D
analogous
#5DA6EC #5D5EEC #A35DEC
triadic
#5D5EEC #EC5D5E #5EEC5D
tetradic
#5D5EEC #EC5DA6 #ECEB5D #5DECA3
square
#5D5EEC #EC5DA6 #ECEB5D #5DECA3
split-complementary
#5D5EEC #ECA35D #A6EC5D
monochromatic
#1617B9 #2628E6 #5D5EEC #9494F2 #CBCBF9

Accessibility & contrast

On white

4.91
#5D5EEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#5D5EEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5EEC
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5EEC#FFFFFF#000000##FFFFFF
##5D5EEC1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F1
Deuteranopia (green-blind)
#006BE9
Tritanopia (blue-blind)
#00819C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5d5eec;
/* rgb */ color: rgb(93, 94, 236);
/* oklch */ color: oklch(56.4% 0.209 277.1);
Tailwind
colors: {
  custom: {
    50: '#988cf3',
    500: '#5d5eec',
    950: '#000000',
  },
}
SCSS
$custom: #5d5eec;
$custom-light: #988cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5eec",
  "rgb": {
    "r": 93,
    "g": 94,
    "b": 236
  },
  "hsl": {
    "h": 239.58,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.56384,
    "c": 0.20863,
    "h": 277.1
  },
  "luminance": 0.16389
}

Semantic roles & 50–950 ramp

primary
#5D5EEC
secondary
#EBEBBA
accent
#DA0ADB
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5D5EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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