#5D4FEB#5D4FEB

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

Color values

HEX#5D4FEB
RGBrgb(93, 79, 235)
HSLhsl(245, 80%, 62%)
HSVhsv(245, 66%, 92%)
CMYKcmyk(60.4%, 66.4%, 0%, 7.8%)
CIE-LABlab(44.11, 49.29, -76.90)
CIE-LCHlch(44.11, 91.34, 302.66°)
OKLaboklab(53.91% 0.0381 -0.2216)
OKLCHoklch(53.91% 0.225 279.7)
XYZxyz(22.3008, 13.9156, 80.0920)
Luminance0.1392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4FEB #DDEB4F
analogous
#4F8FEB #5D4FEB #AB4FEB
triadic
#5D4FEB #EB5D4F #4FEB5D
tetradic
#5D4FEB #EB4F8F #DDEB4F #4FEBAB
square
#5D4FEB #EB4F8F #DDEB4F #4FEBAB
split-complementary
#5D4FEB #EBAB4F #8FEB4F
monochromatic
#2114AC #2C1AE3 #5D4FEB #9086F1 #C2BDF7

Accessibility & contrast

On white

5.55
#5D4FEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#5D4FEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4FEB
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4FEB#FFFFFF#000000##FFFFFF
##5D4FEB1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EF0
Deuteranopia (green-blind)
#0062E8
Tritanopia (blue-blind)
#007896
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5d4feb;
/* rgb */ color: rgb(93, 79, 235);
/* oklch */ color: oklch(53.9% 0.225 279.7);
Tailwind
colors: {
  custom: {
    50: '#9982f3',
    500: '#5d4feb',
    950: '#000000',
  },
}
SCSS
$custom: #5d4feb;
$custom-light: #9982f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4feb",
  "rgb": {
    "r": 93,
    "g": 79,
    "b": 235
  },
  "hsl": {
    "h": 245.385,
    "s": 79.592,
    "l": 61.569
  },
  "oklch": {
    "l": 0.53906,
    "c": 0.22483,
    "h": 279.7
  },
  "luminance": 0.13917
}

Semantic roles & 50–950 ramp

primary
#5D4FEB
secondary
#E3E8AE
accent
#DC0AC9
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5D4FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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