#5C5ACC#5C5ACC

#5C5ACC is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.2% C 0.172 H 279.6°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#5C5ACC
RGBrgb(92, 90, 204)
HSLhsl(241, 53%, 58%)
HSVhsv(241, 56%, 80%)
CMYKcmyk(54.9%, 55.9%, 0%, 20%)
CIE-LABlab(44.16, 32.89, -59.16)
CIE-LCHlch(44.16, 67.68, 299.07°)
OKLaboklab(53.18% 0.0287 -0.1694)
OKLCHoklch(53.18% 0.172 279.6)
XYZxyz(18.9655, 13.9461, 58.8075)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5ACC #CACC5A
analogous
#5A91CC #5C5ACC #955ACC
triadic
#5C5ACC #CC5C5A #5ACC5C
tetradic
#5C5ACC #CC5A91 #CACC5A #5ACC95
square
#5C5ACC #CC5A91 #CACC5A #5ACC95
split-complementary
#5C5ACC #CC955A #91CC5A
monochromatic
#2A2983 #3937B2 #5C5ACC #8A89DA #B8B7E9

Accessibility & contrast

On white

5.54
#5C5ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#5C5ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5ACC
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5ACC#FFFFFF#000000##FFFFFF
##5C5ACC1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#016DD0
Deuteranopia (green-blind)
#0064CA
Tritanopia (blue-blind)
#25748A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5c5acc;
/* rgb */ color: rgb(92, 90, 204);
/* oklch */ color: oklch(53.2% 0.172 279.6);
Tailwind
colors: {
  custom: {
    50: '#9388dc',
    500: '#5c5acc',
    950: '#000000',
  },
}
SCSS
$custom: #5c5acc;
$custom-light: #9388dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5acc",
  "rgb": {
    "r": 92,
    "g": 90,
    "b": 204
  },
  "hsl": {
    "h": 241.053,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.53181,
    "c": 0.17185,
    "h": 279.6
  },
  "luminance": 0.13947
}

Semantic roles & 50–950 ramp

primary
#5C5ACC
secondary
#D7D8AA
accent
#DC4CDA
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5C5ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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