#5E5AF4#5E5AF4

#5E5AF4 is a mid, highly saturated blue. Relative luminance 0.162; OKLCH L 56.4% C 0.223 H 277.6°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5E5AF4
RGBrgb(94, 90, 244)
HSLhsl(242, 88%, 65%)
HSVhsv(242, 63%, 96%)
CMYKcmyk(61.5%, 63.1%, 0%, 4.3%)
CIE-LABlab(47.26, 45.93, -76.80)
CIE-LCHlch(47.26, 89.49, 300.88°)
OKLaboklab(56.44% 0.0297 -0.2212)
OKLCHoklch(56.44% 0.223 277.6)
XYZxyz(24.5961, 16.2217, 87.4054)
Luminance0.1622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5AF4 #F0F45A
analogous
#5AA3F4 #5E5AF4 #AB5AF4
triadic
#5E5AF4 #F45E5A #5AF45E
tetradic
#5E5AF4 #F45AA3 #F0F45A #5AF4AB
square
#5E5AF4 #F45AA3 #F0F45A #5AF4AB
split-complementary
#5E5AF4 #F4AB5A #A3F45A
monochromatic
#120DC6 #2621F0 #5E5AF4 #9693F8 #CECDFC

Accessibility & contrast

On white

4.95
#5E5AF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#5E5AF4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5AF4
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5AF4#FFFFFF#000000##FFFFFF
##5E5AF41.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e5af4;
/* rgb */ color: rgb(94, 90, 244);
/* oklch */ color: oklch(56.4% 0.223 277.6);
Tailwind
colors: {
  custom: {
    50: '#9b89f9',
    500: '#5e5af4',
    950: '#000000',
  },
}
SCSS
$custom: #5e5af4;
$custom-light: #9b89f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5af4",
  "rgb": {
    "r": 94,
    "g": 90,
    "b": 244
  },
  "hsl": {
    "h": 241.558,
    "s": 87.5,
    "l": 65.49
  },
  "oklch": {
    "l": 0.56437,
    "c": 0.22322,
    "h": 277.6
  },
  "luminance": 0.16224
}

Semantic roles & 50–950 ramp

primary
#5E5AF4
secondary
#EDEFBB
accent
#E401DE
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5E5AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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