#5C48E1#5C48E1

#5C48E1 is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.9% C 0.221 H 281.4°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#5C48E1
RGBrgb(92, 72, 225)
HSLhsl(248, 72%, 58%)
HSVhsv(248, 68%, 88%)
CMYKcmyk(59.1%, 68%, 0%, 11.8%)
CIE-LABlab(41.76, 50.00, -75.09)
CIE-LCHlch(41.76, 90.21, 303.66°)
OKLaboklab(51.93% 0.0436 -0.2163)
OKLCHoklch(51.93% 0.221 281.4)
XYZxyz(20.3173, 12.3449, 72.5317)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C48E1 #CDE148
analogous
#4880E1 #5C48E1 #A848E1
triadic
#5C48E1 #E15C48 #48E15C
tetradic
#5C48E1 #E14880 #CDE148 #48E1A8
square
#5C48E1 #E14880 #CDE148 #48E1A8
split-complementary
#5C48E1 #E1A848 #80E148
monochromatic
#291996 #3721CB #5C48E1 #8B7DEA #BAB1F2

Accessibility & contrast

On white

6.05
#5C48E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#5C48E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C48E1
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C48E1#FFFFFF#000000##FFFFFF
##5C48E11.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E6
Deuteranopia (green-blind)
#005DDE
Tritanopia (blue-blind)
#00708F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5c48e1;
/* rgb */ color: rgb(92, 72, 225);
/* oklch */ color: oklch(51.9% 0.221 281.4);
Tailwind
colors: {
  custom: {
    50: '#987dec',
    500: '#5c48e1',
    950: '#000000',
  },
}
SCSS
$custom: #5c48e1;
$custom-light: #987dec;
$custom-dark: #000000;
JSON
{
  "hex": "#5c48e1",
  "rgb": {
    "r": 92,
    "g": 72,
    "b": 225
  },
  "hsl": {
    "h": 247.843,
    "s": 71.831,
    "l": 58.235
  },
  "oklch": {
    "l": 0.51934,
    "c": 0.22065,
    "h": 281.4
  },
  "luminance": 0.12346
}

Semantic roles & 50–950 ramp

primary
#5C48E1
secondary
#D9E1A4
accent
#EF39D7
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5C48E1

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

Preview Lab → · Contrast checker → · Palette generator →

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