#5B43D8#5B43D8

#5B43D8 is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 50.3% C 0.215 H 282.8°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#5B43D8
RGBrgb(91, 67, 216)
HSLhsl(250, 66%, 55%)
HSVhsv(250, 69%, 85%)
CMYKcmyk(57.9%, 69%, 0%, 15.3%)
CIE-LABlab(39.91, 49.89, -72.98)
CIE-LCHlch(39.91, 88.40, 304.36°)
OKLaboklab(50.35% 0.0477 -0.2101)
OKLCHoklch(50.35% 0.215 282.8)
XYZxyz(18.7124, 11.1951, 66.1273)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B43D8 #C0D843
analogous
#4376D8 #5B43D8 #A543D8
triadic
#5B43D8 #D85B43 #43D85B
tetradic
#5B43D8 #D84376 #C0D843 #43D8A5
square
#5B43D8 #D84376 #C0D843 #43D8A5
split-complementary
#5B43D8 #D8A543 #76D843
monochromatic
#2D1C85 #3E26B8 #5B43D8 #8776E3 #B3A8ED

Accessibility & contrast

On white

6.48
#5B43D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#5B43D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B43D8
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B43D8#FFFFFF#000000##FFFFFF
##5B43D81.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DC
Deuteranopia (green-blind)
#0059D5
Tritanopia (blue-blind)
#0E6A88
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5b43d8;
/* rgb */ color: rgb(91, 67, 216);
/* oklch */ color: oklch(50.3% 0.215 282.8);
Tailwind
colors: {
  custom: {
    50: '#9679e5',
    500: '#5b43d8',
    950: '#000000',
  },
}
SCSS
$custom: #5b43d8;
$custom-light: #9679e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5b43d8",
  "rgb": {
    "r": 91,
    "g": 67,
    "b": 216
  },
  "hsl": {
    "h": 249.664,
    "s": 65.639,
    "l": 55.49
  },
  "oklch": {
    "l": 0.50349,
    "c": 0.21548,
    "h": 282.8
  },
  "luminance": 0.11196
}

Semantic roles & 50–950 ramp

primary
#5B43D8
secondary
#D0DA9C
accent
#E93FCD
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5B43D8

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

Preview Lab → · Contrast checker → · Palette generator →

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