#5C4FF8#5C4FF8

#5C4FF8 is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 55.0% C 0.241 H 278.4°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#5C4FF8
RGBrgb(92, 79, 248)
HSLhsl(245, 92%, 64%)
HSVhsv(245, 68%, 97%)
CMYKcmyk(62.9%, 68.1%, 0%, 2.7%)
CIE-LABlab(45.14, 53.14, -82.52)
CIE-LCHlch(45.14, 98.15, 302.78°)
OKLaboklab(54.97% 0.035 -0.2381)
OKLCHoklch(54.97% 0.241 278.4)
XYZxyz(24.1474, 14.6426, 90.3425)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4FF8 #EBF84F
analogous
#4F97F8 #5C4FF8 #B04FF8
triadic
#5C4FF8 #F85C4F #4FF85C
tetradic
#5C4FF8 #F84F97 #EBF84F #4FF8B0
square
#5C4FF8 #F84F97 #EBF84F #4FF8B0
split-complementary
#5C4FF8 #F8B04F #97F84F
monochromatic
#1608C5 #2514F6 #5C4FF8 #938AFA #C9C5FD

Accessibility & contrast

On white

5.34
#5C4FF8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#5C4FF8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4FF8
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4FF8#FFFFFF#000000##FFFFFF
##5C4FF81.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072FD
Deuteranopia (green-blind)
#0064F5
Tritanopia (blue-blind)
#007C9E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5c4ff8;
/* rgb */ color: rgb(92, 79, 248);
/* oklch */ color: oklch(55.0% 0.241 278.4);
Tailwind
colors: {
  custom: {
    50: '#9b82fc',
    500: '#5c4ff8',
    950: '#000000',
  },
}
SCSS
$custom: #5c4ff8;
$custom-light: #9b82fc;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4ff8",
  "rgb": {
    "r": 92,
    "g": 79,
    "b": 248
  },
  "hsl": {
    "h": 244.615,
    "s": 92.35,
    "l": 64.118
  },
  "oklch": {
    "l": 0.54966,
    "c": 0.24064,
    "h": 278.4
  },
  "luminance": 0.14645
}

Semantic roles & 50–950 ramp

primary
#5C4FF8
secondary
#EAEFB4
accent
#E600D4
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100A18
muted
#7F7C86

Preview Lab

Preview with #5C4FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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