#5E5AF5#5E5AF5

#5E5AF5 is a mid, highly saturated blue. Relative luminance 0.163; OKLCH L 56.5% C 0.224 H 277.6°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#5E5AF5
RGBrgb(94, 90, 245)
HSLhsl(242, 89%, 66%)
HSVhsv(242, 63%, 96%)
CMYKcmyk(61.6%, 63.3%, 0%, 3.9%)
CIE-LABlab(47.34, 46.25, -77.23)
CIE-LCHlch(47.34, 90.02, 300.92°)
OKLaboklab(56.52% 0.0296 -0.2225)
OKLCHoklch(56.52% 0.224 277.6)
XYZxyz(24.7484, 16.2826, 88.2072)
Luminance0.1628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5AF5 #F1F55A
analogous
#5AA4F5 #5E5AF5 #AB5AF5
triadic
#5E5AF5 #F55E5A #5AF55E
tetradic
#5E5AF5 #F55AA4 #F1F55A #5AF5AB
square
#5E5AF5 #F55AA4 #F1F55A #5AF5AB
split-complementary
#5E5AF5 #F5AB5A #A4F55A
monochromatic
#110CC8 #2620F2 #5E5AF5 #9694F8 #CFCDFC

Accessibility & contrast

On white

4.93
#5E5AF5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#5E5AF5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5AF5
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5AF5#FFFFFF#000000##FFFFFF
##5E5AF51.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FA
Deuteranopia (green-blind)
#006AF2
Tritanopia (blue-blind)
#00819F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5e5af5;
/* rgb */ color: rgb(94, 90, 245);
/* oklch */ color: oklch(56.5% 0.224 277.6);
Tailwind
colors: {
  custom: {
    50: '#9b89fa',
    500: '#5e5af5',
    950: '#000000',
  },
}
SCSS
$custom: #5e5af5;
$custom-light: #9b89fa;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5af5",
  "rgb": {
    "r": 94,
    "g": 90,
    "b": 245
  },
  "hsl": {
    "h": 241.548,
    "s": 88.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.56519,
    "c": 0.22446,
    "h": 277.6
  },
  "luminance": 0.16285
}

Semantic roles & 50–950 ramp

primary
#5E5AF5
secondary
#EEEFBC
accent
#E500DF
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5E5AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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