#5E5CF1#5E5CF1

#5E5CF1 is a mid, highly saturated blue. Relative luminance 0.164; OKLCH L 56.5% C 0.217 H 277.5°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5E5CF1
RGBrgb(94, 92, 241)
HSLhsl(241, 84%, 65%)
HSVhsv(241, 62%, 95%)
CMYKcmyk(61%, 61.8%, 0%, 5.5%)
CIE-LABlab(47.47, 43.82, -74.78)
CIE-LCHlch(47.47, 86.67, 300.37°)
OKLaboklab(56.52% 0.0283 -0.2153)
OKLCHoklch(56.52% 0.217 277.5)
XYZxyz(24.3153, 16.3830, 85.0829)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5CF1 #EFF15C
analogous
#5CA5F1 #5E5CF1 #A85CF1
triadic
#5E5CF1 #F15E5C #5CF15E
tetradic
#5E5CF1 #F15CA5 #EFF15C #5CF1A8
square
#5E5CF1 #F15CA5 #EFF15C #5CF1A8
split-complementary
#5E5CF1 #F1A85C #A5F15C
monochromatic
#1311C2 #2624EC #5E5CF1 #9694F6 #CDCDFB

Accessibility & contrast

On white

4.91
#5E5CF1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#5E5CF1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5CF1
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5CF1#FFFFFF#000000##FFFFFF
##5E5CF11.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F6
Deuteranopia (green-blind)
#006AEE
Tritanopia (blue-blind)
#00819E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5e5cf1;
/* rgb */ color: rgb(94, 92, 241);
/* oklch */ color: oklch(56.5% 0.217 277.5);
Tailwind
colors: {
  custom: {
    50: '#9a8af7',
    500: '#5e5cf1',
    950: '#000000',
  },
}
SCSS
$custom: #5e5cf1;
$custom-light: #9a8af7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5cf1",
  "rgb": {
    "r": 94,
    "g": 92,
    "b": 241
  },
  "hsl": {
    "h": 240.805,
    "s": 84.181,
    "l": 65.294
  },
  "oklch": {
    "l": 0.56517,
    "c": 0.21715,
    "h": 277.5
  },
  "luminance": 0.16385
}

Semantic roles & 50–950 ramp

primary
#5E5CF1
secondary
#EDEEBB
accent
#E105DE
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5E5CF1

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

Preview Lab → · Contrast checker → · Palette generator →

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