#5E5DF1#5E5DF1

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

Color values

HEX#5E5DF1
RGBrgb(94, 93, 241)
HSLhsl(240, 84%, 65%)
HSVhsv(240, 61%, 95%)
CMYKcmyk(61%, 61.4%, 0%, 5.5%)
CIE-LABlab(47.70, 43.23, -74.41)
CIE-LCHlch(47.70, 86.06, 300.15°)
OKLaboklab(56.68% 0.0274 -0.2142)
OKLCHoklch(56.68% 0.216 277.3)
XYZxyz(24.4025, 16.5574, 85.1120)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5DF1 #F0F15D
analogous
#5DA6F1 #5E5DF1 #A85DF1
triadic
#5E5DF1 #F15E5D #5DF15E
tetradic
#5E5DF1 #F15DA6 #F0F15D #5DF1A8
square
#5E5DF1 #F15DA6 #F0F15D #5DF1A8
split-complementary
#5E5DF1 #F1A85D #A6F15D
monochromatic
#1211C3 #2625EC #5E5DF1 #9695F6 #CECEFB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E5DF1#FFFFFF#000000##FFFFFF
##5E5DF11.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)
#0078F6
Deuteranopia (green-blind)
#006BEE
Tritanopia (blue-blind)
#00829E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5e5df1;
/* rgb */ color: rgb(94, 93, 241);
/* oklch */ color: oklch(56.7% 0.216 277.3);
Tailwind
colors: {
  custom: {
    50: '#9a8bf7',
    500: '#5e5df1',
    950: '#000000',
  },
}
SCSS
$custom: #5e5df1;
$custom-light: #9a8bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5df1",
  "rgb": {
    "r": 94,
    "g": 93,
    "b": 241
  },
  "hsl": {
    "h": 240.405,
    "s": 84.091,
    "l": 65.49
  },
  "oklch": {
    "l": 0.56681,
    "c": 0.21597,
    "h": 277.3
  },
  "luminance": 0.16559
}

Semantic roles & 50–950 ramp

primary
#5E5DF1
secondary
#EDEEBC
accent
#E105DF
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5E5DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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