#5B43D7#5B43D7

#5B43D7 is a mid, highly saturated blue. Relative luminance 0.111; OKLCH L 50.3% C 0.214 H 282.9°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#5B43D7
RGBrgb(91, 67, 215)
HSLhsl(250, 65%, 55%)
HSVhsv(250, 69%, 84%)
CMYKcmyk(57.7%, 68.8%, 0%, 15.7%)
CIE-LABlab(39.82, 49.59, -72.55)
CIE-LCHlch(39.82, 87.88, 304.36°)
OKLaboklab(50.26% 0.0478 -0.2089)
OKLCHoklch(50.26% 0.214 282.9)
XYZxyz(18.5835, 11.1435, 65.4485)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B43D7 #BFD743
analogous
#4375D7 #5B43D7 #A543D7
triadic
#5B43D7 #D75B43 #43D75B
tetradic
#5B43D7 #D74375 #BFD743 #43D7A5
square
#5B43D7 #D74375 #BFD743 #43D7A5
split-complementary
#5B43D7 #D7A543 #75D743
monochromatic
#2D1C84 #3E27B6 #5B43D7 #8775E2 #B3A8EC

Accessibility & contrast

On white

6.50
#5B43D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#5B43D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B43D7
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B43D7#FFFFFF#000000##FFFFFF
##5B43D71.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DB
Deuteranopia (green-blind)
#0059D4
Tritanopia (blue-blind)
#116A88
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5b43d7;
/* rgb */ color: rgb(91, 67, 215);
/* oklch */ color: oklch(50.3% 0.214 282.9);
Tailwind
colors: {
  custom: {
    50: '#9679e4',
    500: '#5b43d7',
    950: '#000000',
  },
}
SCSS
$custom: #5b43d7;
$custom-light: #9679e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5b43d7",
  "rgb": {
    "r": 91,
    "g": 67,
    "b": 215
  },
  "hsl": {
    "h": 249.73,
    "s": 64.912,
    "l": 55.294
  },
  "oklch": {
    "l": 0.50261,
    "c": 0.21428,
    "h": 282.9
  },
  "luminance": 0.11145
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B43D7

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

Preview Lab → · Contrast checker → · Palette generator →

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