#5E5CEE#5E5CEE

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

Color values

HEX#5E5CEE
RGBrgb(94, 92, 238)
HSLhsl(241, 81%, 65%)
HSVhsv(241, 61%, 93%)
CMYKcmyk(60.5%, 61.3%, 0%, 6.7%)
CIE-LABlab(47.24, 42.86, -73.47)
CIE-LCHlch(47.24, 85.06, 300.26°)
OKLaboklab(56.28% 0.0284 -0.2115)
OKLCHoklch(56.28% 0.213 277.7)
XYZxyz(23.8709, 16.2052, 82.7423)
Luminance0.1621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5CEE #ECEE5C
analogous
#5CA3EE #5E5CEE #A75CEE
triadic
#5E5CEE #EE5E5C #5CEE5E
tetradic
#5E5CEE #EE5CA3 #ECEE5C #5CEEA7
square
#5E5CEE #EE5CA3 #ECEE5C #5CEEA7
split-complementary
#5E5CEE #EEA75C #A3EE5C
monochromatic
#1614BC #2725E8 #5E5CEE #9593F4 #CBCBFA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E5CEE#FFFFFF#000000##FFFFFF
##5E5CEE1.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)
#0076F3
Deuteranopia (green-blind)
#006AEB
Tritanopia (blue-blind)
#00809C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5e5cee;
/* rgb */ color: rgb(94, 92, 238);
/* oklch */ color: oklch(56.3% 0.213 277.7);
Tailwind
colors: {
  custom: {
    50: '#998af5',
    500: '#5e5cee',
    950: '#000000',
  },
}
SCSS
$custom: #5e5cee;
$custom-light: #998af5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5cee",
  "rgb": {
    "r": 94,
    "g": 92,
    "b": 238
  },
  "hsl": {
    "h": 240.822,
    "s": 81.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.56276,
    "c": 0.21336,
    "h": 277.7
  },
  "luminance": 0.16207
}

Semantic roles & 50–950 ramp

primary
#5E5CEE
secondary
#EBECBA
accent
#DD08DB
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5E5CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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