#5E5CF4#5E5CF4

#5E5CF4 is a mid, highly saturated blue. Relative luminance 0.166; OKLCH L 56.8% C 0.221 H 277.3°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#5E5CF4
RGBrgb(94, 92, 244)
HSLhsl(241, 87%, 66%)
HSVhsv(241, 62%, 96%)
CMYKcmyk(61.5%, 62.3%, 0%, 4.3%)
CIE-LABlab(47.71, 44.77, -76.08)
CIE-LCHlch(47.71, 88.27, 300.47°)
OKLaboklab(56.76% 0.0281 -0.2191)
OKLCHoklch(56.76% 0.221 277.3)
XYZxyz(24.7671, 16.5637, 87.4624)
Luminance0.1657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5CF4 #F2F45C
analogous
#5CA6F4 #5E5CF4 #AA5CF4
triadic
#5E5CF4 #F45E5C #5CF45E
tetradic
#5E5CF4 #F45CA6 #F2F45C #5CF4AA
square
#5E5CF4 #F45CA6 #F2F45C #5CF4AA
split-complementary
#5E5CF4 #F4AA5C #A6F45C
monochromatic
#100EC8 #2523F0 #5E5CF4 #9795F8 #CFCFFC

Accessibility & contrast

On white

4.87
#5E5CF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#5E5CF4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5CF4
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5CF4#FFFFFF#000000##FFFFFF
##5E5CF41.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F9
Deuteranopia (green-blind)
#006BF1
Tritanopia (blue-blind)
#0082A0
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5e5cf4;
/* rgb */ color: rgb(94, 92, 244);
/* oklch */ color: oklch(56.8% 0.221 277.3);
Tailwind
colors: {
  custom: {
    50: '#9a8bf9',
    500: '#5e5cf4',
    950: '#000000',
  },
}
SCSS
$custom: #5e5cf4;
$custom-light: #9a8bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5cf4",
  "rgb": {
    "r": 94,
    "g": 92,
    "b": 244
  },
  "hsl": {
    "h": 240.789,
    "s": 87.356,
    "l": 65.882
  },
  "oklch": {
    "l": 0.56759,
    "c": 0.22091,
    "h": 277.3
  },
  "luminance": 0.16566
}

Semantic roles & 50–950 ramp

primary
#5E5CF4
secondary
#EEEFBD
accent
#E402E1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5E5CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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