#5C4FF5#5C4FF5

#5C4FF5 is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 54.7% C 0.237 H 278.6°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5C4FF5
RGBrgb(92, 79, 245)
HSLhsl(245, 89%, 64%)
HSVhsv(245, 68%, 96%)
CMYKcmyk(62.4%, 67.8%, 0%, 3.9%)
CIE-LABlab(44.88, 52.22, -81.26)
CIE-LCHlch(44.88, 96.59, 302.72°)
OKLaboklab(54.7% 0.0355 -0.2344)
OKLCHoklch(54.7% 0.237 278.6)
XYZxyz(23.6858, 14.4580, 87.9110)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4FF5 #E8F54F
analogous
#4F95F5 #5C4FF5 #AF4FF5
triadic
#5C4FF5 #F55C4F #4FF55C
tetradic
#5C4FF5 #F54F95 #E8F54F #4FF5AF
square
#5C4FF5 #F54F95 #E8F54F #4FF5AF
split-complementary
#5C4FF5 #F5AF4F #95F54F
monochromatic
#190BBF #2615F2 #5C4FF5 #9289F8 #C7C3FC

Accessibility & contrast

On white

5.40
#5C4FF5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#5C4FF5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4FF5
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4FF5#FFFFFF#000000##FFFFFF
##5C4FF51.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071FA
Deuteranopia (green-blind)
#0063F2
Tritanopia (blue-blind)
#007B9C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5c4ff5;
/* rgb */ color: rgb(92, 79, 245);
/* oklch */ color: oklch(54.7% 0.237 278.6);
Tailwind
colors: {
  custom: {
    50: '#9b82fa',
    500: '#5c4ff5',
    950: '#000000',
  },
}
SCSS
$custom: #5c4ff5;
$custom-light: #9b82fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4ff5",
  "rgb": {
    "r": 92,
    "g": 79,
    "b": 245
  },
  "hsl": {
    "h": 244.699,
    "s": 89.247,
    "l": 63.529
  },
  "oklch": {
    "l": 0.54701,
    "c": 0.23707,
    "h": 278.6
  },
  "luminance": 0.1446
}

Semantic roles & 50–950 ramp

primary
#5C4FF5
secondary
#E9EDB2
accent
#E600D4
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #5C4FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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