#5D5CC8#5D5CC8

#5D5CC8 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.3% C 0.164 H 279.7°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#5D5CC8
RGBrgb(93, 92, 200)
HSLhsl(241, 50%, 57%)
HSVhsv(241, 54%, 78%)
CMYKcmyk(53.5%, 54%, 0%, 21.6%)
CIE-LABlab(44.45, 30.58, -56.38)
CIE-LCHlch(44.45, 64.14, 298.48°)
OKLaboklab(53.33% 0.0276 -0.1612)
OKLCHoklch(53.33% 0.164 279.7)
XYZxyz(18.7634, 14.1504, 56.3750)
Luminance0.1415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5CC8 #C7C85C
analogous
#5C91C8 #5D5CC8 #935CC8
triadic
#5D5CC8 #C85D5C #5CC85D
tetradic
#5D5CC8 #C85C91 #C7C85C #5CC893
square
#5D5CC8 #C85C91 #C7C85C #5CC893
split-complementary
#5D5CC8 #C8935C #91C85C
monochromatic
#2C2B7F #3B3AAD #5D5CC8 #8A8AD7 #B8B8E7

Accessibility & contrast

On white

5.48
#5D5CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#5D5CC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5CC8
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5CC8#FFFFFF#000000##FFFFFF
##5D5CC81.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B6DCC
Deuteranopia (green-blind)
#0265C6
Tritanopia (blue-blind)
#2D7589
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5d5cc8;
/* rgb */ color: rgb(93, 92, 200);
/* oklch */ color: oklch(53.3% 0.164 279.7);
Tailwind
colors: {
  custom: {
    50: '#938ad9',
    500: '#5d5cc8',
    950: '#000000',
  },
}
SCSS
$custom: #5d5cc8;
$custom-light: #938ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5cc8",
  "rgb": {
    "r": 93,
    "g": 92,
    "b": 200
  },
  "hsl": {
    "h": 240.556,
    "s": 49.541,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53332,
    "c": 0.16357,
    "h": 279.7
  },
  "luminance": 0.14152
}

Semantic roles & 50–950 ramp

primary
#5D5CC8
secondary
#D5D6AA
accent
#D94FD8
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5D5CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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