#5C4FE6#5C4FE6

#5C4FE6 is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.4% C 0.219 H 279.8°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5C4FE6
RGBrgb(92, 79, 230)
HSLhsl(245, 75%, 61%)
HSVhsv(245, 66%, 90%)
CMYKcmyk(60%, 65.7%, 0%, 9.8%)
CIE-LABlab(43.62, 47.60, -74.87)
CIE-LCHlch(43.62, 88.72, 302.45°)
OKLaboklab(53.41% 0.0374 -0.2157)
OKLCHoklch(53.41% 0.219 279.8)
XYZxyz(21.4880, 13.5789, 76.3362)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4FE6 #D9E64F
analogous
#4F8DE6 #5C4FE6 #A84FE6
triadic
#5C4FE6 #E65C4F #4FE65C
tetradic
#5C4FE6 #E64F8D #D9E64F #4FE6A8
square
#5C4FE6 #E64F8D #D9E64F #4FE6A8
split-complementary
#5C4FE6 #E6A84F #8DE64F
monochromatic
#2317A3 #2F1FD9 #5C4FE6 #8E85EE #BFBAF5

Accessibility & contrast

On white

5.65
#5C4FE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#5C4FE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4FE6
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4FE6#FFFFFF#000000##FFFFFF
##5C4FE61.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEB
Deuteranopia (green-blind)
#0061E3
Tritanopia (blue-blind)
#007694
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5c4fe6;
/* rgb */ color: rgb(92, 79, 230);
/* oklch */ color: oklch(53.4% 0.219 279.8);
Tailwind
colors: {
  custom: {
    50: '#9881ef',
    500: '#5c4fe6',
    950: '#000000',
  },
}
SCSS
$custom: #5c4fe6;
$custom-light: #9881ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4fe6",
  "rgb": {
    "r": 92,
    "g": 79,
    "b": 230
  },
  "hsl": {
    "h": 245.166,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.53406,
    "c": 0.2189,
    "h": 279.8
  },
  "luminance": 0.1358
}

Semantic roles & 50–950 ramp

primary
#5C4FE6
secondary
#E0E5AC
accent
#D70EC6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5C4FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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