#5E48FB#5E48FB

#5E48FB is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 54.4% C 0.251 H 279.6°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#5E48FB
RGBrgb(94, 72, 251)
HSLhsl(247, 96%, 63%)
HSVhsv(247, 71%, 98%)
CMYKcmyk(62.5%, 71.3%, 0%, 1.6%)
CIE-LABlab(44.20, 58.03, -85.74)
CIE-LCHlch(44.20, 103.53, 304.09°)
OKLaboklab(54.41% 0.0417 -0.2474)
OKLCHoklch(54.41% 0.251 279.6)
XYZxyz(24.3405, 13.9775, 92.6633)
Luminance0.1398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E48FB #E5FB48
analogous
#488BFB #5E48FB #B748FB
triadic
#5E48FB #FB5E48 #48FB5E
tetradic
#5E48FB #FB488B #E5FB48 #48FBB7
square
#5E48FB #FB488B #E5FB48 #48FBB7
split-complementary
#5E48FB #FBB748 #8BFB48
monochromatic
#1C04C4 #290CFA #5E48FB #9384FC #C7C0FE

Accessibility & contrast

On white

5.53
#5E48FB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#5E48FB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E48FB
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E48FB#FFFFFF#000000##FFFFFF
##5E48FB1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FFF
Deuteranopia (green-blind)
#0061F8
Tritanopia (blue-blind)
#007A9D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5e48fb;
/* rgb */ color: rgb(94, 72, 251);
/* oklch */ color: oklch(54.4% 0.251 279.6);
Tailwind
colors: {
  custom: {
    50: '#9d7efe',
    500: '#5e48fb',
    950: '#000000',
  },
}
SCSS
$custom: #5e48fb;
$custom-light: #9d7efe;
$custom-dark: #000000;
JSON
{
  "hex": "#5e48fb",
  "rgb": {
    "r": 94,
    "g": 72,
    "b": 251
  },
  "hsl": {
    "h": 247.374,
    "s": 95.722,
    "l": 63.333
  },
  "oklch": {
    "l": 0.54412,
    "c": 0.2509,
    "h": 279.6
  },
  "luminance": 0.13979
}

Semantic roles & 50–950 ramp

primary
#5E48FB
secondary
#E7EFB0
accent
#E600C9
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A18
muted
#7F7C86

Preview Lab

Preview with #5E48FB

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

Preview Lab → · Contrast checker → · Palette generator →

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