#5C48EF#5C48EF

#5C48EF is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 53.2% C 0.237 H 280.0°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#5C48EF
RGBrgb(92, 72, 239)
HSLhsl(247, 84%, 61%)
HSVhsv(247, 70%, 94%)
CMYKcmyk(61.5%, 69.9%, 0%, 6.3%)
CIE-LABlab(42.97, 54.21, -81.02)
CIE-LCHlch(42.97, 97.49, 303.79°)
OKLaboklab(53.18% 0.0413 -0.2337)
OKLCHoklch(53.18% 0.237 280)
XYZxyz(22.3060, 13.1403, 83.0055)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C48EF #DBEF48
analogous
#4887EF #5C48EF #B048EF
triadic
#5C48EF #EF5C48 #48EF5C
tetradic
#5C48EF #EF4887 #DBEF48 #48EFB0
square
#5C48EF #EF4887 #DBEF48 #48EFB0
split-complementary
#5C48EF #EFB048 #87EF48
monochromatic
#220FAD #2D14E6 #5C48EF #8E80F4 #C0B9F9

Accessibility & contrast

On white

5.79
#5C48EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#5C48EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C48EF
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C48EF#FFFFFF#000000##FFFFFF
##5C48EF1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CF4
Deuteranopia (green-blind)
#005FEC
Tritanopia (blue-blind)
#007597
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5c48ef;
/* rgb */ color: rgb(92, 72, 239);
/* oklch */ color: oklch(53.2% 0.237 280.0);
Tailwind
colors: {
  custom: {
    50: '#9a7df6',
    500: '#5c48ef',
    950: '#000000',
  },
}
SCSS
$custom: #5c48ef;
$custom-light: #9a7df6;
$custom-dark: #000000;
JSON
{
  "hex": "#5c48ef",
  "rgb": {
    "r": 92,
    "g": 72,
    "b": 239
  },
  "hsl": {
    "h": 247.186,
    "s": 83.92,
    "l": 60.98
  },
  "oklch": {
    "l": 0.53175,
    "c": 0.23731,
    "h": 280
  },
  "luminance": 0.13142
}

Semantic roles & 50–950 ramp

primary
#5C48EF
secondary
#E1E9AA
accent
#E005C6
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5C48EF

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

Preview Lab → · Contrast checker → · Palette generator →

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