#5E5CF5#5E5CF5

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

Color values

HEX#5E5CF5
RGBrgb(94, 92, 245)
HSLhsl(241, 88%, 66%)
HSVhsv(241, 62%, 96%)
CMYKcmyk(61.6%, 62.4%, 0%, 3.9%)
CIE-LABlab(47.78, 45.09, -76.51)
CIE-LCHlch(47.78, 88.81, 300.51°)
OKLaboklab(56.84% 0.028 -0.2204)
OKLCHoklch(56.84% 0.222 277.2)
XYZxyz(24.9193, 16.6246, 88.2642)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5CF5 #F3F55C
analogous
#5CA6F5 #5E5CF5 #AA5CF5
triadic
#5E5CF5 #F55E5C #5CF55E
tetradic
#5E5CF5 #F55CA6 #F3F55C #5CF5AA
square
#5E5CF5 #F55CA6 #F3F55C #5CF5AA
split-complementary
#5E5CF5 #F5AA5C #A6F55C
monochromatic
#0F0CCA #2522F1 #5E5CF5 #9796F9 #D0CFFC

Accessibility & contrast

On white

4.86
#5E5CF5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#5E5CF5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5CF5
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5CF5#FFFFFF#000000##FFFFFF
##5E5CF51.004.864.334.86
#FFFFFF4.861.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FA
Deuteranopia (green-blind)
#006BF2
Tritanopia (blue-blind)
#0083A0
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5e5cf5;
/* rgb */ color: rgb(94, 92, 245);
/* oklch */ color: oklch(56.8% 0.222 277.2);
Tailwind
colors: {
  custom: {
    50: '#9b8bfa',
    500: '#5e5cf5',
    950: '#000000',
  },
}
SCSS
$custom: #5e5cf5;
$custom-light: #9b8bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5cf5",
  "rgb": {
    "r": 94,
    "g": 92,
    "b": 245
  },
  "hsl": {
    "h": 240.784,
    "s": 88.439,
    "l": 66.078
  },
  "oklch": {
    "l": 0.56841,
    "c": 0.22215,
    "h": 277.2
  },
  "luminance": 0.16627
}

Semantic roles & 50–950 ramp

primary
#5E5CF5
secondary
#EFF0BD
accent
#E500E2
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5E5CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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