#5B47EE#5B47EE

#5B47EE is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.9% C 0.237 H 279.9°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#5B47EE
RGBrgb(91, 71, 238)
HSLhsl(247, 83%, 61%)
HSVhsv(247, 70%, 93%)
CMYKcmyk(61.8%, 70.2%, 0%, 6.7%)
CIE-LABlab(42.62, 54.32, -81.05)
CIE-LCHlch(42.62, 97.57, 303.83°)
OKLaboklab(52.87% 0.0409 -0.2338)
OKLCHoklch(52.87% 0.237 279.9)
XYZxyz(21.9953, 12.9020, 82.2036)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B47EE #DAEE47
analogous
#4786EE #5B47EE #AF47EE
triadic
#5B47EE #EE5B47 #47EE5B
tetradic
#5B47EE #EE4786 #DAEE47 #47EEAF
square
#5B47EE #EE4786 #DAEE47 #47EEAF
split-complementary
#5B47EE #EEAF47 #86EE47
monochromatic
#2210AB #2E15E3 #5B47EE #8D7FF3 #BFB7F8

Accessibility & contrast

On white

5.86
#5B47EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#5B47EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B47EE
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B47EE#FFFFFF#000000##FFFFFF
##5B47EE1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BF3
Deuteranopia (green-blind)
#005EEB
Tritanopia (blue-blind)
#007596
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5b47ee;
/* rgb */ color: rgb(91, 71, 238);
/* oklch */ color: oklch(52.9% 0.237 279.9);
Tailwind
colors: {
  custom: {
    50: '#997cf5',
    500: '#5b47ee',
    950: '#000000',
  },
}
SCSS
$custom: #5b47ee;
$custom-light: #997cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#5b47ee",
  "rgb": {
    "r": 91,
    "g": 71,
    "b": 238
  },
  "hsl": {
    "h": 247.186,
    "s": 83.085,
    "l": 60.588
  },
  "oklch": {
    "l": 0.52872,
    "c": 0.23734,
    "h": 279.9
  },
  "luminance": 0.12904
}

Semantic roles & 50–950 ramp

primary
#5B47EE
secondary
#E1E8A9
accent
#E006C5
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5B47EE

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

Preview Lab → · Contrast checker → · Palette generator →

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