#5E5EEB#5E5EEB

#5E5EEB is a mid, highly saturated blue. Relative luminance 0.164; OKLCH L 56.4% C 0.207 H 277.4°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5E5EEB
RGBrgb(94, 94, 235)
HSLhsl(240, 78%, 65%)
HSVhsv(240, 60%, 92%)
CMYKcmyk(60%, 60%, 0%, 7.8%)
CIE-LABlab(47.47, 40.72, -71.41)
CIE-LCHlch(47.47, 82.21, 299.69°)
OKLaboklab(56.37% 0.0268 -0.2054)
OKLCHoklch(56.37% 0.207 277.4)
XYZxyz(23.6094, 16.3815, 80.4990)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5EEB #EBEB5E
analogous
#5EA5EB #5E5EEB #A55EEB
triadic
#5E5EEB #EB5E5E #5EEB5E
tetradic
#5E5EEB #EB5EA5 #EBEB5E #5EEBA5
square
#5E5EEB #EB5EA5 #EBEB5E #5EEBA5
split-complementary
#5E5EEB #EBA55E #A5EB5E
monochromatic
#1717B8 #2828E4 #5E5EEB #9494F2 #CBCBF9

Accessibility & contrast

On white

4.91
#5E5EEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#5E5EEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5EEB
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5EEB#FFFFFF#000000##FFFFFF
##5E5EEB1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#006BE8
Tritanopia (blue-blind)
#00819C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5e5eeb;
/* rgb */ color: rgb(94, 94, 235);
/* oklch */ color: oklch(56.4% 0.207 277.4);
Tailwind
colors: {
  custom: {
    50: '#998cf2',
    500: '#5e5eeb',
    950: '#000000',
  },
}
SCSS
$custom: #5e5eeb;
$custom-light: #998cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5eeb",
  "rgb": {
    "r": 94,
    "g": 94,
    "b": 235
  },
  "hsl": {
    "h": 240,
    "s": 77.901,
    "l": 64.51
  },
  "oklch": {
    "l": 0.56373,
    "c": 0.20715,
    "h": 277.4
  },
  "luminance": 0.16383
}

Semantic roles & 50–950 ramp

primary
#5E5EEB
secondary
#EBEBBA
accent
#DA0BDA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5E5EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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