#5D46E0#5D46E0

#5D46E0 is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.6% C 0.222 H 282.2°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#5D46E0
RGBrgb(93, 70, 224)
HSLhsl(249, 71%, 58%)
HSVhsv(249, 69%, 88%)
CMYKcmyk(58.5%, 68.8%, 0%, 12.2%)
CIE-LABlab(41.36, 50.94, -75.17)
CIE-LCHlch(41.36, 90.81, 304.12°)
OKLaboklab(51.64% 0.0466 -0.2165)
OKLCHoklch(51.64% 0.222 282.2)
XYZxyz(20.1547, 12.0879, 71.7777)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D46E0 #C9E046
analogous
#467CE0 #5D46E0 #AA46E0
triadic
#5D46E0 #E05D46 #46E05D
tetradic
#5D46E0 #E0467C #C9E046 #46E0AA
square
#5D46E0 #E0467C #C9E046 #46E0AA
split-complementary
#5D46E0 #E0AA46 #7CE046
monochromatic
#2B1993 #3A21C7 #5D46E0 #8B7AE9 #B9AFF2

Accessibility & contrast

On white

6.14
#5D46E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#5D46E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D46E0
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D46E0#FFFFFF#000000##FFFFFF
##5D46E01.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E5
Deuteranopia (green-blind)
#005CDD
Tritanopia (blue-blind)
#006F8E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5d46e0;
/* rgb */ color: rgb(93, 70, 224);
/* oklch */ color: oklch(51.6% 0.222 282.2);
Tailwind
colors: {
  custom: {
    50: '#987ceb',
    500: '#5d46e0',
    950: '#000000',
  },
}
SCSS
$custom: #5d46e0;
$custom-light: #987ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d46e0",
  "rgb": {
    "r": 93,
    "g": 70,
    "b": 224
  },
  "hsl": {
    "h": 248.961,
    "s": 71.296,
    "l": 57.647
  },
  "oklch": {
    "l": 0.51638,
    "c": 0.2215,
    "h": 282.2
  },
  "luminance": 0.12089
}

Semantic roles & 50–950 ramp

primary
#5D46E0
secondary
#D7E0A2
accent
#EE3AD3
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5D46E0

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

Preview Lab → · Contrast checker → · Palette generator →

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