#5D5CDF#5D5CDF

#5D5CDF is a mid, vivid blue. Relative luminance 0.153; OKLCH L 55.0% C 0.194 H 278.2°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5D5CDF
RGBrgb(93, 92, 223)
HSLhsl(240, 67%, 62%)
HSVhsv(240, 59%, 87%)
CMYKcmyk(58.3%, 58.7%, 0%, 12.5%)
CIE-LABlab(46.05, 37.92, -66.94)
CIE-LCHlch(46.05, 76.94, 299.53°)
OKLaboklab(55.03% 0.0278 -0.1923)
OKLCHoklch(55.03% 0.194 278.2)
XYZxyz(21.6564, 15.3076, 71.6112)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5CDF #DEDF5C
analogous
#5C9DDF #5D5CDF #9F5CDF
triadic
#5D5CDF #DF5D5C #5CDF5D
tetradic
#5D5CDF #DF5C9D #DEDF5C #5CDF9F
square
#5D5CDF #DF5C9D #DEDF5C #5CDF9F
split-complementary
#5D5CDF #DF9F5C #9DDF5C
monochromatic
#2120A1 #2B2AD4 #5D5CDF #908FE9 #C3C2F3

Accessibility & contrast

On white

5.17
#5D5CDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#5D5CDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5CDF
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5CDF#FFFFFF#000000##FFFFFF
##5D5CDF1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#0068DC
Tritanopia (blue-blind)
#007C95
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5d5cdf;
/* rgb */ color: rgb(93, 92, 223);
/* oklch */ color: oklch(55.0% 0.194 278.2);
Tailwind
colors: {
  custom: {
    50: '#968aea',
    500: '#5d5cdf',
    950: '#000000',
  },
}
SCSS
$custom: #5d5cdf;
$custom-light: #968aea;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5cdf",
  "rgb": {
    "r": 93,
    "g": 92,
    "b": 223
  },
  "hsl": {
    "h": 240.458,
    "s": 67.179,
    "l": 61.765
  },
  "oklch": {
    "l": 0.55032,
    "c": 0.19429,
    "h": 278.2
  },
  "luminance": 0.15309
}

Semantic roles & 50–950 ramp

primary
#5D5CDF
secondary
#E3E4B3
accent
#CF16CE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #5D5CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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