#5C5DCA#5C5DCA

#5C5DCA is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.6% C 0.165 H 278.9°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#5C5DCA
RGBrgb(92, 93, 202)
HSLhsl(239, 51%, 58%)
HSVhsv(239, 54%, 79%)
CMYKcmyk(54.5%, 54%, 0%, 20.8%)
CIE-LABlab(44.75, 30.40, -57.04)
CIE-LCHlch(44.75, 64.64, 298.06°)
OKLaboklab(53.59% 0.0254 -0.1632)
OKLCHoklch(53.59% 0.165 278.9)
XYZxyz(18.9853, 14.3671, 57.6384)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5DCA #CAC95C
analogous
#5C94CA #5C5DCA #925CCA
triadic
#5C5DCA #CA5C5D #5DCA5C
tetradic
#5C5DCA #CA5C94 #CAC95C #5CCA92
square
#5C5DCA #CA5C94 #CAC95C #5CCA92
split-complementary
#5C5DCA #CA925C #94CA5C
monochromatic
#2A2B81 #393AB0 #5C5DCA #8A8BD9 #B8B9E8

Accessibility & contrast

On white

5.42
#5C5DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#5C5DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5DCA
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5DCA#FFFFFF#000000##FFFFFF
##5C5DCA1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A6ECE
Deuteranopia (green-blind)
#0066C8
Tritanopia (blue-blind)
#27768A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5c5dca;
/* rgb */ color: rgb(92, 93, 202);
/* oklch */ color: oklch(53.6% 0.165 278.9);
Tailwind
colors: {
  custom: {
    50: '#938bdb',
    500: '#5c5dca',
    950: '#000000',
  },
}
SCSS
$custom: #5c5dca;
$custom-light: #938bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5dca",
  "rgb": {
    "r": 92,
    "g": 93,
    "b": 202
  },
  "hsl": {
    "h": 239.455,
    "s": 50.926,
    "l": 57.647
  },
  "oklch": {
    "l": 0.53585,
    "c": 0.16515,
    "h": 278.9
  },
  "luminance": 0.14368
}

Semantic roles & 50–950 ramp

primary
#5C5DCA
secondary
#D7D7AB
accent
#D94DDA
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5C5DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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