#5D5CD2#5D5CD2

#5D5CD2 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.1% C 0.177 H 279.1°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5D5CD2
RGBrgb(93, 92, 210)
HSLhsl(241, 57%, 59%)
HSVhsv(241, 56%, 82%)
CMYKcmyk(55.7%, 56.2%, 0%, 17.6%)
CIE-LABlab(45.13, 33.77, -61.03)
CIE-LCHlch(45.13, 69.75, 298.96°)
OKLaboklab(54.05% 0.0279 -0.1749)
OKLCHoklch(54.05% 0.177 279.1)
XYZxyz(19.9705, 14.6333, 62.7324)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5CD2 #D1D25C
analogous
#5C96D2 #5D5CD2 #985CD2
triadic
#5D5CD2 #D25D5C #5CD25D
tetradic
#5D5CD2 #D25C96 #D1D25C #5CD298
square
#5D5CD2 #D25C96 #D1D25C #5CD298
split-complementary
#5D5CD2 #D2985C #96D25C
monochromatic
#28278D #3534BD #5D5CD2 #8D8CDF #BCBCEC

Accessibility & contrast

On white

5.35
#5D5CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#5D5CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5CD2
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5CD2#FFFFFF#000000##FFFFFF
##5D5CD21.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D6
Deuteranopia (green-blind)
#0066D0
Tritanopia (blue-blind)
#1F788E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5d5cd2;
/* rgb */ color: rgb(93, 92, 210);
/* oklch */ color: oklch(54.1% 0.177 279.1);
Tailwind
colors: {
  custom: {
    50: '#948ae1',
    500: '#5d5cd2',
    950: '#000000',
  },
}
SCSS
$custom: #5d5cd2;
$custom-light: #948ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5cd2",
  "rgb": {
    "r": 93,
    "g": 92,
    "b": 210
  },
  "hsl": {
    "h": 240.508,
    "s": 56.731,
    "l": 59.216
  },
  "oklch": {
    "l": 0.54054,
    "c": 0.17711,
    "h": 279.1
  },
  "luminance": 0.14635
}

Semantic roles & 50–950 ramp

primary
#5D5CD2
secondary
#DCDCAE
accent
#E048DF
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5D5CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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