#5E5BEB#5E5BEB

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

Color values

HEX#5E5BEB
RGBrgb(94, 91, 235)
HSLhsl(241, 78%, 64%)
HSVhsv(241, 61%, 92%)
CMYKcmyk(60%, 61.3%, 0%, 7.8%)
CIE-LABlab(46.79, 42.50, -72.52)
CIE-LCHlch(46.79, 84.06, 300.37°)
OKLaboklab(55.87% 0.0294 -0.2087)
OKLCHoklch(55.87% 0.211 278)
XYZxyz(23.3478, 15.8583, 80.4118)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5BEB #E8EB5B
analogous
#5BA0EB #5E5BEB #A65BEB
triadic
#5E5BEB #EB5E5B #5BEB5E
tetradic
#5E5BEB #EB5BA0 #E8EB5B #5BEBA6
square
#5E5BEB #EB5BA0 #E8EB5B #5BEBA6
split-complementary
#5E5BEB #EBA65B #A0EB5B
monochromatic
#1916B5 #2824E4 #5E5BEB #9492F2 #C9C8F8

Accessibility & contrast

On white

5.03
#5E5BEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#5E5BEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5BEB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5BEB#FFFFFF#000000##FFFFFF
##5E5BEB1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F0
Deuteranopia (green-blind)
#0069E8
Tritanopia (blue-blind)
#007F9A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5e5beb;
/* rgb */ color: rgb(94, 91, 235);
/* oklch */ color: oklch(55.9% 0.211 278.0);
Tailwind
colors: {
  custom: {
    50: '#998af2',
    500: '#5e5beb',
    950: '#000000',
  },
}
SCSS
$custom: #5e5beb;
$custom-light: #998af2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5beb",
  "rgb": {
    "r": 94,
    "g": 91,
    "b": 235
  },
  "hsl": {
    "h": 241.25,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.55871,
    "c": 0.21075,
    "h": 278
  },
  "luminance": 0.1586
}

Semantic roles & 50–950 ramp

primary
#5E5BEB
secondary
#E9EAB8
accent
#DB0BD6
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5E5BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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