#5E48E1#5E48E1

#5E48E1 is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 52.1% C 0.220 H 282.1°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#5E48E1
RGBrgb(94, 72, 225)
HSLhsl(249, 72%, 58%)
HSVhsv(249, 68%, 88%)
CMYKcmyk(58.2%, 68%, 0%, 11.8%)
CIE-LABlab(41.92, 50.29, -74.81)
CIE-LCHlch(41.92, 90.14, 303.91°)
OKLaboklab(52.09% 0.0462 -0.2154)
OKLCHoklch(52.09% 0.22 282.1)
XYZxyz(20.5198, 12.4493, 72.5412)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E48E1 #CBE148
analogous
#487FE1 #5E48E1 #AA48E1
triadic
#5E48E1 #E15E48 #48E15E
tetradic
#5E48E1 #E1487F #CBE148 #48E1AA
square
#5E48E1 #E1487F #CBE148 #48E1AA
split-complementary
#5E48E1 #E1AA48 #7FE148
monochromatic
#2B1996 #3A21CB #5E48E1 #8C7DEA #BBB1F2

Accessibility & contrast

On white

6.02
#5E48E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#5E48E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E48E1
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E48E1#FFFFFF#000000##FFFFFF
##5E48E11.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E6
Deuteranopia (green-blind)
#005DDE
Tritanopia (blue-blind)
#03708F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5e48e1;
/* rgb */ color: rgb(94, 72, 225);
/* oklch */ color: oklch(52.1% 0.220 282.1);
Tailwind
colors: {
  custom: {
    50: '#997dec',
    500: '#5e48e1',
    950: '#000000',
  },
}
SCSS
$custom: #5e48e1;
$custom-light: #997dec;
$custom-dark: #000000;
JSON
{
  "hex": "#5e48e1",
  "rgb": {
    "r": 94,
    "g": 72,
    "b": 225
  },
  "hsl": {
    "h": 248.627,
    "s": 71.831,
    "l": 58.235
  },
  "oklch": {
    "l": 0.52091,
    "c": 0.22035,
    "h": 282.1
  },
  "luminance": 0.12451
}

Semantic roles & 50–950 ramp

primary
#5E48E1
secondary
#D8E1A4
accent
#EF39D4
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5E48E1

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

Preview Lab → · Contrast checker → · Palette generator →

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