#5C5AE3#5C5AE3

#5C5AE3 is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 54.9% C 0.202 H 278.1°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#5C5AE3
RGBrgb(92, 90, 227)
HSLhsl(241, 71%, 62%)
HSVhsv(241, 60%, 89%)
CMYKcmyk(59.5%, 60.4%, 0%, 11%)
CIE-LABlab(45.81, 40.23, -69.60)
CIE-LCHlch(45.81, 80.39, 300.03°)
OKLaboklab(54.93% 0.0283 -0.2001)
OKLCHoklch(54.93% 0.202 278.1)
XYZxyz(21.9305, 15.1321, 74.4233)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5AE3 #E1E35A
analogous
#5A9DE3 #5C5AE3 #A15AE3
triadic
#5C5AE3 #E35C5A #5AE35C
tetradic
#5C5AE3 #E35A9D #E1E35A #5AE3A1
square
#5C5AE3 #E35A9D #E1E35A #5AE3A1
split-complementary
#5C5AE3 #E3A15A #9DE35A
monochromatic
#1E1CA6 #2826DA #5C5AE3 #908EEC #C3C3F5

Accessibility & contrast

On white

5.22
#5C5AE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#5C5AE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5AE3
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5AE3#FFFFFF#000000##FFFFFF
##5C5AE31.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E7
Deuteranopia (green-blind)
#0067E0
Tritanopia (blue-blind)
#007C96
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5c5ae3;
/* rgb */ color: rgb(92, 90, 227);
/* oklch */ color: oklch(54.9% 0.202 278.1);
Tailwind
colors: {
  custom: {
    50: '#9789ed',
    500: '#5c5ae3',
    950: '#000000',
  },
}
SCSS
$custom: #5c5ae3;
$custom-light: #9789ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5ae3",
  "rgb": {
    "r": 92,
    "g": 90,
    "b": 227
  },
  "hsl": {
    "h": 240.876,
    "s": 70.984,
    "l": 62.157
  },
  "oklch": {
    "l": 0.54931,
    "c": 0.20215,
    "h": 278.1
  },
  "luminance": 0.15134
}

Semantic roles & 50–950 ramp

primary
#5C5AE3
secondary
#E5E6B3
accent
#D312D0
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5C5AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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