#5C5FE4#5C5FE4

#5C5FE4 is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.9% C 0.197 H 276.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#5C5FE4
RGBrgb(92, 95, 228)
HSLhsl(239, 72%, 63%)
HSVhsv(239, 60%, 89%)
CMYKcmyk(59.6%, 58.3%, 0%, 10.6%)
CIE-LABlab(47.05, 37.55, -68.15)
CIE-LCHlch(47.05, 77.81, 298.85°)
OKLaboklab(55.87% 0.0238 -0.1959)
OKLCHoklch(55.87% 0.197 276.9)
XYZxyz(22.5049, 16.0595, 75.2976)
Luminance0.1606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C5FE4 #E4E15C
analogous
#5CA3E4 #5C5FE4 #9D5CE4
triadic
#5C5FE4 #E45C5F #5FE45C
tetradic
#5C5FE4 #E45CA3 #E4E15C #5CE49D
square
#5C5FE4 #E45CA3 #E4E15C #5CE49D
split-complementary
#5C5FE4 #E49D5C #A3E45C
monochromatic
#1C1FAA #272BDB #5C5FE4 #9193ED #C5C6F5

Accessibility & contrast

On white

4.99
#5C5FE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#5C5FE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C5FE4
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C5FE4#FFFFFF#000000##FFFFFF
##5C5FE41.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E8
Deuteranopia (green-blind)
#006AE1
Tritanopia (blue-blind)
#007F98
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5c5fe4;
/* rgb */ color: rgb(92, 95, 228);
/* oklch */ color: oklch(55.9% 0.197 276.9);
Tailwind
colors: {
  custom: {
    50: '#978ced',
    500: '#5c5fe4',
    950: '#000000',
  },
}
SCSS
$custom: #5c5fe4;
$custom-light: #978ced;
$custom-dark: #000000;
JSON
{
  "hex": "#5c5fe4",
  "rgb": {
    "r": 92,
    "g": 95,
    "b": 228
  },
  "hsl": {
    "h": 238.676,
    "s": 71.579,
    "l": 62.745
  },
  "oklch": {
    "l": 0.55867,
    "c": 0.1973,
    "h": 276.9
  },
  "luminance": 0.16061
}

Semantic roles & 50–950 ramp

primary
#5C5FE4
secondary
#E7E5B5
accent
#CF12D4
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #5C5FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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