#5D5CCB#5D5CCB

#5D5CCB is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.5% C 0.168 H 279.5°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#5D5CCB
RGBrgb(93, 92, 203)
HSLhsl(241, 52%, 58%)
HSVhsv(241, 55%, 80%)
CMYKcmyk(54.2%, 54.7%, 0%, 20.4%)
CIE-LABlab(44.65, 31.54, -57.78)
CIE-LCHlch(44.65, 65.83, 298.63°)
OKLaboklab(53.55% 0.0277 -0.1653)
OKLCHoklch(53.55% 0.168 279.5)
XYZxyz(19.1175, 14.2920, 58.2396)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5CCB #CACB5C
analogous
#5C92CB #5D5CCB #955CCB
triadic
#5D5CCB #CB5D5C #5CCB5D
tetradic
#5D5CCB #CB5C92 #CACB5C #5CCB95
square
#5D5CCB #CB5C92 #CACB5C #5CCB95
split-complementary
#5D5CCB #CB955C #92CB5C
monochromatic
#2B2A83 #3A39B1 #5D5CCB #8B8ADA #B9B9E9

Accessibility & contrast

On white

5.44
#5D5CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#5D5CCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5CCB
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5CCB#FFFFFF#000000##FFFFFF
##5D5CCB1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#146ECF
Deuteranopia (green-blind)
#0065C9
Tritanopia (blue-blind)
#29758A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5d5ccb;
/* rgb */ color: rgb(93, 92, 203);
/* oklch */ color: oklch(53.5% 0.168 279.5);
Tailwind
colors: {
  custom: {
    50: '#938adc',
    500: '#5d5ccb',
    950: '#000000',
  },
}
SCSS
$custom: #5d5ccb;
$custom-light: #938adc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5ccb",
  "rgb": {
    "r": 93,
    "g": 92,
    "b": 203
  },
  "hsl": {
    "h": 240.541,
    "s": 51.628,
    "l": 57.843
  },
  "oklch": {
    "l": 0.53546,
    "c": 0.16766,
    "h": 279.5
  },
  "luminance": 0.14293
}

Semantic roles & 50–950 ramp

primary
#5D5CCB
secondary
#D7D8AB
accent
#DB4DDA
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5D5CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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