#5E48D9#5E48D9

#5E48D9 is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.4% C 0.211 H 283.0°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#5E48D9
RGBrgb(94, 72, 217)
HSLhsl(249, 66%, 57%)
HSVhsv(249, 67%, 85%)
CMYKcmyk(56.7%, 66.8%, 0%, 14.9%)
CIE-LABlab(41.25, 47.89, -71.34)
CIE-LCHlch(41.25, 85.92, 303.87°)
OKLaboklab(51.4% 0.0474 -0.2052)
OKLCHoklch(51.4% 0.211 283)
XYZxyz(19.4540, 12.0229, 66.9277)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E48D9 #C3D948
analogous
#487BD9 #5E48D9 #A648D9
triadic
#5E48D9 #D95E48 #48D95E
tetradic
#5E48D9 #D9487B #C3D948 #48D9A6
square
#5E48D9 #D9487B #C3D948 #48D9A6
split-complementary
#5E48D9 #D9A648 #7BD948
monochromatic
#2D1D8A #3E27BD #5E48D9 #8B7BE4 #B7ADEE

Accessibility & contrast

On white

6.17
#5E48D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#5E48D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E48D9
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E48D9#FFFFFF#000000##FFFFFF
##5E48D91.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DD
Deuteranopia (green-blind)
#005CD6
Tritanopia (blue-blind)
#1C6D8B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5e48d9;
/* rgb */ color: rgb(94, 72, 217);
/* oklch */ color: oklch(51.4% 0.211 283.0);
Tailwind
colors: {
  custom: {
    50: '#977de6',
    500: '#5e48d9',
    950: '#000000',
  },
}
SCSS
$custom: #5e48d9;
$custom-light: #977de6;
$custom-dark: #000000;
JSON
{
  "hex": "#5e48d9",
  "rgb": {
    "r": 94,
    "g": 72,
    "b": 217
  },
  "hsl": {
    "h": 249.103,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.51404,
    "c": 0.21065,
    "h": 283
  },
  "luminance": 0.12024
}

Semantic roles & 50–950 ramp

primary
#5E48D9
secondary
#D3DCA1
accent
#E93FCF
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5E48D9

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

Preview Lab → · Contrast checker → · Palette generator →

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