#5D46DB#5D46DB

#5D46DB is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 51.2% C 0.215 H 282.7°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#5D46DB
RGBrgb(93, 70, 219)
HSLhsl(249, 67%, 57%)
HSVhsv(249, 68%, 86%)
CMYKcmyk(57.5%, 68%, 0%, 14.1%)
CIE-LABlab(40.93, 49.44, -73.02)
CIE-LCHlch(40.93, 88.18, 304.10°)
OKLaboklab(51.2% 0.0475 -0.2102)
OKLCHoklch(51.2% 0.215 282.7)
XYZxyz(19.4866, 11.8207, 68.2589)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D46DB #C4DB46
analogous
#467ADB #5D46DB #A846DB
triadic
#5D46DB #DB5D46 #46DB5D
tetradic
#5D46DB #DB467A #C4DB46 #46DBA8
square
#5D46DB #DB467A #C4DB46 #46DBA8
split-complementary
#5D46DB #DBA846 #7ADB46
monochromatic
#2C1B8B #3D25BF #5D46DB #8A79E5 #B7ACEF

Accessibility & contrast

On white

6.24
#5D46DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#5D46DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D46DB
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D46DB#FFFFFF#000000##FFFFFF
##5D46DB1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E0
Deuteranopia (green-blind)
#005BD8
Tritanopia (blue-blind)
#126D8B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5d46db;
/* rgb */ color: rgb(93, 70, 219);
/* oklch */ color: oklch(51.2% 0.215 282.7);
Tailwind
colors: {
  custom: {
    50: '#977be7',
    500: '#5d46db',
    950: '#000000',
  },
}
SCSS
$custom: #5d46db;
$custom-light: #977be7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d46db",
  "rgb": {
    "r": 93,
    "g": 70,
    "b": 219
  },
  "hsl": {
    "h": 249.262,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.51202,
    "c": 0.21549,
    "h": 282.7
  },
  "luminance": 0.11822
}

Semantic roles & 50–950 ramp

primary
#5D46DB
secondary
#D3DDA0
accent
#EA3DD0
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5D46DB

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

Preview Lab → · Contrast checker → · Palette generator →

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