#5D5CEE#5D5CEE

#5D5CEE is a mid, highly saturated blue. Relative luminance 0.162; OKLCH L 56.2% C 0.214 H 277.3°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5D5CEE
RGBrgb(93, 92, 238)
HSLhsl(240, 81%, 65%)
HSVhsv(240, 61%, 93%)
CMYKcmyk(60.9%, 61.3%, 0%, 6.7%)
CIE-LABlab(47.17, 42.71, -73.59)
CIE-LCHlch(47.17, 85.08, 300.13°)
OKLaboklab(56.21% 0.0273 -0.2118)
OKLCHoklch(56.21% 0.214 277.3)
XYZxyz(23.7690, 16.1526, 82.7376)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5CEE #EDEE5C
analogous
#5CA4EE #5D5CEE #A65CEE
triadic
#5D5CEE #EE5D5C #5CEE5D
tetradic
#5D5CEE #EE5CA4 #EDEE5C #5CEEA6
square
#5D5CEE #EE5CA4 #EDEE5C #5CEEA6
split-complementary
#5D5CEE #EEA65C #A4EE5C
monochromatic
#1514BC #2625E8 #5D5CEE #9493F4 #CBCBFA

Accessibility & contrast

On white

4.96
#5D5CEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#5D5CEE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5CEE
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5CEE#FFFFFF#000000##FFFFFF
##5D5CEE1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F3
Deuteranopia (green-blind)
#006AEB
Tritanopia (blue-blind)
#00809C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5d5cee;
/* rgb */ color: rgb(93, 92, 238);
/* oklch */ color: oklch(56.2% 0.214 277.3);
Tailwind
colors: {
  custom: {
    50: '#998af5',
    500: '#5d5cee',
    950: '#000000',
  },
}
SCSS
$custom: #5d5cee;
$custom-light: #998af5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5cee",
  "rgb": {
    "r": 93,
    "g": 92,
    "b": 238
  },
  "hsl": {
    "h": 240.411,
    "s": 81.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.56208,
    "c": 0.21357,
    "h": 277.3
  },
  "luminance": 0.16154
}

Semantic roles & 50–950 ramp

primary
#5D5CEE
secondary
#ECECBA
accent
#DD08DC
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5D5CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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