#5C48E4#5C48E4

#5C48E4 is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 52.2% C 0.224 H 281.1°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#5C48E4
RGBrgb(92, 72, 228)
HSLhsl(248, 74%, 59%)
HSVhsv(248, 68%, 89%)
CMYKcmyk(59.6%, 68.4%, 0%, 10.6%)
CIE-LABlab(42.02, 50.90, -76.37)
CIE-LCHlch(42.02, 91.78, 303.68°)
OKLaboklab(52.2% 0.0432 -0.2201)
OKLCHoklch(52.2% 0.224 281.1)
XYZxyz(20.7302, 12.5100, 74.7060)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C48E4 #D0E448
analogous
#4882E4 #5C48E4 #AA48E4
triadic
#5C48E4 #E45C48 #48E45C
tetradic
#5C48E4 #E44882 #D0E448 #48E4AA
square
#5C48E4 #E44882 #D0E448 #48E4AA
split-complementary
#5C48E4 #E4AA48 #82E448
monochromatic
#28179B #351FD0 #5C48E4 #8C7DEC #BBB3F4

Accessibility & contrast

On white

6.00
#5C48E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#5C48E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C48E4
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C48E4#FFFFFF#000000##FFFFFF
##5C48E41.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E9
Deuteranopia (green-blind)
#005DE1
Tritanopia (blue-blind)
#007191
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5c48e4;
/* rgb */ color: rgb(92, 72, 228);
/* oklch */ color: oklch(52.2% 0.224 281.1);
Tailwind
colors: {
  custom: {
    50: '#987dee',
    500: '#5c48e4',
    950: '#000000',
  },
}
SCSS
$custom: #5c48e4;
$custom-light: #987dee;
$custom-dark: #000000;
JSON
{
  "hex": "#5c48e4",
  "rgb": {
    "r": 92,
    "g": 72,
    "b": 228
  },
  "hsl": {
    "h": 247.692,
    "s": 74.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.52196,
    "c": 0.22426,
    "h": 281.1
  },
  "luminance": 0.12511
}

Semantic roles & 50–950 ramp

primary
#5C48E4
secondary
#DBE3A5
accent
#F137D9
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5C48E4

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

Preview Lab → · Contrast checker → · Palette generator →

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