#5D48DF#5D48DF

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

Color values

HEX#5D48DF
RGBrgb(93, 72, 223)
HSLhsl(248, 70%, 58%)
HSVhsv(248, 68%, 87%)
CMYKcmyk(58.3%, 67.7%, 0%, 12.5%)
CIE-LABlab(41.67, 49.54, -74.09)
CIE-LCHlch(41.67, 89.13, 303.77°)
OKLaboklab(51.84% 0.0452 -0.2133)
OKLCHoklch(51.84% 0.218 282)
XYZxyz(20.1467, 12.2882, 71.1080)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D48DF #CADF48
analogous
#487FDF #5D48DF #A848DF
triadic
#5D48DF #DF5D48 #48DF5D
tetradic
#5D48DF #DF487F #CADF48 #48DFA8
square
#5D48DF #DF487F #CADF48 #48DFA8
split-complementary
#5D48DF #DFA848 #7FDF48
monochromatic
#2B1A93 #3A23C7 #5D48DF #8B7CE8 #B9B0F1

Accessibility & contrast

On white

6.07
#5D48DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#5D48DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D48DF
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D48DF#FFFFFF#000000##FFFFFF
##5D48DF1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d48df;
/* rgb */ color: rgb(93, 72, 223);
/* oklch */ color: oklch(51.8% 0.218 282.0);
Tailwind
colors: {
  custom: {
    50: '#987dea',
    500: '#5d48df',
    950: '#000000',
  },
}
SCSS
$custom: #5d48df;
$custom-light: #987dea;
$custom-dark: #000000;
JSON
{
  "hex": "#5d48df",
  "rgb": {
    "r": 93,
    "g": 72,
    "b": 223
  },
  "hsl": {
    "h": 248.344,
    "s": 70.233,
    "l": 57.843
  },
  "oklch": {
    "l": 0.51838,
    "c": 0.21808,
    "h": 282
  },
  "luminance": 0.1229
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D48DF

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

Preview Lab → · Contrast checker → · Palette generator →

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