#5E48FE#5E48FE

#5E48FE is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 54.7% C 0.254 H 279.3°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#5E48FE
RGBrgb(94, 72, 254)
HSLhsl(247, 99%, 64%)
HSVhsv(247, 72%, 100%)
CMYKcmyk(63%, 71.7%, 0%, 0.4%)
CIE-LABlab(44.47, 58.92, -86.96)
CIE-LCHlch(44.47, 105.04, 304.12°)
OKLaboklab(54.69% 0.0411 -0.251)
OKLCHoklch(54.69% 0.254 279.3)
XYZxyz(24.8171, 14.1682, 95.1737)
Luminance0.1417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E48FE #E8FE48
analogous
#488DFE #5E48FE #B948FE
triadic
#5E48FE #FE5E48 #48FE5E
tetradic
#5E48FE #FE488D #E8FE48 #48FEB9
square
#5E48FE #FE488D #E8FE48 #48FEB9
split-complementary
#5E48FE #FEB948 #8DFE48
monochromatic
#1901CA #280BFE #5E48FE #9485FE #C9C2FF

Accessibility & contrast

On white

5.48
#5E48FE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#5E48FE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E48FE
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E48FE#FFFFFF#000000##FFFFFF
##5E48FE1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070FF
Deuteranopia (green-blind)
#0062FB
Tritanopia (blue-blind)
#007B9F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5e48fe;
/* rgb */ color: rgb(94, 72, 254);
/* oklch */ color: oklch(54.7% 0.254 279.3);
Tailwind
colors: {
  custom: {
    50: '#9e7eff',
    500: '#5e48fe',
    950: '#000000',
  },
}
SCSS
$custom: #5e48fe;
$custom-light: #9e7eff;
$custom-dark: #000000;
JSON
{
  "hex": "#5e48fe",
  "rgb": {
    "r": 94,
    "g": 72,
    "b": 254
  },
  "hsl": {
    "h": 247.253,
    "s": 98.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.54688,
    "c": 0.25434,
    "h": 279.3
  },
  "luminance": 0.1417
}

Semantic roles & 50–950 ramp

primary
#5E48FE
secondary
#E9F1B1
accent
#E600CA
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A18
muted
#7F7C86

Preview Lab

Preview with #5E48FE

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

Preview Lab → · Contrast checker → · Palette generator →

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