#5D48FB#5D48FB

#5D48FB is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 54.3% C 0.251 H 279.3°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#5D48FB
RGBrgb(93, 72, 251)
HSLhsl(247, 96%, 63%)
HSVhsv(247, 71%, 98%)
CMYKcmyk(62.9%, 71.3%, 0%, 1.6%)
CIE-LABlab(44.13, 57.91, -85.86)
CIE-LCHlch(44.13, 103.57, 304.00°)
OKLaboklab(54.34% 0.0404 -0.2478)
OKLCHoklch(54.34% 0.251 279.3)
XYZxyz(24.2386, 13.9250, 92.6586)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D48FB #E6FB48
analogous
#488CFB #5D48FB #B648FB
triadic
#5D48FB #FB5D48 #48FB5D
tetradic
#5D48FB #FB488C #E6FB48 #48FBB6
square
#5D48FB #FB488C #E6FB48 #48FBB6
split-complementary
#5D48FB #FBB648 #8CFB48
monochromatic
#1B04C4 #280CFA #5D48FB #9284FC #C7C0FE

Accessibility & contrast

On white

5.55
#5D48FB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#5D48FB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D48FB
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D48FB#FFFFFF#000000##FFFFFF
##5D48FB1.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FFF
Deuteranopia (green-blind)
#0061F8
Tritanopia (blue-blind)
#007A9D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5d48fb;
/* rgb */ color: rgb(93, 72, 251);
/* oklch */ color: oklch(54.3% 0.251 279.3);
Tailwind
colors: {
  custom: {
    50: '#9d7efe',
    500: '#5d48fb',
    950: '#000000',
  },
}
SCSS
$custom: #5d48fb;
$custom-light: #9d7efe;
$custom-dark: #000000;
JSON
{
  "hex": "#5d48fb",
  "rgb": {
    "r": 93,
    "g": 72,
    "b": 251
  },
  "hsl": {
    "h": 247.039,
    "s": 95.722,
    "l": 63.333
  },
  "oklch": {
    "l": 0.5434,
    "c": 0.25108,
    "h": 279.3
  },
  "luminance": 0.13927
}

Semantic roles & 50–950 ramp

primary
#5D48FB
secondary
#E8EFB0
accent
#E600CB
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A18
muted
#7F7C86

Preview Lab

Preview with #5D48FB

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

Preview Lab → · Contrast checker → · Palette generator →

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