#5D48FA#5D48FA

#5D48FA is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 54.2% C 0.250 H 279.4°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#5D48FA
RGBrgb(93, 72, 250)
HSLhsl(247, 95%, 63%)
HSVhsv(247, 71%, 98%)
CMYKcmyk(62.8%, 71.2%, 0%, 2%)
CIE-LABlab(44.03, 57.62, -85.45)
CIE-LCHlch(44.03, 103.06, 303.99°)
OKLaboklab(54.25% 0.0406 -0.2466)
OKLCHoklch(54.25% 0.25 279.4)
XYZxyz(24.0814, 13.8621, 91.8306)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D48FA #E5FA48
analogous
#488CFA #5D48FA #B648FA
triadic
#5D48FA #FA5D48 #48FA5D
tetradic
#5D48FA #FA488C #E5FA48 #48FAB6
square
#5D48FA #FA488C #E5FA48 #48FAB6
split-complementary
#5D48FA #FAB648 #8CFA48
monochromatic
#1C05C2 #280CF8 #5D48FA #9284FC #C6BFFD

Accessibility & contrast

On white

5.57
#5D48FA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#5D48FA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D48FA
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D48FA#FFFFFF#000000##FFFFFF
##5D48FA1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FFF
Deuteranopia (green-blind)
#0061F7
Tritanopia (blue-blind)
#00799D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5d48fa;
/* rgb */ color: rgb(93, 72, 250);
/* oklch */ color: oklch(54.2% 0.250 279.4);
Tailwind
colors: {
  custom: {
    50: '#9c7efd',
    500: '#5d48fa',
    950: '#000000',
  },
}
SCSS
$custom: #5d48fa;
$custom-light: #9c7efd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d48fa",
  "rgb": {
    "r": 93,
    "g": 72,
    "b": 250
  },
  "hsl": {
    "h": 247.079,
    "s": 94.681,
    "l": 63.137
  },
  "oklch": {
    "l": 0.54248,
    "c": 0.24993,
    "h": 279.4
  },
  "luminance": 0.13864
}

Semantic roles & 50–950 ramp

primary
#5D48FA
secondary
#E7EFAF
accent
#E600CA
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A18
muted
#7F7C86

Preview Lab

Preview with #5D48FA

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

Preview Lab → · Contrast checker → · Palette generator →

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