#5D48D8#5D48D8

#5D48D8 is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 51.2% C 0.210 H 282.7°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#5D48D8
RGBrgb(93, 72, 216)
HSLhsl(249, 65%, 56%)
HSVhsv(249, 67%, 85%)
CMYKcmyk(56.9%, 66.7%, 0%, 15.3%)
CIE-LABlab(41.09, 47.43, -71.04)
CIE-LCHlch(41.09, 85.42, 303.73°)
OKLaboklab(51.24% 0.0462 -0.2044)
OKLCHoklch(51.24% 0.21 282.7)
XYZxyz(19.2224, 11.9185, 66.2400)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D48D8 #C3D848
analogous
#487BD8 #5D48D8 #A548D8
triadic
#5D48D8 #D85D48 #48D85D
tetradic
#5D48D8 #D8487B #C3D848 #48D8A5
square
#5D48D8 #D8487B #C3D848 #48D8A5
split-complementary
#5D48D8 #D8A548 #7BD848
monochromatic
#2D1D89 #3D28BB #5D48D8 #8A7AE3 #B6ADEE

Accessibility & contrast

On white

6.21
#5D48D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#5D48D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D48D8
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D48D8#FFFFFF#000000##FFFFFF
##5D48D81.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DC
Deuteranopia (green-blind)
#005CD5
Tritanopia (blue-blind)
#196D8A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5d48d8;
/* rgb */ color: rgb(93, 72, 216);
/* oklch */ color: oklch(51.2% 0.210 282.7);
Tailwind
colors: {
  custom: {
    50: '#977de5',
    500: '#5d48d8',
    950: '#000000',
  },
}
SCSS
$custom: #5d48d8;
$custom-light: #977de5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d48d8",
  "rgb": {
    "r": 93,
    "g": 72,
    "b": 216
  },
  "hsl": {
    "h": 248.75,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51238,
    "c": 0.20957,
    "h": 282.7
  },
  "luminance": 0.1192
}

Semantic roles & 50–950 ramp

primary
#5D48D8
secondary
#D3DBA0
accent
#E840CF
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5D48D8

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

Preview Lab → · Contrast checker → · Palette generator →

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