#5D5CDC#5D5CDC

#5D5CDC is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.8% C 0.190 H 278.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#5D5CDC
RGBrgb(93, 92, 220)
HSLhsl(240, 65%, 61%)
HSVhsv(240, 58%, 86%)
CMYKcmyk(57.7%, 58.2%, 0%, 13.7%)
CIE-LABlab(45.84, 36.96, -65.59)
CIE-LCHlch(45.84, 75.29, 299.40°)
OKLaboklab(54.8% 0.0279 -0.1883)
OKLCHoklch(54.8% 0.19 278.4)
XYZxyz(21.2555, 15.1473, 69.4999)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5CDC #DBDC5C
analogous
#5C9BDC #5D5CDC #9D5CDC
triadic
#5D5CDC #DC5D5C #5CDC5D
tetradic
#5D5CDC #DC5C9B #DBDC5C #5CDC9D
square
#5D5CDC #DC5C9B #DBDC5C #5CDC9D
split-complementary
#5D5CDC #DC9D5C #9BDC5C
monochromatic
#22229C #2E2CCE #5D5CDC #8F8EE7 #C1C1F2

Accessibility & contrast

On white

5.21
#5D5CDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#5D5CDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5CDC
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5CDC#FFFFFF#000000##FFFFFF
##5D5CDC1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#0067D9
Tritanopia (blue-blind)
#047B93
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5d5cdc;
/* rgb */ color: rgb(93, 92, 220);
/* oklch */ color: oklch(54.8% 0.190 278.4);
Tailwind
colors: {
  custom: {
    50: '#968ae8',
    500: '#5d5cdc',
    950: '#000000',
  },
}
SCSS
$custom: #5d5cdc;
$custom-light: #968ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5cdc",
  "rgb": {
    "r": 93,
    "g": 92,
    "b": 220
  },
  "hsl": {
    "h": 240.469,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.54803,
    "c": 0.19037,
    "h": 278.4
  },
  "luminance": 0.15149
}

Semantic roles & 50–950 ramp

primary
#5D5CDC
secondary
#E2E2B2
accent
#CC19CB
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5D5CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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