#5D4CF0#5D4CF0

#5D4CF0 is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.9% C 0.234 H 279.7°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#5D4CF0
RGBrgb(93, 76, 240)
HSLhsl(246, 85%, 62%)
HSVhsv(246, 68%, 94%)
CMYKcmyk(61.2%, 68.3%, 0%, 5.9%)
CIE-LABlab(43.92, 52.48, -80.02)
CIE-LCHlch(43.92, 95.70, 303.26°)
OKLaboklab(53.9% 0.0396 -0.2307)
OKLCHoklch(53.9% 0.234 279.7)
XYZxyz(22.8218, 13.7856, 83.8794)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4CF0 #DFF04C
analogous
#4C8DF0 #5D4CF0 #AF4CF0
triadic
#5D4CF0 #F05D4C #4CF05D
tetradic
#5D4CF0 #F04C8D #DFF04C #4CF0AF
square
#5D4CF0 #F04C8D #DFF04C #4CF0AF
split-complementary
#5D4CF0 #F0AF4C #8DF04C
monochromatic
#200FB3 #2A14EB #5D4CF0 #9084F5 #C3BDF9

Accessibility & contrast

On white

5.59
#5D4CF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#5D4CF0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4CF0
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4CF0#FFFFFF#000000##FFFFFF
##5D4CF01.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EF5
Deuteranopia (green-blind)
#0061ED
Tritanopia (blue-blind)
#007898
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5d4cf0;
/* rgb */ color: rgb(93, 76, 240);
/* oklch */ color: oklch(53.9% 0.234 279.7);
Tailwind
colors: {
  custom: {
    50: '#9a80f6',
    500: '#5d4cf0',
    950: '#000000',
  },
}
SCSS
$custom: #5d4cf0;
$custom-light: #9a80f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4cf0",
  "rgb": {
    "r": 93,
    "g": 76,
    "b": 240
  },
  "hsl": {
    "h": 246.22,
    "s": 84.536,
    "l": 61.961
  },
  "oklch": {
    "l": 0.539,
    "c": 0.23411,
    "h": 279.7
  },
  "luminance": 0.13787
}

Semantic roles & 50–950 ramp

primary
#5D4CF0
secondary
#E4EAAE
accent
#E104CA
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #5D4CF0

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

Preview Lab → · Contrast checker → · Palette generator →

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