#5C5CE0#5C5CE0

#5C5CE0 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 55.0% C 0.196 H 277.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5C5CE0
RGBrgb(92, 92, 224)
HSLhsl(240, 68%, 62%)
HSVhsv(240, 59%, 88%)
CMYKcmyk(58.9%, 58.9%, 0%, 12.2%)
CIE-LABlab(46.06, 38.07, -67.51)
CIE-LCHlch(46.06, 77.50, 299.42°)
OKLaboklab(55.04% 0.0266 -0.194)
OKLCHoklch(55.04% 0.196 277.8)
XYZxyz(21.6910, 15.3098, 72.3186)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5CE0 #E0E05C
analogous
#5C9EE0 #5C5CE0 #9E5CE0
triadic
#5C5CE0 #E05C5C #5CE05C
tetradic
#5C5CE0 #E05C9E #E0E05C #5CE09E
square
#5C5CE0 #E05C9E #E0E05C #5CE09E
split-complementary
#5C5CE0 #E09E5C #9EE05C
monochromatic
#1F1FA3 #2929D6 #5C5CE0 #8F8FEA #C3C3F4

Accessibility & contrast

On white

5.17
#5C5CE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#5C5CE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5CE0
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5CE0#FFFFFF#000000##FFFFFF
##5C5CE01.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E4
Deuteranopia (green-blind)
#0068DD
Tritanopia (blue-blind)
#007C95
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5c5ce0;
/* rgb */ color: rgb(92, 92, 224);
/* oklch */ color: oklch(55.0% 0.196 277.8);
Tailwind
colors: {
  custom: {
    50: '#968aeb',
    500: '#5c5ce0',
    950: '#000000',
  },
}
SCSS
$custom: #5c5ce0;
$custom-light: #968aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5ce0",
  "rgb": {
    "r": 92,
    "g": 92,
    "b": 224
  },
  "hsl": {
    "h": 240,
    "s": 68.041,
    "l": 61.961
  },
  "oklch": {
    "l": 0.55039,
    "c": 0.1958,
    "h": 277.8
  },
  "luminance": 0.15311
}

Semantic roles & 50–950 ramp

primary
#5C5CE0
secondary
#E4E4B4
accent
#D016D0
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #5C5CE0

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

Preview Lab → · Contrast checker → · Palette generator →

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