#5C5CD7#5C5CD7

#5C5CD7 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.4% C 0.184 H 278.4°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#5C5CD7
RGBrgb(92, 92, 215)
HSLhsl(240, 61%, 60%)
HSVhsv(240, 57%, 84%)
CMYKcmyk(57.2%, 57.2%, 0%, 15.7%)
CIE-LABlab(45.41, 35.18, -63.44)
CIE-LCHlch(45.41, 72.54, 299.01°)
OKLaboklab(54.35% 0.0267 -0.182)
OKLCHoklch(54.35% 0.184 278.4)
XYZxyz(20.5026, 14.8345, 66.0597)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5CD7 #D7D75C
analogous
#5C99D7 #5C5CD7 #995CD7
triadic
#5C5CD7 #D75C5C #5CD75C
tetradic
#5C5CD7 #D75C99 #D7D75C #5CD799
square
#5C5CD7 #D75C99 #D7D75C #5CD799
split-complementary
#5C5CD7 #D7995C #99D75C
monochromatic
#242494 #3030C5 #5C5CD7 #8D8DE3 #BEBEEF

Accessibility & contrast

On white

5.29
#5C5CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#5C5CD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5CD7
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5CD7#FFFFFF#000000##FFFFFF
##5C5CD71.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DB
Deuteranopia (green-blind)
#0066D4
Tritanopia (blue-blind)
#0F7990
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5c5cd7;
/* rgb */ color: rgb(92, 92, 215);
/* oklch */ color: oklch(54.4% 0.184 278.4);
Tailwind
colors: {
  custom: {
    50: '#958ae4',
    500: '#5c5cd7',
    950: '#000000',
  },
}
SCSS
$custom: #5c5cd7;
$custom-light: #958ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5cd7",
  "rgb": {
    "r": 92,
    "g": 92,
    "b": 215
  },
  "hsl": {
    "h": 240,
    "s": 60.591,
    "l": 60.196
  },
  "oklch": {
    "l": 0.54354,
    "c": 0.18397,
    "h": 278.4
  },
  "luminance": 0.14836
}

Semantic roles & 50–950 ramp

primary
#5C5CD7
secondary
#DFDFB0
accent
#C81DC8
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5C5CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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