#5E48EF#5E48EF

#5E48EF is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 53.3% C 0.237 H 280.7°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#5E48EF
RGBrgb(94, 72, 239)
HSLhsl(248, 84%, 61%)
HSVhsv(248, 70%, 94%)
CMYKcmyk(60.7%, 69.9%, 0%, 6.3%)
CIE-LABlab(43.13, 54.47, -80.76)
CIE-LCHlch(43.13, 97.42, 304.00°)
OKLaboklab(53.33% 0.0439 -0.2329)
OKLCHoklch(53.33% 0.237 280.7)
XYZxyz(22.5085, 13.2448, 83.0150)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E48EF #D9EF48
analogous
#4885EF #5E48EF #B148EF
triadic
#5E48EF #EF5E48 #48EF5E
tetradic
#5E48EF #EF4885 #D9EF48 #48EFB1
square
#5E48EF #EF4885 #D9EF48 #48EFB1
split-complementary
#5E48EF #EFB148 #85EF48
monochromatic
#240FAD #3014E6 #5E48EF #9080F4 #C1B9F9

Accessibility & contrast

On white

5.75
#5E48EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#5E48EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E48EF
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E48EF#FFFFFF#000000##FFFFFF
##5E48EF1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CF4
Deuteranopia (green-blind)
#0060EC
Tritanopia (blue-blind)
#007597
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5e48ef;
/* rgb */ color: rgb(94, 72, 239);
/* oklch */ color: oklch(53.3% 0.237 280.7);
Tailwind
colors: {
  custom: {
    50: '#9b7df6',
    500: '#5e48ef',
    950: '#000000',
  },
}
SCSS
$custom: #5e48ef;
$custom-light: #9b7df6;
$custom-dark: #000000;
JSON
{
  "hex": "#5e48ef",
  "rgb": {
    "r": 94,
    "g": 72,
    "b": 239
  },
  "hsl": {
    "h": 247.904,
    "s": 83.92,
    "l": 60.98
  },
  "oklch": {
    "l": 0.53325,
    "c": 0.23697,
    "h": 280.7
  },
  "luminance": 0.13246
}

Semantic roles & 50–950 ramp

primary
#5E48EF
secondary
#E1E9AA
accent
#E005C3
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #5E48EF

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

Preview Lab → · Contrast checker → · Palette generator →

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