#5D48CB#5D48CB

#5D48CB is a mid, vivid blue. Relative luminance 0.113; OKLCH L 50.2% C 0.193 H 284.3°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#5D48CB
RGBrgb(93, 72, 203)
HSLhsl(250, 56%, 54%)
HSVhsv(250, 65%, 80%)
CMYKcmyk(54.2%, 64.5%, 0%, 20.4%)
CIE-LABlab(40.04, 43.50, -65.27)
CIE-LCHlch(40.04, 78.43, 303.68°)
OKLaboklab(50.15% 0.0478 -0.1875)
OKLCHoklch(50.15% 0.193 284.3)
XYZxyz(17.6078, 11.2727, 57.7364)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D48CB #B6CB48
analogous
#4875CB #5D48CB #9F48CB
triadic
#5D48CB #CB5D48 #48CB5D
tetradic
#5D48CB #CB4875 #B6CB48 #48CB9F
square
#5D48CB #CB4875 #B6CB48 #48CB9F
split-complementary
#5D48CB #CB9F48 #75CB48
monochromatic
#2F2277 #422FA6 #5D48CB #8778D9 #B1A7E6

Accessibility & contrast

On white

6.45
#5D48CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#5D48CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D48CB
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D48CB#FFFFFF#000000##FFFFFF
##5D48CB1.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CF
Deuteranopia (green-blind)
#005AC8
Tritanopia (blue-blind)
#2C6983
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5d48cb;
/* rgb */ color: rgb(93, 72, 203);
/* oklch */ color: oklch(50.2% 0.193 284.3);
Tailwind
colors: {
  custom: {
    50: '#957cdc',
    500: '#5d48cb',
    950: '#000000',
  },
}
SCSS
$custom: #5d48cb;
$custom-light: #957cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d48cb",
  "rgb": {
    "r": 93,
    "g": 72,
    "b": 203
  },
  "hsl": {
    "h": 249.618,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50152,
    "c": 0.19346,
    "h": 284.3
  },
  "luminance": 0.11274
}

Semantic roles & 50–950 ramp

primary
#5D48CB
secondary
#CAD39B
accent
#DF49C7
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5D48CB

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

Preview Lab → · Contrast checker → · Palette generator →

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