#5D46D5#5D46D5

#5D46D5 is a mid, highly saturated blue. Relative luminance 0.115; OKLCH L 50.7% C 0.208 H 283.4°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#5D46D5
RGBrgb(93, 70, 213)
HSLhsl(250, 63%, 55%)
HSVhsv(250, 67%, 84%)
CMYKcmyk(56.3%, 67.1%, 0%, 16.5%)
CIE-LABlab(40.43, 47.64, -70.40)
CIE-LCHlch(40.43, 85.00, 304.09°)
OKLaboklab(50.69% 0.0483 -0.2025)
OKLCHoklch(50.69% 0.208 283.4)
XYZxyz(18.7109, 11.5104, 64.1737)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D46D5 #BED546
analogous
#4677D5 #5D46D5 #A446D5
triadic
#5D46D5 #D55D46 #46D55D
tetradic
#5D46D5 #D54677 #BED546 #46D5A4
square
#5D46D5 #D54677 #BED546 #46D5A4
split-complementary
#5D46D5 #D5A446 #77D546
monochromatic
#2E1E83 #4029B5 #5D46D5 #8978E0 #B4AAEC

Accessibility & contrast

On white

6.36
#5D46D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#5D46D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D46D5
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D46D5#FFFFFF#000000##FFFFFF
##5D46D51.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D9
Deuteranopia (green-blind)
#005AD2
Tritanopia (blue-blind)
#1F6B88
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5d46d5;
/* rgb */ color: rgb(93, 70, 213);
/* oklch */ color: oklch(50.7% 0.208 283.4);
Tailwind
colors: {
  custom: {
    50: '#967be3',
    500: '#5d46d5',
    950: '#000000',
  },
}
SCSS
$custom: #5d46d5;
$custom-light: #967be3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d46d5",
  "rgb": {
    "r": 93,
    "g": 70,
    "b": 213
  },
  "hsl": {
    "h": 249.65,
    "s": 62.996,
    "l": 55.49
  },
  "oklch": {
    "l": 0.50686,
    "c": 0.20821,
    "h": 283.4
  },
  "luminance": 0.11512
}

Semantic roles & 50–950 ramp

primary
#5D46D5
secondary
#D0D99E
accent
#E642CC
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5D46D5

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

Preview Lab → · Contrast checker → · Palette generator →

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