#5E48DF#5E48DF

#5E48DF is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.9% C 0.218 H 282.3°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#5E48DF
RGBrgb(94, 72, 223)
HSLhsl(249, 70%, 58%)
HSVhsv(249, 68%, 87%)
CMYKcmyk(57.8%, 67.7%, 0%, 12.5%)
CIE-LABlab(41.75, 49.69, -73.95)
CIE-LCHlch(41.75, 89.09, 303.90°)
OKLaboklab(51.92% 0.0465 -0.2129)
OKLCHoklch(51.92% 0.218 282.3)
XYZxyz(20.2486, 12.3408, 71.1127)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E48DF #C9DF48
analogous
#487DDF #5E48DF #AA48DF
triadic
#5E48DF #DF5E48 #48DF5E
tetradic
#5E48DF #DF487D #C9DF48 #48DFAA
square
#5E48DF #DF487D #C9DF48 #48DFAA
split-complementary
#5E48DF #DFAA48 #7DDF48
monochromatic
#2B1A93 #3B23C7 #5E48DF #8C7CE8 #BAB0F1

Accessibility & contrast

On white

6.05
#5E48DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#5E48DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E48DF
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E48DF#FFFFFF#000000##FFFFFF
##5E48DF1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E4
Deuteranopia (green-blind)
#005DDC
Tritanopia (blue-blind)
#0C6F8E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5e48df;
/* rgb */ color: rgb(94, 72, 223);
/* oklch */ color: oklch(51.9% 0.218 282.3);
Tailwind
colors: {
  custom: {
    50: '#987dea',
    500: '#5e48df',
    950: '#000000',
  },
}
SCSS
$custom: #5e48df;
$custom-light: #987dea;
$custom-dark: #000000;
JSON
{
  "hex": "#5e48df",
  "rgb": {
    "r": 94,
    "g": 72,
    "b": 223
  },
  "hsl": {
    "h": 248.742,
    "s": 70.233,
    "l": 57.843
  },
  "oklch": {
    "l": 0.51918,
    "c": 0.21794,
    "h": 282.3
  },
  "luminance": 0.12342
}

Semantic roles & 50–950 ramp

primary
#5E48DF
secondary
#D7E0A3
accent
#ED3BD3
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5E48DF

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

Preview Lab → · Contrast checker → · Palette generator →

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