#5C4FE8#5C4FE8

#5C4FE8 is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.6% C 0.221 H 279.7°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#5C4FE8
RGBrgb(92, 79, 232)
HSLhsl(245, 77%, 61%)
HSVhsv(245, 66%, 91%)
CMYKcmyk(60.3%, 65.9%, 0%, 9%)
CIE-LABlab(43.79, 48.22, -75.74)
CIE-LCHlch(43.79, 89.78, 302.48°)
OKLaboklab(53.58% 0.0372 -0.2182)
OKLCHoklch(53.58% 0.221 279.7)
XYZxyz(21.7705, 13.6919, 77.8239)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4FE8 #DBE84F
analogous
#4F8EE8 #5C4FE8 #A84FE8
triadic
#5C4FE8 #E85C4F #4FE85C
tetradic
#5C4FE8 #E84F8E #DBE84F #4FE8A8
square
#5C4FE8 #E84F8E #DBE84F #4FE8A8
split-complementary
#5C4FE8 #E8A84F #8EE84F
monochromatic
#2216A7 #2D1DDD #5C4FE8 #8E85EF #C0BBF6

Accessibility & contrast

On white

5.62
#5C4FE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#5C4FE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4FE8
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4FE8#FFFFFF#000000##FFFFFF
##5C4FE81.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DED
Deuteranopia (green-blind)
#0061E5
Tritanopia (blue-blind)
#007795
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5c4fe8;
/* rgb */ color: rgb(92, 79, 232);
/* oklch */ color: oklch(53.6% 0.221 279.7);
Tailwind
colors: {
  custom: {
    50: '#9881f0',
    500: '#5c4fe8',
    950: '#000000',
  },
}
SCSS
$custom: #5c4fe8;
$custom-light: #9881f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4fe8",
  "rgb": {
    "r": 92,
    "g": 79,
    "b": 232
  },
  "hsl": {
    "h": 245.098,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.53576,
    "c": 0.22135,
    "h": 279.7
  },
  "luminance": 0.13693
}

Semantic roles & 50–950 ramp

primary
#5C4FE8
secondary
#E1E6AD
accent
#D90CC8
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5C4FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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