#5C5CE3#5C5CE3

#5C5CE3 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 55.3% C 0.200 H 277.6°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5C5CE3
RGBrgb(92, 92, 227)
HSLhsl(240, 71%, 63%)
HSVhsv(240, 59%, 89%)
CMYKcmyk(59.5%, 59.5%, 0%, 11%)
CIE-LABlab(46.28, 39.03, -68.85)
CIE-LCHlch(46.28, 79.14, 299.55°)
OKLaboklab(55.27% 0.0266 -0.1979)
OKLCHoklch(55.27% 0.2 277.6)
XYZxyz(22.1015, 15.4740, 74.4803)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5CE3 #E3E35C
analogous
#5C9FE3 #5C5CE3 #9F5CE3
triadic
#5C5CE3 #E35C5C #5CE35C
tetradic
#5C5CE3 #E35C9F #E3E35C #5CE39F
square
#5C5CE3 #E35C9F #E3E35C #5CE39F
split-complementary
#5C5CE3 #E39F5C #9FE35C
monochromatic
#1D1DA8 #2828DA #5C5CE3 #9090EC #C4C4F5

Accessibility & contrast

On white

5.13
#5C5CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#5C5CE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5CE3
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5CE3#FFFFFF#000000##FFFFFF
##5C5CE31.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E7
Deuteranopia (green-blind)
#0068E0
Tritanopia (blue-blind)
#007D97
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5c5ce3;
/* rgb */ color: rgb(92, 92, 227);
/* oklch */ color: oklch(55.3% 0.200 277.6);
Tailwind
colors: {
  custom: {
    50: '#978aed',
    500: '#5c5ce3',
    950: '#000000',
  },
}
SCSS
$custom: #5c5ce3;
$custom-light: #978aed;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5ce3",
  "rgb": {
    "r": 92,
    "g": 92,
    "b": 227
  },
  "hsl": {
    "h": 240,
    "s": 70.681,
    "l": 62.549
  },
  "oklch": {
    "l": 0.55272,
    "c": 0.19969,
    "h": 277.6
  },
  "luminance": 0.15476
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C5CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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