#5C5CCF#5C5CCF

#5C5CCF is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.8% C 0.173 H 278.8°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5C5CCF
RGBrgb(92, 92, 207)
HSLhsl(240, 55%, 59%)
HSVhsv(240, 56%, 81%)
CMYKcmyk(55.6%, 55.6%, 0%, 18.8%)
CIE-LABlab(44.85, 32.62, -59.76)
CIE-LCHlch(44.85, 68.09, 298.63°)
OKLaboklab(53.76% 0.0267 -0.1712)
OKLCHoklch(53.76% 0.173 278.8)
XYZxyz(19.4997, 14.4333, 60.7778)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5CCF #CFCF5C
analogous
#5C95CF #5C5CCF #955CCF
triadic
#5C5CCF #CF5C5C #5CCF5C
tetradic
#5C5CCF #CF5C95 #CFCF5C #5CCF95
square
#5C5CCF #CF5C95 #CFCF5C #5CCF95
split-complementary
#5C5CCF #CF955C #95CF5C
monochromatic
#282888 #3636B8 #5C5CCF #8B8BDD #BBBBEB

Accessibility & contrast

On white

5.40
#5C5CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#5C5CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5CCF
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5CCF#FFFFFF#000000##FFFFFF
##5C5CCF1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#046FD3
Deuteranopia (green-blind)
#0066CD
Tritanopia (blue-blind)
#20778C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5c5ccf;
/* rgb */ color: rgb(92, 92, 207);
/* oklch */ color: oklch(53.8% 0.173 278.8);
Tailwind
colors: {
  custom: {
    50: '#938ade',
    500: '#5c5ccf',
    950: '#000000',
  },
}
SCSS
$custom: #5c5ccf;
$custom-light: #938ade;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5ccf",
  "rgb": {
    "r": 92,
    "g": 92,
    "b": 207
  },
  "hsl": {
    "h": 240,
    "s": 54.502,
    "l": 58.627
  },
  "oklch": {
    "l": 0.53762,
    "c": 0.17327,
    "h": 278.8
  },
  "luminance": 0.14435
}

Semantic roles & 50–950 ramp

primary
#5C5CCF
secondary
#DADAAD
accent
#DE4ADE
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5C5CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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