#5D5CD8#5D5CD8

#5D5CD8 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.5% C 0.185 H 278.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#5D5CD8
RGBrgb(93, 92, 216)
HSLhsl(240, 61%, 60%)
HSVhsv(240, 57%, 85%)
CMYKcmyk(56.9%, 57.4%, 0%, 15.3%)
CIE-LABlab(45.55, 35.68, -63.78)
CIE-LCHlch(45.55, 73.08, 299.23°)
OKLaboklab(54.5% 0.0279 -0.183)
OKLCHoklch(54.5% 0.185 278.7)
XYZxyz(20.7321, 14.9379, 66.7432)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5CD8 #D7D85C
analogous
#5C99D8 #5D5CD8 #9B5CD8
triadic
#5D5CD8 #D85D5C #5CD85D
tetradic
#5D5CD8 #D85C99 #D7D85C #5CD89B
square
#5D5CD8 #D85C99 #D7D85C #5CD89B
split-complementary
#5D5CD8 #D89B5C #99D85C
monochromatic
#252496 #3130C7 #5D5CD8 #8E8DE4 #BFBFF0

Accessibility & contrast

On white

5.27
#5D5CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#5D5CD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5CD8
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5CD8#FFFFFF#000000##FFFFFF
##5D5CD81.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DC
Deuteranopia (green-blind)
#0067D5
Tritanopia (blue-blind)
#137991
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5d5cd8;
/* rgb */ color: rgb(93, 92, 216);
/* oklch */ color: oklch(54.5% 0.185 278.7);
Tailwind
colors: {
  custom: {
    50: '#958ae5',
    500: '#5d5cd8',
    950: '#000000',
  },
}
SCSS
$custom: #5d5cd8;
$custom-light: #958ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5cd8",
  "rgb": {
    "r": 93,
    "g": 92,
    "b": 216
  },
  "hsl": {
    "h": 240.484,
    "s": 61.386,
    "l": 60.392
  },
  "oklch": {
    "l": 0.545,
    "c": 0.1851,
    "h": 278.7
  },
  "luminance": 0.14939
}

Semantic roles & 50–950 ramp

primary
#5D5CD8
secondary
#DFE0B0
accent
#C91CC8
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5D5CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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