#5C48CA#5C48CA

#5C48CA is a mid, vivid blue. Relative luminance 0.112; OKLCH L 50.0% C 0.192 H 284.0°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#5C48CA
RGBrgb(92, 72, 202)
HSLhsl(249, 55%, 54%)
HSVhsv(249, 64%, 79%)
CMYKcmyk(54.5%, 64.4%, 0%, 20.8%)
CIE-LABlab(39.87, 43.02, -64.96)
CIE-LCHlch(39.87, 77.91, 303.51°)
OKLaboklab(49.99% 0.0466 -0.1866)
OKLCHoklch(49.99% 0.192 284)
XYZxyz(17.3884, 11.1733, 57.1061)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C48CA #B6CA48
analogous
#4875CA #5C48CA #9D48CA
triadic
#5C48CA #CA5C48 #48CA5C
tetradic
#5C48CA #CA4875 #B6CA48 #48CA9D
square
#5C48CA #CA4875 #B6CA48 #48CA9D
split-complementary
#5C48CA #CA9D48 #75CA48
monochromatic
#2F2276 #4230A5 #5C48CA #8677D8 #B1A7E5

Accessibility & contrast

On white

6.49
#5C48CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#5C48CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C48CA
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C48CA#FFFFFF#000000##FFFFFF
##5C48CA1.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#005AC7
Tritanopia (blue-blind)
#2B6882
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5c48ca;
/* rgb */ color: rgb(92, 72, 202);
/* oklch */ color: oklch(50.0% 0.192 284.0);
Tailwind
colors: {
  custom: {
    50: '#947cdb',
    500: '#5c48ca',
    950: '#000000',
  },
}
SCSS
$custom: #5c48ca;
$custom-light: #947cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5c48ca",
  "rgb": {
    "r": 92,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 249.231,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.49987,
    "c": 0.19232,
    "h": 284
  },
  "luminance": 0.11174
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C48CA

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

Preview Lab → · Contrast checker → · Palette generator →

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