#5E5EE3#5E5EE3

#5E5EE3 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.8% C 0.197 H 277.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#5E5EE3
RGBrgb(94, 94, 227)
HSLhsl(240, 70%, 63%)
HSVhsv(240, 59%, 89%)
CMYKcmyk(58.6%, 58.6%, 0%, 11%)
CIE-LABlab(46.88, 38.17, -67.86)
CIE-LCHlch(46.88, 77.85, 299.36°)
OKLaboklab(55.75% 0.0271 -0.195)
OKLCHoklch(55.75% 0.197 277.9)
XYZxyz(22.4795, 15.9295, 74.5483)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5EE3 #E3E35E
analogous
#5EA0E3 #5E5EE3 #A05EE3
triadic
#5E5EE3 #E35E5E #5EE35E
tetradic
#5E5EE3 #E35EA0 #E3E35E #5EE3A0
square
#5E5EE3 #E35EA0 #E3E35E #5EE3A0
split-complementary
#5E5EE3 #E3A05E #A0E35E
monochromatic
#1D1DA9 #2A2ADA #5E5EE3 #9292EC #C6C6F5

Accessibility & contrast

On white

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

On black

4.19
#5E5EE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5E5EE3#FFFFFF#000000##FFFFFF
##5E5EE31.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E7
Deuteranopia (green-blind)
#006AE0
Tritanopia (blue-blind)
#007E97
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5e5ee3;
/* rgb */ color: rgb(94, 94, 227);
/* oklch */ color: oklch(55.8% 0.197 277.9);
Tailwind
colors: {
  custom: {
    50: '#988ced',
    500: '#5e5ee3',
    950: '#000000',
  },
}
SCSS
$custom: #5e5ee3;
$custom-light: #988ced;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5ee3",
  "rgb": {
    "r": 94,
    "g": 94,
    "b": 227
  },
  "hsl": {
    "h": 240,
    "s": 70.37,
    "l": 62.941
  },
  "oklch": {
    "l": 0.55754,
    "c": 0.19682,
    "h": 277.9
  },
  "luminance": 0.15931
}

Semantic roles & 50–950 ramp

primary
#5E5EE3
secondary
#E6E6B6
accent
#D213D2
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #5E5EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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