#5D43E1#5D43E1

#5D43E1 is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 51.3% C 0.226 H 282.5°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#5D43E1
RGBrgb(93, 67, 225)
HSLhsl(250, 72%, 57%)
HSVhsv(250, 70%, 88%)
CMYKcmyk(58.7%, 70.2%, 0%, 11.8%)
CIE-LABlab(40.86, 52.85, -76.56)
CIE-LCHlch(40.86, 93.03, 304.62°)
OKLaboklab(51.31% 0.0488 -0.2206)
OKLCHoklch(51.31% 0.226 282.5)
XYZxyz(20.1077, 11.7764, 72.4330)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D43E1 #C7E143
analogous
#4378E1 #5D43E1 #AC43E1
triadic
#5D43E1 #E15D43 #43E15D
tetradic
#5D43E1 #E14378 #C7E143 #43E1AC
square
#5D43E1 #E14378 #C7E143 #43E1AC
split-complementary
#5D43E1 #E1AC43 #78E143
monochromatic
#2C1792 #3B20C7 #5D43E1 #8A78E9 #B8ADF2

Accessibility & contrast

On white

6.26
#5D43E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5D43E1
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D43E1#FFFFFF#000000##FFFFFF
##5D43E11.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E6
Deuteranopia (green-blind)
#005BDE
Tritanopia (blue-blind)
#006E8D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5d43e1;
/* rgb */ color: rgb(93, 67, 225);
/* oklch */ color: oklch(51.3% 0.226 282.5);
Tailwind
colors: {
  custom: {
    50: '#997aec',
    500: '#5d43e1',
    950: '#000000',
  },
}
SCSS
$custom: #5d43e1;
$custom-light: #997aec;
$custom-dark: #000000;
JSON
{
  "hex": "#5d43e1",
  "rgb": {
    "r": 93,
    "g": 67,
    "b": 225
  },
  "hsl": {
    "h": 249.873,
    "s": 72.477,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5131,
    "c": 0.2259,
    "h": 282.5
  },
  "luminance": 0.11778
}

Semantic roles & 50–950 ramp

primary
#5D43E1
secondary
#D5E0A0
accent
#EF39D1
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5D43E1

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

Preview Lab → · Contrast checker → · Palette generator →

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