#5D5CED#5D5CED

#5D5CED is a mid, highly saturated blue. Relative luminance 0.161; OKLCH L 56.1% C 0.212 H 277.4°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#5D5CED
RGBrgb(93, 92, 237)
HSLhsl(240, 80%, 65%)
HSVhsv(240, 61%, 93%)
CMYKcmyk(60.8%, 61.2%, 0%, 7.1%)
CIE-LABlab(47.10, 42.39, -73.15)
CIE-LCHlch(47.10, 84.54, 300.09°)
OKLaboklab(56.13% 0.0273 -0.2105)
OKLCHoklch(56.13% 0.212 277.4)
XYZxyz(23.6225, 16.0940, 81.9660)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5CED #ECED5C
analogous
#5CA4ED #5D5CED #A65CED
triadic
#5D5CED #ED5D5C #5CED5D
tetradic
#5D5CED #ED5CA4 #ECED5C #5CEDA6
square
#5D5CED #ED5CA4 #ECED5C #5CEDA6
split-complementary
#5D5CED #EDA65C #A4ED5C
monochromatic
#1615BA #2625E7 #5D5CED #9493F3 #CBCAF9

Accessibility & contrast

On white

4.98
#5D5CED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#5D5CED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5CED
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5CED#FFFFFF#000000##FFFFFF
##5D5CED1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d5ced;
/* rgb */ color: rgb(93, 92, 237);
/* oklch */ color: oklch(56.1% 0.212 277.4);
Tailwind
colors: {
  custom: {
    50: '#998af4',
    500: '#5d5ced',
    950: '#000000',
  },
}
SCSS
$custom: #5d5ced;
$custom-light: #998af4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5ced",
  "rgb": {
    "r": 93,
    "g": 92,
    "b": 237
  },
  "hsl": {
    "h": 240.414,
    "s": 80.11,
    "l": 64.51
  },
  "oklch": {
    "l": 0.56128,
    "c": 0.2123,
    "h": 277.4
  },
  "luminance": 0.16096
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D5CED

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

Preview Lab → · Contrast checker → · Palette generator →

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