#5E5EE2#5E5EE2

#5E5EE2 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.7% C 0.196 H 278.0°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5E5EE2
RGBrgb(94, 94, 226)
HSLhsl(240, 69%, 63%)
HSVhsv(240, 58%, 89%)
CMYKcmyk(58.4%, 58.4%, 0%, 11.4%)
CIE-LABlab(46.81, 37.85, -67.41)
CIE-LCHlch(46.81, 77.31, 299.31°)
OKLaboklab(55.68% 0.0271 -0.1936)
OKLCHoklch(55.68% 0.196 278)
XYZxyz(22.3419, 15.8745, 73.8235)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5EE2 #E2E25E
analogous
#5EA0E2 #5E5EE2 #A05EE2
triadic
#5E5EE2 #E25E5E #5EE25E
tetradic
#5E5EE2 #E25EA0 #E2E25E #5EE2A0
square
#5E5EE2 #E25EA0 #E2E25E #5EE2A0
split-complementary
#5E5EE2 #E2A05E #A0E25E
monochromatic
#1E1EA7 #2A2AD9 #5E5EE2 #9292EB #C6C6F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E5EE2#FFFFFF#000000##FFFFFF
##5E5EE21.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E6
Deuteranopia (green-blind)
#0069DF
Tritanopia (blue-blind)
#007E97
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5e5ee2;
/* rgb */ color: rgb(94, 94, 226);
/* oklch */ color: oklch(55.7% 0.196 278.0);
Tailwind
colors: {
  custom: {
    50: '#978cec',
    500: '#5e5ee2',
    950: '#000000',
  },
}
SCSS
$custom: #5e5ee2;
$custom-light: #978cec;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5ee2",
  "rgb": {
    "r": 94,
    "g": 94,
    "b": 226
  },
  "hsl": {
    "h": 240,
    "s": 69.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.55677,
    "c": 0.19551,
    "h": 278
  },
  "luminance": 0.15876
}

Semantic roles & 50–950 ramp

primary
#5E5EE2
secondary
#E6E6B6
accent
#D114D1
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #5E5EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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