#5C4FDE#5C4FDE

#5C4FDE is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.7% C 0.209 H 280.6°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#5C4FDE
RGBrgb(92, 79, 222)
HSLhsl(245, 68%, 59%)
HSVhsv(245, 64%, 87%)
CMYKcmyk(58.6%, 64.4%, 0%, 12.9%)
CIE-LABlab(42.97, 45.12, -71.39)
CIE-LCHlch(42.97, 84.46, 302.29°)
OKLaboklab(52.73% 0.0383 -0.2055)
OKLCHoklch(52.73% 0.209 280.6)
XYZxyz(20.3903, 13.1398, 70.5548)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C4FDE #D1DE4F
analogous
#4F8ADE #5C4FDE #A44FDE
triadic
#5C4FDE #DE5C4F #4FDE5C
tetradic
#5C4FDE #DE4F8A #D1DE4F #4FDEA4
square
#5C4FDE #DE4F8A #D1DE4F #4FDEA4
split-complementary
#5C4FDE #DEA44F #8ADE4F
monochromatic
#271C96 #3526CA #5C4FDE #8C83E8 #BBB6F1

Accessibility & contrast

On white

5.79
#5C4FDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#5C4FDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C4FDE
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C4FDE#FFFFFF#000000##FFFFFF
##5C4FDE1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE2
Deuteranopia (green-blind)
#0060DB
Tritanopia (blue-blind)
#00738F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5c4fde;
/* rgb */ color: rgb(92, 79, 222);
/* oklch */ color: oklch(52.7% 0.209 280.6);
Tailwind
colors: {
  custom: {
    50: '#9781e9',
    500: '#5c4fde',
    950: '#000000',
  },
}
SCSS
$custom: #5c4fde;
$custom-light: #9781e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5c4fde",
  "rgb": {
    "r": 92,
    "g": 79,
    "b": 222
  },
  "hsl": {
    "h": 245.455,
    "s": 68.421,
    "l": 59.02
  },
  "oklch": {
    "l": 0.52734,
    "c": 0.20899,
    "h": 280.6
  },
  "luminance": 0.13141
}

Semantic roles & 50–950 ramp

primary
#5C4FDE
secondary
#DBE0A8
accent
#EB3DDB
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5C4FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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