#5B43EA#5B43EA

#5B43EA is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 52.0% C 0.237 H 280.8°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#5B43EA
RGBrgb(91, 67, 234)
HSLhsl(249, 80%, 59%)
HSVhsv(249, 71%, 92%)
CMYKcmyk(61.1%, 71.4%, 0%, 8.2%)
CIE-LABlab(41.50, 55.25, -80.63)
CIE-LCHlch(41.50, 97.74, 304.42°)
OKLaboklab(51.97% 0.0444 -0.2325)
OKLCHoklch(51.97% 0.237 280.8)
XYZxyz(21.1681, 12.1774, 79.0609)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B43EA #D2EA43
analogous
#437FEA #5B43EA #AF43EA
triadic
#5B43EA #EA5B43 #43EA5B
tetradic
#5B43EA #EA437F #D2EA43 #43EAAF
square
#5B43EA #EA437F #D2EA43 #43EAAF
split-complementary
#5B43EA #EAAF43 #7FEA43
monochromatic
#2612A1 #3418D8 #5B43EA #8B7AF0 #BBB1F6

Accessibility & contrast

On white

6.11
#5B43EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#5B43EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B43EA
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B43EA#FFFFFF#000000##FFFFFF
##5B43EA1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068EF
Deuteranopia (green-blind)
#005CE7
Tritanopia (blue-blind)
#007192
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5b43ea;
/* rgb */ color: rgb(91, 67, 234);
/* oklch */ color: oklch(52.0% 0.237 280.8);
Tailwind
colors: {
  custom: {
    50: '#997af2',
    500: '#5b43ea',
    950: '#000000',
  },
}
SCSS
$custom: #5b43ea;
$custom-light: #997af2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b43ea",
  "rgb": {
    "r": 91,
    "g": 67,
    "b": 234
  },
  "hsl": {
    "h": 248.623,
    "s": 79.904,
    "l": 59.02
  },
  "oklch": {
    "l": 0.51967,
    "c": 0.23674,
    "h": 280.8
  },
  "luminance": 0.12179
}

Semantic roles & 50–950 ramp

primary
#5B43EA
secondary
#DCE5A4
accent
#F631DA
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5B43EA

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

Preview Lab → · Contrast checker → · Palette generator →

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