#5E48E9#5E48E9

#5E48E9 is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.8% C 0.230 H 281.3°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#5E48E9
RGBrgb(94, 72, 233)
HSLhsl(248, 79%, 60%)
HSVhsv(248, 69%, 91%)
CMYKcmyk(59.7%, 69.1%, 0%, 8.6%)
CIE-LABlab(42.61, 52.68, -78.23)
CIE-LCHlch(42.61, 94.32, 303.96°)
OKLaboklab(52.79% 0.0449 -0.2255)
OKLCHoklch(52.79% 0.23 281.3)
XYZxyz(21.6368, 12.8961, 78.4240)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E48E9 #D3E948
analogous
#4882E9 #5E48E9 #AF48E9
triadic
#5E48E9 #E95E48 #48E95E
tetradic
#5E48E9 #E94882 #D3E948 #48E9AF
square
#5E48E9 #E94882 #D3E948 #48E9AF
split-complementary
#5E48E9 #E9AF48 #82E948
monochromatic
#2714A3 #341ADA #5E48E9 #8E7FF0 #BEB5F6

Accessibility & contrast

On white

5.87
#5E48E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#5E48E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E48E9
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E48E9#FFFFFF#000000##FFFFFF
##5E48E91.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEE
Deuteranopia (green-blind)
#005FE6
Tritanopia (blue-blind)
#007393
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5e48e9;
/* rgb */ color: rgb(94, 72, 233);
/* oklch */ color: oklch(52.8% 0.230 281.3);
Tailwind
colors: {
  custom: {
    50: '#9a7df1',
    500: '#5e48e9',
    950: '#000000',
  },
}
SCSS
$custom: #5e48e9;
$custom-light: #9a7df1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e48e9",
  "rgb": {
    "r": 94,
    "g": 72,
    "b": 233
  },
  "hsl": {
    "h": 248.199,
    "s": 78.537,
    "l": 59.804
  },
  "oklch": {
    "l": 0.52791,
    "c": 0.2299,
    "h": 281.3
  },
  "luminance": 0.12898
}

Semantic roles & 50–950 ramp

primary
#5E48E9
secondary
#DDE6A7
accent
#F533DA
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5E48E9

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

Preview Lab → · Contrast checker → · Palette generator →

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