#5C5EDD#5C5EDD

#5C5EDD is a mid, vivid blue. Relative luminance 0.155; OKLCH L 55.2% C 0.189 H 277.5°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5C5EDD
RGBrgb(92, 94, 221)
HSLhsl(239, 65%, 61%)
HSVhsv(239, 58%, 87%)
CMYKcmyk(58.4%, 57.5%, 0%, 13.3%)
CIE-LABlab(46.31, 35.90, -65.39)
CIE-LCHlch(46.31, 74.59, 298.77°)
OKLaboklab(55.16% 0.0248 -0.1877)
OKLCHoklch(55.16% 0.189 277.5)
XYZxyz(21.4633, 15.4996, 70.2533)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5EDD #DDDB5C
analogous
#5C9FDD #5C5EDD #9B5CDD
triadic
#5C5EDD #DD5C5E #5EDD5C
tetradic
#5C5EDD #DD5C9F #DDDB5C #5CDD9B
square
#5C5EDD #DD5C9F #DDDB5C #5CDD9B
split-complementary
#5C5EDD #DD9B5C #9FDD5C
monochromatic
#21239E #2B2ED0 #5C5EDD #8F90E8 #C1C2F2

Accessibility & contrast

On white

5.12
#5C5EDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5C5EDD
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5EDD#FFFFFF#000000##FFFFFF
##5C5EDD1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E1
Deuteranopia (green-blind)
#0068DA
Tritanopia (blue-blind)
#007C94
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5c5edd;
/* rgb */ color: rgb(92, 94, 221);
/* oklch */ color: oklch(55.2% 0.189 277.5);
Tailwind
colors: {
  custom: {
    50: '#968be8',
    500: '#5c5edd',
    950: '#000000',
  },
}
SCSS
$custom: #5c5edd;
$custom-light: #968be8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5edd",
  "rgb": {
    "r": 92,
    "g": 94,
    "b": 221
  },
  "hsl": {
    "h": 239.07,
    "s": 65.482,
    "l": 61.373
  },
  "oklch": {
    "l": 0.55159,
    "c": 0.18937,
    "h": 277.5
  },
  "luminance": 0.15501
}

Semantic roles & 50–950 ramp

primary
#5C5EDD
secondary
#E3E2B2
accent
#CB18CD
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5C5EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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