#5C48ED#5C48ED

#5C48ED is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 53.0% C 0.235 H 280.2°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#5C48ED
RGBrgb(92, 72, 237)
HSLhsl(247, 82%, 61%)
HSVhsv(247, 70%, 93%)
CMYKcmyk(61.2%, 69.6%, 0%, 7.1%)
CIE-LABlab(42.80, 53.61, -80.19)
CIE-LCHlch(42.80, 96.46, 303.77°)
OKLaboklab(53% 0.0417 -0.2312)
OKLCHoklch(53% 0.235 280.2)
XYZxyz(22.0122, 13.0228, 81.4580)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C48ED #D9ED48
analogous
#4886ED #5C48ED #AF48ED
triadic
#5C48ED #ED5C48 #48ED5C
tetradic
#5C48ED #ED4886 #D9ED48 #48EDAF
square
#5C48ED #ED4886 #D9ED48 #48EDAF
split-complementary
#5C48ED #EDAF48 #86ED48
monochromatic
#2311AA #2F16E2 #5C48ED #8E80F2 #BFB7F8

Accessibility & contrast

On white

5.83
#5C48ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#5C48ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C48ED
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C48ED#FFFFFF#000000##FFFFFF
##5C48ED1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BF2
Deuteranopia (green-blind)
#005FEA
Tritanopia (blue-blind)
#007595
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5c48ed;
/* rgb */ color: rgb(92, 72, 237);
/* oklch */ color: oklch(53.0% 0.235 280.2);
Tailwind
colors: {
  custom: {
    50: '#9a7df4',
    500: '#5c48ed',
    950: '#000000',
  },
}
SCSS
$custom: #5c48ed;
$custom-light: #9a7df4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c48ed",
  "rgb": {
    "r": 92,
    "g": 72,
    "b": 237
  },
  "hsl": {
    "h": 247.273,
    "s": 82.09,
    "l": 60.588
  },
  "oklch": {
    "l": 0.52995,
    "c": 0.23495,
    "h": 280.2
  },
  "luminance": 0.13024
}

Semantic roles & 50–950 ramp

primary
#5C48ED
secondary
#E0E8A9
accent
#DE07C4
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5C48ED

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

Preview Lab → · Contrast checker → · Palette generator →

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