#5C5DE4#5C5DE4

#5C5DE4 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.5% C 0.200 H 277.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#5C5DE4
RGBrgb(92, 93, 228)
HSLhsl(240, 72%, 63%)
HSVhsv(240, 60%, 89%)
CMYKcmyk(59.6%, 59.2%, 0%, 10.6%)
CIE-LABlab(46.58, 38.75, -68.91)
CIE-LCHlch(46.58, 79.06, 299.35°)
OKLaboklab(55.52% 0.0256 -0.1981)
OKLCHoklch(55.52% 0.2 277.4)
XYZxyz(22.3271, 15.7038, 75.2383)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5DE4 #E4E35C
analogous
#5CA1E4 #5C5DE4 #9F5CE4
triadic
#5C5DE4 #E45C5D #5DE45C
tetradic
#5C5DE4 #E45CA1 #E4E35C #5CE49F
square
#5C5DE4 #E45CA1 #E4E35C #5CE49F
split-complementary
#5C5DE4 #E49F5C #A1E45C
monochromatic
#1C1DAA #2729DB #5C5DE4 #9191ED #C5C5F5

Accessibility & contrast

On white

5.07
#5C5DE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#5C5DE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5DE4
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5DE4#FFFFFF#000000##FFFFFF
##5C5DE41.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E8
Deuteranopia (green-blind)
#0069E1
Tritanopia (blue-blind)
#007E98
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5c5de4;
/* rgb */ color: rgb(92, 93, 228);
/* oklch */ color: oklch(55.5% 0.200 277.4);
Tailwind
colors: {
  custom: {
    50: '#978bed',
    500: '#5c5de4',
    950: '#000000',
  },
}
SCSS
$custom: #5c5de4;
$custom-light: #978bed;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5de4",
  "rgb": {
    "r": 92,
    "g": 93,
    "b": 228
  },
  "hsl": {
    "h": 239.559,
    "s": 71.579,
    "l": 62.745
  },
  "oklch": {
    "l": 0.55521,
    "c": 0.19976,
    "h": 277.4
  },
  "luminance": 0.15705
}

Semantic roles & 50–950 ramp

primary
#5C5DE4
secondary
#E7E6B5
accent
#D212D4
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #5C5DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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