#5E5AF1#5E5AF1

#5E5AF1 is a mid, highly saturated blue. Relative luminance 0.160; OKLCH L 56.2% C 0.219 H 277.8°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#5E5AF1
RGBrgb(94, 90, 241)
HSLhsl(242, 84%, 65%)
HSVhsv(242, 63%, 95%)
CMYKcmyk(61%, 62.7%, 0%, 5.5%)
CIE-LABlab(47.03, 44.99, -75.50)
CIE-LCHlch(47.03, 87.89, 300.79°)
OKLaboklab(56.19% 0.0299 -0.2174)
OKLCHoklch(56.19% 0.219 277.8)
XYZxyz(24.1443, 16.0410, 85.0259)
Luminance0.1604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5AF1 #EDF15A
analogous
#5AA2F1 #5E5AF1 #A95AF1
triadic
#5E5AF1 #F15E5A #5AF15E
tetradic
#5E5AF1 #F15AA2 #EDF15A #5AF1A9
square
#5E5AF1 #F15AA2 #EDF15A #5AF1A9
split-complementary
#5E5AF1 #F1A95A #A2F15A
monochromatic
#1510C0 #2722EC #5E5AF1 #9592F6 #CCCBFB

Accessibility & contrast

On white

4.99
#5E5AF1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#5E5AF1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5AF1
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5AF1#FFFFFF#000000##FFFFFF
##5E5AF11.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F6
Deuteranopia (green-blind)
#0069EE
Tritanopia (blue-blind)
#00809D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5e5af1;
/* rgb */ color: rgb(94, 90, 241);
/* oklch */ color: oklch(56.2% 0.219 277.8);
Tailwind
colors: {
  custom: {
    50: '#9a89f7',
    500: '#5e5af1',
    950: '#000000',
  },
}
SCSS
$custom: #5e5af1;
$custom-light: #9a89f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5af1",
  "rgb": {
    "r": 94,
    "g": 90,
    "b": 241
  },
  "hsl": {
    "h": 241.589,
    "s": 84.358,
    "l": 64.902
  },
  "oklch": {
    "l": 0.56192,
    "c": 0.21948,
    "h": 277.8
  },
  "luminance": 0.16043
}

Semantic roles & 50–950 ramp

primary
#5E5AF1
secondary
#ECEDBA
accent
#E105DB
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5E5AF1

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

Preview Lab → · Contrast checker → · Palette generator →

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