#5C5AE7#5C5AE7

#5C5AE7 is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.2% C 0.207 H 277.8°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#5C5AE7
RGBrgb(92, 90, 231)
HSLhsl(241, 75%, 63%)
HSVhsv(241, 61%, 91%)
CMYKcmyk(60.2%, 61%, 0%, 9.4%)
CIE-LABlab(46.12, 41.51, -71.37)
CIE-LCHlch(46.12, 82.56, 300.18°)
OKLaboklab(55.25% 0.0282 -0.2053)
OKLCHoklch(55.25% 0.207 277.8)
XYZxyz(22.4890, 15.3555, 77.3646)
Luminance0.1536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5AE7 #E5E75A
analogous
#5A9EE7 #5C5AE7 #A25AE7
triadic
#5C5AE7 #E75C5A #5AE75C
tetradic
#5C5AE7 #E75A9E #E5E75A #5AE7A2
square
#5C5AE7 #E75A9E #E5E75A #5AE7A2
split-complementary
#5C5AE7 #E7A25A #9EE75A
monochromatic
#1B19AD #2725DF #5C5AE7 #918FEF #C6C5F7

Accessibility & contrast

On white

5.16
#5C5AE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#5C5AE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5AE7
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5AE7#FFFFFF#000000##FFFFFF
##5C5AE71.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EC
Deuteranopia (green-blind)
#0067E4
Tritanopia (blue-blind)
#007D98
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5c5ae7;
/* rgb */ color: rgb(92, 90, 231);
/* oklch */ color: oklch(55.2% 0.207 277.8);
Tailwind
colors: {
  custom: {
    50: '#9789f0',
    500: '#5c5ae7',
    950: '#000000',
  },
}
SCSS
$custom: #5c5ae7;
$custom-light: #9789f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5ae7",
  "rgb": {
    "r": 92,
    "g": 90,
    "b": 231
  },
  "hsl": {
    "h": 240.851,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.55248,
    "c": 0.20727,
    "h": 277.8
  },
  "luminance": 0.15357
}

Semantic roles & 50–950 ramp

primary
#5C5AE7
secondary
#E7E8B5
accent
#D70FD4
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5C5AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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