#5C5DDE#5C5DDE

#5C5DDE is a mid, vivid blue. Relative luminance 0.154; OKLCH L 55.1% C 0.192 H 277.7°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#5C5DDE
RGBrgb(92, 93, 222)
HSLhsl(240, 66%, 62%)
HSVhsv(240, 59%, 87%)
CMYKcmyk(58.6%, 58.1%, 0%, 12.9%)
CIE-LABlab(46.15, 36.82, -66.23)
CIE-LCHlch(46.15, 75.77, 299.08°)
OKLaboklab(55.06% 0.0257 -0.1902)
OKLCHoklch(55.06% 0.192 277.7)
XYZxyz(21.5086, 15.3764, 70.9276)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5DDE #DEDD5C
analogous
#5C9EDE #5C5DDE #9C5CDE
triadic
#5C5DDE #DE5C5D #5DDE5C
tetradic
#5C5DDE #DE5C9E #DEDD5C #5CDE9C
square
#5C5DDE #DE5C9E #DEDD5C #5CDE9C
split-complementary
#5C5DDE #DE9C5C #9EDE5C
monochromatic
#20219F #2B2CD2 #5C5DDE #8F90E8 #C2C2F3

Accessibility & contrast

On white

5.15
#5C5DDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#5C5DDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5DDE
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5DDE#FFFFFF#000000##FFFFFF
##5C5DDE1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E2
Deuteranopia (green-blind)
#0068DB
Tritanopia (blue-blind)
#007C94
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5c5dde;
/* rgb */ color: rgb(92, 93, 222);
/* oklch */ color: oklch(55.1% 0.192 277.7);
Tailwind
colors: {
  custom: {
    50: '#968be9',
    500: '#5c5dde',
    950: '#000000',
  },
}
SCSS
$custom: #5c5dde;
$custom-light: #968be9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5dde",
  "rgb": {
    "r": 92,
    "g": 93,
    "b": 222
  },
  "hsl": {
    "h": 239.538,
    "s": 66.327,
    "l": 61.569
  },
  "oklch": {
    "l": 0.5506,
    "c": 0.19194,
    "h": 277.7
  },
  "luminance": 0.15378
}

Semantic roles & 50–950 ramp

primary
#5C5DDE
secondary
#E3E3B3
accent
#CD17CE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5C5DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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