#5D5FCD#5D5FCD

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

Color values

HEX#5D5FCD
RGBrgb(93, 95, 205)
HSLhsl(239, 53%, 58%)
HSVhsv(239, 55%, 80%)
CMYKcmyk(54.6%, 53.7%, 0%, 19.6%)
CIE-LABlab(45.52, 30.33, -57.52)
CIE-LCHlch(45.52, 65.03, 297.80°)
OKLaboklab(54.24% 0.0246 -0.1646)
OKLCHoklch(54.24% 0.166 278.5)
XYZxyz(19.6224, 14.9181, 59.5913)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5FCD #CDCB5D
analogous
#5D97CD #5D5FCD #935DCD
triadic
#5D5FCD #CD5D5F #5FCD5D
tetradic
#5D5FCD #CD5D97 #CDCB5D #5DCD93
square
#5D5FCD #CD5D97 #CDCB5D #5DCD93
split-complementary
#5D5FCD #CD935D #97CD5D
monochromatic
#292B86 #383AB5 #5D5FCD #8C8DDB #BBBBEA

Accessibility & contrast

On white

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

On black

3.98
#5D5FCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5D5FCD#FFFFFF#000000##FFFFFF
##5D5FCD1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D70D1
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#26788D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5d5fcd;
/* rgb */ color: rgb(93, 95, 205);
/* oklch */ color: oklch(54.2% 0.166 278.5);
Tailwind
colors: {
  custom: {
    50: '#948cdd',
    500: '#5d5fcd',
    950: '#000000',
  },
}
SCSS
$custom: #5d5fcd;
$custom-light: #948cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5fcd",
  "rgb": {
    "r": 93,
    "g": 95,
    "b": 205
  },
  "hsl": {
    "h": 238.929,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.5424,
    "c": 0.1664,
    "h": 278.5
  },
  "luminance": 0.14919
}

Semantic roles & 50–950 ramp

primary
#5D5FCD
secondary
#D9D8AD
accent
#DA4CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5D5FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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