#5C5EEA#5C5EEA

#5C5EEA is a mid, highly saturated blue. Relative luminance 0.162; OKLCH L 56.2% C 0.206 H 276.8°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5C5EEA
RGBrgb(92, 94, 234)
HSLhsl(239, 77%, 64%)
HSVhsv(239, 61%, 92%)
CMYKcmyk(60.7%, 59.8%, 0%, 8.2%)
CIE-LABlab(47.26, 40.08, -71.20)
CIE-LCHlch(47.26, 81.70, 299.38°)
OKLaboklab(56.16% 0.0246 -0.2048)
OKLCHoklch(56.16% 0.206 276.8)
XYZxyz(23.2628, 16.2194, 79.7307)
Luminance0.1622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5EEA #EAE85C
analogous
#5CA5EA #5C5EEA #A15CEA
triadic
#5C5EEA #EA5C5E #5EEA5C
tetradic
#5C5EEA #EA5CA5 #EAE85C #5CEAA1
square
#5C5EEA #EA5CA5 #EAE85C #5CEAA1
split-complementary
#5C5EEA #EAA15C #A5EA5C
monochromatic
#1719B4 #2628E3 #5C5EEA #9294F1 #C8C9F8

Accessibility & contrast

On white

4.95
#5C5EEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#5C5EEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5EEA
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5EEA#FFFFFF#000000##FFFFFF
##5C5EEA1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EF
Deuteranopia (green-blind)
#006AE7
Tritanopia (blue-blind)
#00809B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5c5eea;
/* rgb */ color: rgb(92, 94, 234);
/* oklch */ color: oklch(56.2% 0.206 276.8);
Tailwind
colors: {
  custom: {
    50: '#988cf2',
    500: '#5c5eea',
    950: '#000000',
  },
}
SCSS
$custom: #5c5eea;
$custom-light: #988cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5eea",
  "rgb": {
    "r": 92,
    "g": 94,
    "b": 234
  },
  "hsl": {
    "h": 239.155,
    "s": 77.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.5616,
    "c": 0.20629,
    "h": 276.8
  },
  "luminance": 0.16221
}

Semantic roles & 50–950 ramp

primary
#5C5EEA
secondary
#EAE9B8
accent
#D70CD9
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5C5EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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