#5C5CD5#5C5CD5

#5C5CD5 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.2% C 0.181 H 278.5°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#5C5CD5
RGBrgb(92, 92, 213)
HSLhsl(240, 59%, 60%)
HSVhsv(240, 57%, 84%)
CMYKcmyk(56.8%, 56.8%, 0%, 16.5%)
CIE-LABlab(45.27, 34.54, -62.53)
CIE-LCHlch(45.27, 71.43, 298.92°)
OKLaboklab(54.21% 0.0267 -0.1793)
OKLCHoklch(54.21% 0.181 278.5)
XYZxyz(20.2472, 14.7323, 64.7146)
Luminance0.1473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5CD5 #D5D55C
analogous
#5C99D5 #5C5CD5 #995CD5
triadic
#5C5CD5 #D55C5C #5CD55C
tetradic
#5C5CD5 #D55C99 #D5D55C #5CD599
square
#5C5CD5 #D55C99 #D5D55C #5CD599
split-complementary
#5C5CD5 #D5995C #99D55C
monochromatic
#252591 #3232C2 #5C5CD5 #8D8DE2 #BDBDEE

Accessibility & contrast

On white

5.32
#5C5CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#5C5CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5CD5
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5CD5#FFFFFF#000000##FFFFFF
##5C5CD51.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D9
Deuteranopia (green-blind)
#0066D3
Tritanopia (blue-blind)
#14788F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5c5cd5;
/* rgb */ color: rgb(92, 92, 213);
/* oklch */ color: oklch(54.2% 0.181 278.5);
Tailwind
colors: {
  custom: {
    50: '#948ae3',
    500: '#5c5cd5',
    950: '#000000',
  },
}
SCSS
$custom: #5c5cd5;
$custom-light: #948ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5cd5",
  "rgb": {
    "r": 92,
    "g": 92,
    "b": 213
  },
  "hsl": {
    "h": 240,
    "s": 59.024,
    "l": 59.804
  },
  "oklch": {
    "l": 0.54205,
    "c": 0.18131,
    "h": 278.5
  },
  "luminance": 0.14734
}

Semantic roles & 50–950 ramp

primary
#5C5CD5
secondary
#DEDEAF
accent
#E246E2
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B15
muted
#7E7C84

Preview Lab

Preview with #5C5CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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