#5C48E5#5C48E5

#5C48E5 is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.3% C 0.225 H 281.0°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#5C48E5
RGBrgb(92, 72, 229)
HSLhsl(248, 75%, 59%)
HSVhsv(248, 69%, 90%)
CMYKcmyk(59.8%, 68.6%, 0%, 10.2%)
CIE-LABlab(42.10, 51.21, -76.80)
CIE-LCHlch(42.10, 92.30, 303.69°)
OKLaboklab(52.28% 0.043 -0.2213)
OKLCHoklch(52.28% 0.225 281)
XYZxyz(20.8694, 12.5657, 75.4392)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C48E5 #D1E548
analogous
#4883E5 #5C48E5 #AB48E5
triadic
#5C48E5 #E55C48 #48E55C
tetradic
#5C48E5 #E54883 #D1E548 #48E5AB
square
#5C48E5 #E54883 #D1E548 #48E5AB
split-complementary
#5C48E5 #E5AB48 #83E548
monochromatic
#27169C #351ED2 #5C48E5 #8C7EED #BBB3F4

Accessibility & contrast

On white

5.98
#5C48E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#5C48E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C48E5
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C48E5#FFFFFF#000000##FFFFFF
##5C48E51.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069EA
Deuteranopia (green-blind)
#005EE2
Tritanopia (blue-blind)
#007291
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5c48e5;
/* rgb */ color: rgb(92, 72, 229);
/* oklch */ color: oklch(52.3% 0.225 281.0);
Tailwind
colors: {
  custom: {
    50: '#987dee',
    500: '#5c48e5',
    950: '#000000',
  },
}
SCSS
$custom: #5c48e5;
$custom-light: #987dee;
$custom-dark: #000000;
JSON
{
  "hex": "#5c48e5",
  "rgb": {
    "r": 92,
    "g": 72,
    "b": 229
  },
  "hsl": {
    "h": 247.643,
    "s": 75.12,
    "l": 59.02
  },
  "oklch": {
    "l": 0.52284,
    "c": 0.22546,
    "h": 281
  },
  "luminance": 0.12567
}

Semantic roles & 50–950 ramp

primary
#5C48E5
secondary
#DBE3A6
accent
#F236DA
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5C48E5

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

Preview Lab → · Contrast checker → · Palette generator →

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