#5E5DEB#5E5DEB

#5E5DEB is a mid, highly saturated blue. Relative luminance 0.162; OKLCH L 56.2% C 0.208 H 277.6°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5E5DEB
RGBrgb(94, 93, 235)
HSLhsl(240, 78%, 64%)
HSVhsv(240, 60%, 92%)
CMYKcmyk(60%, 60.4%, 0%, 7.8%)
CIE-LABlab(47.24, 41.32, -71.78)
CIE-LCHlch(47.24, 82.83, 299.92°)
OKLaboklab(56.21% 0.0277 -0.2065)
OKLCHoklch(56.21% 0.208 277.6)
XYZxyz(23.5210, 16.2048, 80.4695)
Luminance0.1621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5DEB #EAEB5D
analogous
#5DA3EB #5E5DEB #A55DEB
triadic
#5E5DEB #EB5E5D #5DEB5E
tetradic
#5E5DEB #EB5DA3 #EAEB5D #5DEBA5
square
#5E5DEB #EB5DA3 #EAEB5D #5DEBA5
split-complementary
#5E5DEB #EBA55D #A3EB5D
monochromatic
#1817B7 #2827E4 #5E5DEB #9493F2 #CACAF8

Accessibility & contrast

On white

4.95
#5E5DEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#5E5DEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5DEB
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5DEB#FFFFFF#000000##FFFFFF
##5E5DEB1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F0
Deuteranopia (green-blind)
#006AE8
Tritanopia (blue-blind)
#00809B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5e5deb;
/* rgb */ color: rgb(94, 93, 235);
/* oklch */ color: oklch(56.2% 0.208 277.6);
Tailwind
colors: {
  custom: {
    50: '#998bf2',
    500: '#5e5deb',
    950: '#000000',
  },
}
SCSS
$custom: #5e5deb;
$custom-light: #998bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5deb",
  "rgb": {
    "r": 94,
    "g": 93,
    "b": 235
  },
  "hsl": {
    "h": 240.423,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.56205,
    "c": 0.20835,
    "h": 277.6
  },
  "luminance": 0.16207
}

Semantic roles & 50–950 ramp

primary
#5E5DEB
secondary
#EAEBB9
accent
#DA0BD9
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5E5DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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