#5E5AF7#5E5AF7

#5E5AF7 is a mid, highly saturated blue. Relative luminance 0.164; OKLCH L 56.7% C 0.227 H 277.4°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#5E5AF7
RGBrgb(94, 90, 247)
HSLhsl(242, 91%, 66%)
HSVhsv(242, 64%, 97%)
CMYKcmyk(61.9%, 63.6%, 0%, 3.1%)
CIE-LABlab(47.50, 46.88, -78.09)
CIE-LCHlch(47.50, 91.08, 300.98°)
OKLaboklab(56.68% 0.0294 -0.225)
OKLCHoklch(56.68% 0.227 277.4)
XYZxyz(25.0553, 16.4054, 89.8239)
Luminance0.1641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5AF7 #F3F75A
analogous
#5AA4F7 #5E5AF7 #AC5AF7
triadic
#5E5AF7 #F75E5A #5AF75E
tetradic
#5E5AF7 #F75AA4 #F3F75A #5AF7AC
square
#5E5AF7 #F75AA4 #F3F75A #5AF7AC
split-complementary
#5E5AF7 #F7AC5A #A4F75A
monochromatic
#0F0ACD #2520F4 #5E5AF7 #9794FA #D0CFFD

Accessibility & contrast

On white

4.90
#5E5AF7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5E5AF7
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5AF7#FFFFFF#000000##FFFFFF
##5E5AF71.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FC
Deuteranopia (green-blind)
#006AF4
Tritanopia (blue-blind)
#0082A0
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5e5af7;
/* rgb */ color: rgb(94, 90, 247);
/* oklch */ color: oklch(56.7% 0.227 277.4);
Tailwind
colors: {
  custom: {
    50: '#9b89fb',
    500: '#5e5af7',
    950: '#000000',
  },
}
SCSS
$custom: #5e5af7;
$custom-light: #9b89fb;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5af7",
  "rgb": {
    "r": 94,
    "g": 90,
    "b": 247
  },
  "hsl": {
    "h": 241.529,
    "s": 90.751,
    "l": 66.078
  },
  "oklch": {
    "l": 0.56684,
    "c": 0.22694,
    "h": 277.4
  },
  "luminance": 0.16407
}

Semantic roles & 50–950 ramp

primary
#5E5AF7
secondary
#EFF0BD
accent
#E600E0
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #5E5AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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