#5D5CC2#5D5CC2

#5D5CC2 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.9% C 0.155 H 280.1°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#5D5CC2
RGBrgb(93, 92, 194)
HSLhsl(241, 46%, 56%)
HSVhsv(241, 53%, 76%)
CMYKcmyk(52.1%, 52.6%, 0%, 23.9%)
CIE-LABlab(44.05, 28.68, -53.54)
CIE-LCHlch(44.05, 60.74, 298.18°)
OKLaboklab(52.91% 0.0273 -0.1529)
OKLCHoklch(52.91% 0.155 280.1)
XYZxyz(18.0759, 13.8754, 52.7542)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5CC2 #C1C25C
analogous
#5C8EC2 #5D5CC2 #905CC2
triadic
#5D5CC2 #C25D5C #5CC25D
tetradic
#5D5CC2 #C25C8E #C1C25C #5CC290
square
#5D5CC2 #C25C8E #C1C25C #5CC290
split-complementary
#5D5CC2 #C2905C #8EC25C
monochromatic
#2D2D77 #3E3DA4 #5D5CC2 #8989D3 #B6B5E3

Accessibility & contrast

On white

5.56
#5D5CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#5D5CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5CC2
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5CC2#FFFFFF#000000##FFFFFF
##5D5CC21.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256CC6
Deuteranopia (green-blind)
#1864C0
Tritanopia (blue-blind)
#337386
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5d5cc2;
/* rgb */ color: rgb(93, 92, 194);
/* oklch */ color: oklch(52.9% 0.155 280.1);
Tailwind
colors: {
  custom: {
    50: '#928ad5',
    500: '#5d5cc2',
    950: '#000000',
  },
}
SCSS
$custom: #5d5cc2;
$custom-light: #928ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5cc2",
  "rgb": {
    "r": 93,
    "g": 92,
    "b": 194
  },
  "hsl": {
    "h": 240.588,
    "s": 45.536,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52911,
    "c": 0.1553,
    "h": 280.1
  },
  "luminance": 0.13876
}

Semantic roles & 50–950 ramp

primary
#5D5CC2
secondary
#D2D2A8
accent
#D553D4
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #5D5CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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