#5D5FDC#5D5FDC

#5D5FDC is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.3% C 0.187 H 277.7°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5D5FDC
RGBrgb(93, 95, 220)
HSLhsl(239, 64%, 61%)
HSVhsv(239, 58%, 86%)
CMYKcmyk(57.7%, 56.8%, 0%, 13.7%)
CIE-LABlab(46.55, 35.14, -64.43)
CIE-LCHlch(46.55, 73.39, 298.61°)
OKLaboklab(55.33% 0.025 -0.1849)
OKLCHoklch(55.33% 0.187 277.7)
XYZxyz(21.5205, 15.6773, 69.5883)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5FDC #DCDA5D
analogous
#5D9FDC #5D5FDC #9B5DDC
triadic
#5D5FDC #DC5D5F #5FDC5D
tetradic
#5D5FDC #DC5D9F #DCDA5D #5DDC9B
square
#5D5FDC #DC5D9F #DCDA5D #5DDC9B
split-complementary
#5D5FDC #DC9B5D #9FDC5D
monochromatic
#22249D #2D2FCF #5D5FDC #8F91E7 #C2C2F2

Accessibility & contrast

On white

5.08
#5D5FDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#5D5FDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5FDC
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5FDC#FFFFFF#000000##FFFFFF
##5D5FDC1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#0069D9
Tritanopia (blue-blind)
#027D94
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5d5fdc;
/* rgb */ color: rgb(93, 95, 220);
/* oklch */ color: oklch(55.3% 0.187 277.7);
Tailwind
colors: {
  custom: {
    50: '#968ce8',
    500: '#5d5fdc',
    950: '#000000',
  },
}
SCSS
$custom: #5d5fdc;
$custom-light: #968ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5fdc",
  "rgb": {
    "r": 93,
    "g": 95,
    "b": 220
  },
  "hsl": {
    "h": 239.055,
    "s": 64.467,
    "l": 61.373
  },
  "oklch": {
    "l": 0.55331,
    "c": 0.18657,
    "h": 277.7
  },
  "luminance": 0.15679
}

Semantic roles & 50–950 ramp

primary
#5D5FDC
secondary
#E2E1B3
accent
#C919CC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5D5FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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