#5C48CB#5C48CB

#5C48CB is a mid, vivid blue. Relative luminance 0.112; OKLCH L 50.1% C 0.194 H 283.9°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#5C48CB
RGBrgb(92, 72, 203)
HSLhsl(249, 56%, 54%)
HSVhsv(249, 65%, 80%)
CMYKcmyk(54.7%, 64.5%, 0%, 20.4%)
CIE-LABlab(39.95, 43.32, -65.41)
CIE-LCHlch(39.95, 78.46, 303.52°)
OKLaboklab(50.07% 0.0465 -0.1879)
OKLCHoklch(50.07% 0.194 283.9)
XYZxyz(17.5072, 11.2208, 57.7317)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C48CB #B7CB48
analogous
#4876CB #5C48CB #9E48CB
triadic
#5C48CB #CB5C48 #48CB5C
tetradic
#5C48CB #CB4876 #B7CB48 #48CB9E
square
#5C48CB #CB4876 #B7CB48 #48CB9E
split-complementary
#5C48CB #CB9E48 #76CB48
monochromatic
#2F2277 #422FA6 #5C48CB #8678D9 #B1A7E6

Accessibility & contrast

On white

6.47
#5C48CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#5C48CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C48CB
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C48CB#FFFFFF#000000##FFFFFF
##5C48CB1.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c48cb;
/* rgb */ color: rgb(92, 72, 203);
/* oklch */ color: oklch(50.1% 0.194 283.9);
Tailwind
colors: {
  custom: {
    50: '#947cdc',
    500: '#5c48cb',
    950: '#000000',
  },
}
SCSS
$custom: #5c48cb;
$custom-light: #947cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#5c48cb",
  "rgb": {
    "r": 92,
    "g": 72,
    "b": 203
  },
  "hsl": {
    "h": 249.16,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50069,
    "c": 0.19357,
    "h": 283.9
  },
  "luminance": 0.11222
}

Semantic roles & 50–950 ramp

primary
#5C48CB
secondary
#CBD39B
accent
#DF49C8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5C48CB

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

Preview Lab → · Contrast checker → · Palette generator →

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