#5C5AEF#5C5AEF

#5C5AEF is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 55.9% C 0.217 H 277.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#5C5AEF
RGBrgb(92, 90, 239)
HSLhsl(241, 82%, 65%)
HSVhsv(241, 62%, 94%)
CMYKcmyk(61.5%, 62.3%, 0%, 6.3%)
CIE-LABlab(46.73, 44.05, -74.87)
CIE-LCHlch(46.73, 86.87, 300.47°)
OKLaboklab(55.89% 0.0277 -0.2156)
OKLCHoklch(55.89% 0.217 277.3)
XYZxyz(23.6447, 15.8178, 83.4517)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5AEF #EDEF5A
analogous
#5AA3EF #5C5AEF #A65AEF
triadic
#5C5AEF #EF5C5A #5AEF5C
tetradic
#5C5AEF #EF5AA3 #EDEF5A #5AEFA6
square
#5C5AEF #EF5AA3 #EDEF5A #5AEFA6
split-complementary
#5C5AEF #EFA65A #A3EF5A
monochromatic
#1512BC #2522EA #5C5AEF #9392F4 #CACAFA

Accessibility & contrast

On white

5.04
#5C5AEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#5C5AEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5AEF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5AEF#FFFFFF#000000##FFFFFF
##5C5AEF1.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F4
Deuteranopia (green-blind)
#0068EC
Tritanopia (blue-blind)
#00809C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5c5aef;
/* rgb */ color: rgb(92, 90, 239);
/* oklch */ color: oklch(55.9% 0.217 277.3);
Tailwind
colors: {
  custom: {
    50: '#9989f5',
    500: '#5c5aef',
    950: '#000000',
  },
}
SCSS
$custom: #5c5aef;
$custom-light: #9989f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5aef",
  "rgb": {
    "r": 92,
    "g": 90,
    "b": 239
  },
  "hsl": {
    "h": 240.805,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.55893,
    "c": 0.21739,
    "h": 277.3
  },
  "luminance": 0.1582
}

Semantic roles & 50–950 ramp

primary
#5C5AEF
secondary
#EBECB9
accent
#DF07DC
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5C5AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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