#5B43DC#5B43DC

#5B43DC is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.7% C 0.220 H 282.3°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#5B43DC
RGBrgb(91, 67, 220)
HSLhsl(249, 69%, 56%)
HSVhsv(249, 70%, 86%)
CMYKcmyk(58.6%, 69.5%, 0%, 13.7%)
CIE-LABlab(40.25, 51.09, -74.70)
CIE-LCHlch(40.25, 90.50, 304.37°)
OKLaboklab(50.7% 0.047 -0.2152)
OKLCHoklch(50.7% 0.22 282.3)
XYZxyz(19.2358, 11.4045, 68.8839)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B43DC #C4DC43
analogous
#4378DC #5B43DC #A843DC
triadic
#5B43DC #DC5B43 #43DC5B
tetradic
#5B43DC #DC4378 #C4DC43 #43DCA8
square
#5B43DC #DC4378 #C4DC43 #43DCA8
split-complementary
#5B43DC #DCA843 #78DC43
monochromatic
#2C1A8B #3C23BE #5B43DC #8877E6 #B5AAEF

Accessibility & contrast

On white

6.40
#5B43DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#5B43DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B43DC
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B43DC#FFFFFF#000000##FFFFFF
##5B43DC1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E1
Deuteranopia (green-blind)
#0059D9
Tritanopia (blue-blind)
#006C8B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5b43dc;
/* rgb */ color: rgb(91, 67, 220);
/* oklch */ color: oklch(50.7% 0.220 282.3);
Tailwind
colors: {
  custom: {
    50: '#9779e8',
    500: '#5b43dc',
    950: '#000000',
  },
}
SCSS
$custom: #5b43dc;
$custom-light: #9779e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5b43dc",
  "rgb": {
    "r": 91,
    "g": 67,
    "b": 220
  },
  "hsl": {
    "h": 249.412,
    "s": 68.61,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50703,
    "c": 0.22027,
    "h": 282.3
  },
  "luminance": 0.11406
}

Semantic roles & 50–950 ramp

primary
#5B43DC
secondary
#D3DD9E
accent
#EB3CD0
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5B43DC

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

Preview Lab → · Contrast checker → · Palette generator →

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