#5B43DF#5B43DF

#5B43DF is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 51.0% C 0.224 H 282.0°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#5B43DF
RGBrgb(91, 67, 223)
HSLhsl(249, 71%, 57%)
HSVhsv(249, 70%, 87%)
CMYKcmyk(59.2%, 70%, 0%, 12.5%)
CIE-LABlab(40.52, 51.98, -75.99)
CIE-LCHlch(40.52, 92.06, 304.37°)
OKLaboklab(50.97% 0.0465 -0.219)
OKLCHoklch(50.97% 0.224 282)
XYZxyz(19.6367, 11.5648, 70.9952)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B43DF #C7DF43
analogous
#4379DF #5B43DF #A943DF
triadic
#5B43DF #DF5B43 #43DF5B
tetradic
#5B43DF #DF4379 #C7DF43 #43DFA9
square
#5B43DF #DF4379 #C7DF43 #43DFA9
split-complementary
#5B43DF #DFA943 #79DF43
monochromatic
#2B188F #3A21C4 #5B43DF #8977E8 #B6ACF1

Accessibility & contrast

On white

6.34
#5B43DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#5B43DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B43DF
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B43DF#FFFFFF#000000##FFFFFF
##5B43DF1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E4
Deuteranopia (green-blind)
#005ADC
Tritanopia (blue-blind)
#006D8C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5b43df;
/* rgb */ color: rgb(91, 67, 223);
/* oklch */ color: oklch(51.0% 0.224 282.0);
Tailwind
colors: {
  custom: {
    50: '#9779ea',
    500: '#5b43df',
    950: '#000000',
  },
}
SCSS
$custom: #5b43df;
$custom-light: #9779ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5b43df",
  "rgb": {
    "r": 91,
    "g": 67,
    "b": 223
  },
  "hsl": {
    "h": 249.231,
    "s": 70.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.50971,
    "c": 0.22383,
    "h": 282
  },
  "luminance": 0.11566
}

Semantic roles & 50–950 ramp

primary
#5B43DF
secondary
#D5DF9F
accent
#EE3AD2
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5B43DF

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

Preview Lab → · Contrast checker → · Palette generator →

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