#5D5CD4#5D5CD4

#5D5CD4 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.2% C 0.180 H 278.9°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#5D5CD4
RGBrgb(93, 92, 212)
HSLhsl(241, 58%, 60%)
HSVhsv(241, 57%, 83%)
CMYKcmyk(56.1%, 56.6%, 0%, 16.9%)
CIE-LABlab(45.27, 34.41, -61.95)
CIE-LCHlch(45.27, 70.86, 299.05°)
OKLaboklab(54.2% 0.0279 -0.1776)
OKLCHoklch(54.2% 0.18 278.9)
XYZxyz(20.2213, 14.7336, 64.0529)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5CD4 #D3D45C
analogous
#5C97D4 #5D5CD4 #995CD4
triadic
#5D5CD4 #D45D5C #5CD45D
tetradic
#5D5CD4 #D45C97 #D3D45C #5CD499
square
#5D5CD4 #D45C97 #D3D45C #5CD499
split-complementary
#5D5CD4 #D4995C #97D45C
monochromatic
#272690 #3433C0 #5D5CD4 #8D8CE1 #BDBDEE

Accessibility & contrast

On white

5.32
#5D5CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#5D5CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5CD4
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5CD4#FFFFFF#000000##FFFFFF
##5D5CD41.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D8
Deuteranopia (green-blind)
#0066D2
Tritanopia (blue-blind)
#1C788F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5d5cd4;
/* rgb */ color: rgb(93, 92, 212);
/* oklch */ color: oklch(54.2% 0.180 278.9);
Tailwind
colors: {
  custom: {
    50: '#958ae2',
    500: '#5d5cd4',
    950: '#000000',
  },
}
SCSS
$custom: #5d5cd4;
$custom-light: #958ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5cd4",
  "rgb": {
    "r": 93,
    "g": 92,
    "b": 212
  },
  "hsl": {
    "h": 240.5,
    "s": 58.252,
    "l": 59.608
  },
  "oklch": {
    "l": 0.54202,
    "c": 0.17979,
    "h": 278.9
  },
  "luminance": 0.14735
}

Semantic roles & 50–950 ramp

primary
#5D5CD4
secondary
#DDDDAF
accent
#E146E0
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5D5CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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