#5E5BEC#5E5BEC

#5E5BEC is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 56.0% C 0.212 H 278.0°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#5E5BEC
RGBrgb(94, 91, 236)
HSLhsl(241, 79%, 64%)
HSVhsv(241, 61%, 93%)
CMYKcmyk(60.2%, 61.4%, 0%, 7.5%)
CIE-LABlab(46.86, 42.82, -72.96)
CIE-LCHlch(46.86, 84.60, 300.41°)
OKLaboklab(55.95% 0.0294 -0.21)
OKLCHoklch(55.95% 0.212 278)
XYZxyz(23.4926, 15.9162, 81.1748)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5BEC #E9EC5B
analogous
#5BA1EC #5E5BEC #A65BEC
triadic
#5E5BEC #EC5E5B #5BEC5E
tetradic
#5E5BEC #EC5BA1 #E9EC5B #5BECA6
square
#5E5BEC #EC5BA1 #E9EC5B #5BECA6
split-complementary
#5E5BEC #ECA65B #A1EC5B
monochromatic
#1915B7 #2824E6 #5E5BEC #9492F2 #CAC9F9

Accessibility & contrast

On white

5.02
#5E5BEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#5E5BEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5BEC
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5BEC#FFFFFF#000000##FFFFFF
##5E5BEC1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F1
Deuteranopia (green-blind)
#0069E9
Tritanopia (blue-blind)
#007F9B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5e5bec;
/* rgb */ color: rgb(94, 91, 236);
/* oklch */ color: oklch(56.0% 0.212 278.0);
Tailwind
colors: {
  custom: {
    50: '#998af3',
    500: '#5e5bec',
    950: '#000000',
  },
}
SCSS
$custom: #5e5bec;
$custom-light: #998af3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5bec",
  "rgb": {
    "r": 94,
    "g": 91,
    "b": 236
  },
  "hsl": {
    "h": 241.241,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.55951,
    "c": 0.21202,
    "h": 278
  },
  "luminance": 0.15918
}

Semantic roles & 50–950 ramp

primary
#5E5BEC
secondary
#EAEBB8
accent
#DC0AD7
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5E5BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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