#5D48D4#5D48D4

#5D48D4 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 50.9% C 0.205 H 283.2°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#5D48D4
RGBrgb(93, 72, 212)
HSLhsl(249, 62%, 56%)
HSVhsv(249, 66%, 83%)
CMYKcmyk(56.1%, 66%, 0%, 16.9%)
CIE-LABlab(40.76, 46.22, -69.28)
CIE-LCHlch(40.76, 83.28, 303.71°)
OKLaboklab(50.9% 0.0468 -0.1992)
OKLCHoklch(50.9% 0.205 283.2)
XYZxyz(18.7116, 11.7142, 63.5497)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D48D4 #BFD448
analogous
#4879D4 #5D48D4 #A348D4
triadic
#5D48D4 #D45D48 #48D45D
tetradic
#5D48D4 #D44879 #BFD448 #48D4A3
square
#5D48D4 #D44879 #BFD448 #48D4A3
split-complementary
#5D48D4 #D4A348 #79D448
monochromatic
#2E1F83 #3F2AB4 #5D48D4 #897AE0 #B5ABEB

Accessibility & contrast

On white

6.28
#5D48D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#5D48D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D48D4
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D48D4#FFFFFF#000000##FFFFFF
##5D48D41.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D8
Deuteranopia (green-blind)
#005BD1
Tritanopia (blue-blind)
#206C88
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5d48d4;
/* rgb */ color: rgb(93, 72, 212);
/* oklch */ color: oklch(50.9% 0.205 283.2);
Tailwind
colors: {
  custom: {
    50: '#967ce2',
    500: '#5d48d4',
    950: '#000000',
  },
}
SCSS
$custom: #5d48d4;
$custom-light: #967ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d48d4",
  "rgb": {
    "r": 93,
    "g": 72,
    "b": 212
  },
  "hsl": {
    "h": 249,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.50899,
    "c": 0.20466,
    "h": 283.2
  },
  "luminance": 0.11715
}

Semantic roles & 50–950 ramp

primary
#5D48D4
secondary
#D0D99F
accent
#E543CD
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A15
muted
#7E7C84

Preview Lab

Preview with #5D48D4

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

Preview Lab → · Contrast checker → · Palette generator →

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