#5C5DE3#5C5DE3

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

Color values

HEX#5C5DE3
RGBrgb(92, 93, 227)
HSLhsl(240, 71%, 63%)
HSVhsv(240, 59%, 89%)
CMYKcmyk(59.5%, 59%, 0%, 11%)
CIE-LABlab(46.51, 38.43, -68.47)
CIE-LCHlch(46.51, 78.52, 299.31°)
OKLaboklab(55.44% 0.0257 -0.1968)
OKLCHoklch(55.44% 0.198 277.4)
XYZxyz(22.1887, 15.6484, 74.5093)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5DE3 #E3E25C
analogous
#5CA0E3 #5C5DE3 #9F5CE3
triadic
#5C5DE3 #E35C5D #5DE35C
tetradic
#5C5DE3 #E35CA0 #E3E25C #5CE39F
square
#5C5DE3 #E35CA0 #E3E25C #5CE39F
split-complementary
#5C5DE3 #E39F5C #A0E35C
monochromatic
#1D1EA8 #2829DA #5C5DE3 #9091EC #C4C5F5

Accessibility & contrast

On white

5.08
#5C5DE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#5C5DE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5DE3
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5DE3#FFFFFF#000000##FFFFFF
##5C5DE31.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E7
Deuteranopia (green-blind)
#0069E0
Tritanopia (blue-blind)
#007E97
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5c5de3;
/* rgb */ color: rgb(92, 93, 227);
/* oklch */ color: oklch(55.4% 0.198 277.4);
Tailwind
colors: {
  custom: {
    50: '#978bed',
    500: '#5c5de3',
    950: '#000000',
  },
}
SCSS
$custom: #5c5de3;
$custom-light: #978bed;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5de3",
  "rgb": {
    "r": 92,
    "g": 93,
    "b": 227
  },
  "hsl": {
    "h": 239.556,
    "s": 70.681,
    "l": 62.549
  },
  "oklch": {
    "l": 0.55443,
    "c": 0.19846,
    "h": 277.4
  },
  "luminance": 0.1565
}

Semantic roles & 50–950 ramp

primary
#5C5DE3
secondary
#E6E6B5
accent
#D113D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #5C5DE3

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

Preview Lab → · Contrast checker → · Palette generator →

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