#5C5CCC#5C5CCC

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

Color values

HEX#5C5CCC
RGBrgb(92, 92, 204)
HSLhsl(240, 52%, 58%)
HSVhsv(240, 55%, 80%)
CMYKcmyk(54.9%, 54.9%, 0%, 20%)
CIE-LABlab(44.64, 31.66, -58.37)
CIE-LCHlch(44.64, 66.40, 298.47°)
OKLaboklab(53.54% 0.0266 -0.1671)
OKLCHoklch(53.54% 0.169 279)
XYZxyz(19.1364, 14.2880, 58.8645)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5CCC #CCCC5C
analogous
#5C94CC #5C5CCC #945CCC
triadic
#5C5CCC #CC5C5C #5CCC5C
tetradic
#5C5CCC #CC5C94 #CCCC5C #5CCC94
square
#5C5CCC #CC5C94 #CCCC5C #5CCC94
split-complementary
#5C5CCC #CC945C #94CC5C
monochromatic
#292984 #3838B3 #5C5CCC #8B8BDB #B9B9E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C5CCC#FFFFFF#000000##FFFFFF
##5C5CCC1.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)
#106ED0
Deuteranopia (green-blind)
#0065CA
Tritanopia (blue-blind)
#25768B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5c5ccc;
/* rgb */ color: rgb(92, 92, 204);
/* oklch */ color: oklch(53.5% 0.169 279.0);
Tailwind
colors: {
  custom: {
    50: '#938adc',
    500: '#5c5ccc',
    950: '#000000',
  },
}
SCSS
$custom: #5c5ccc;
$custom-light: #938adc;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5ccc",
  "rgb": {
    "r": 92,
    "g": 92,
    "b": 204
  },
  "hsl": {
    "h": 240,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.53544,
    "c": 0.16921,
    "h": 279
  },
  "luminance": 0.14289
}

Semantic roles & 50–950 ramp

primary
#5C5CCC
secondary
#D8D8AC
accent
#DC4CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5C5CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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