#5C48CD#5C48CD

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

Color values

HEX#5C48CD
RGBrgb(92, 72, 205)
HSLhsl(249, 57%, 54%)
HSVhsv(249, 65%, 80%)
CMYKcmyk(55.1%, 64.9%, 0%, 19.6%)
CIE-LABlab(40.11, 43.93, -66.31)
CIE-LCHlch(40.11, 79.54, 303.53°)
OKLaboklab(50.23% 0.0463 -0.1905)
OKLCHoklch(50.23% 0.196 283.6)
XYZxyz(17.7471, 11.3168, 58.9950)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C48CD #B9CD48
analogous
#4876CD #5C48CD #9F48CD
triadic
#5C48CD #CD5C48 #48CD5C
tetradic
#5C48CD #CD4876 #B9CD48 #48CD9F
square
#5C48CD #CD4876 #B9CD48 #48CD9F
split-complementary
#5C48CD #CD9F48 #76CD48
monochromatic
#2E2179 #412EA9 #5C48CD #8778DA #B2A8E7

Accessibility & contrast

On white

6.43
#5C48CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#5C48CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C48CD
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C48CD#FFFFFF#000000##FFFFFF
##5C48CD1.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#005ACA
Tritanopia (blue-blind)
#276984
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5c48cd;
/* rgb */ color: rgb(92, 72, 205);
/* oklch */ color: oklch(50.2% 0.196 283.6);
Tailwind
colors: {
  custom: {
    50: '#947cdd',
    500: '#5c48cd',
    950: '#000000',
  },
}
SCSS
$custom: #5c48cd;
$custom-light: #947cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5c48cd",
  "rgb": {
    "r": 92,
    "g": 72,
    "b": 205
  },
  "hsl": {
    "h": 249.023,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.50234,
    "c": 0.19608,
    "h": 283.6
  },
  "luminance": 0.11318
}

Semantic roles & 50–950 ramp

primary
#5C48CD
secondary
#CCD59C
accent
#E047C9
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5C48CD

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

Preview Lab → · Contrast checker → · Palette generator →

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