#5C48E2#5C48E2

#5C48E2 is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 52.0% C 0.222 H 281.3°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#5C48E2
RGBrgb(92, 72, 226)
HSLhsl(248, 73%, 58%)
HSVhsv(248, 68%, 89%)
CMYKcmyk(59.3%, 68.1%, 0%, 11.4%)
CIE-LABlab(41.84, 50.30, -75.52)
CIE-LCHlch(41.84, 90.73, 303.67°)
OKLaboklab(52.02% 0.0435 -0.2176)
OKLCHoklch(52.02% 0.222 281.3)
XYZxyz(20.4542, 12.3996, 73.2523)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C48E2 #CEE248
analogous
#4881E2 #5C48E2 #A948E2
triadic
#5C48E2 #E25C48 #48E25C
tetradic
#5C48E2 #E24881 #CEE248 #48E2A9
square
#5C48E2 #E24881 #CEE248 #48E2A9
split-complementary
#5C48E2 #E2A948 #81E248
monochromatic
#291898 #3720CC #5C48E2 #8B7DEA #BAB2F3

Accessibility & contrast

On white

6.03
#5C48E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#5C48E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C48E2
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C48E2#FFFFFF#000000##FFFFFF
##5C48E21.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E7
Deuteranopia (green-blind)
#005DDF
Tritanopia (blue-blind)
#00718F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5c48e2;
/* rgb */ color: rgb(92, 72, 226);
/* oklch */ color: oklch(52.0% 0.222 281.3);
Tailwind
colors: {
  custom: {
    50: '#987dec',
    500: '#5c48e2',
    950: '#000000',
  },
}
SCSS
$custom: #5c48e2;
$custom-light: #987dec;
$custom-dark: #000000;
JSON
{
  "hex": "#5c48e2",
  "rgb": {
    "r": 92,
    "g": 72,
    "b": 226
  },
  "hsl": {
    "h": 247.792,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.52021,
    "c": 0.22186,
    "h": 281.3
  },
  "luminance": 0.12401
}

Semantic roles & 50–950 ramp

primary
#5C48E2
secondary
#DAE1A4
accent
#EF38D8
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5C48E2

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

Preview Lab → · Contrast checker → · Palette generator →

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