#5C48FB#5C48FB

#5C48FB is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 54.3% C 0.251 H 279.0°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#5C48FB
RGBrgb(92, 72, 251)
HSLhsl(247, 96%, 63%)
HSVhsv(247, 71%, 98%)
CMYKcmyk(63.3%, 71.3%, 0%, 1.6%)
CIE-LABlab(44.05, 57.80, -85.99)
CIE-LCHlch(44.05, 103.61, 303.91°)
OKLaboklab(54.27% 0.0391 -0.2482)
OKLCHoklch(54.27% 0.251 279)
XYZxyz(24.1380, 13.8731, 92.6539)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C48FB #E7FB48
analogous
#488DFB #5C48FB #B548FB
triadic
#5C48FB #FB5C48 #48FB5C
tetradic
#5C48FB #FB488D #E7FB48 #48FBB5
square
#5C48FB #FB488D #E7FB48 #48FBB5
split-complementary
#5C48FB #FBB548 #8DFB48
monochromatic
#1A04C4 #270CFA #5C48FB #9184FC #C7C0FE

Accessibility & contrast

On white

5.56
#5C48FB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#5C48FB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C48FB
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C48FB#FFFFFF#000000##FFFFFF
##5C48FB1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FFF
Deuteranopia (green-blind)
#0061F8
Tritanopia (blue-blind)
#007A9D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5c48fb;
/* rgb */ color: rgb(92, 72, 251);
/* oklch */ color: oklch(54.3% 0.251 279.0);
Tailwind
colors: {
  custom: {
    50: '#9c7efe',
    500: '#5c48fb',
    950: '#000000',
  },
}
SCSS
$custom: #5c48fb;
$custom-light: #9c7efe;
$custom-dark: #000000;
JSON
{
  "hex": "#5c48fb",
  "rgb": {
    "r": 92,
    "g": 72,
    "b": 251
  },
  "hsl": {
    "h": 246.704,
    "s": 95.722,
    "l": 63.333
  },
  "oklch": {
    "l": 0.54268,
    "c": 0.25127,
    "h": 279
  },
  "luminance": 0.13875
}

Semantic roles & 50–950 ramp

primary
#5C48FB
secondary
#E8EFB0
accent
#E600CC
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A18
muted
#7F7C86

Preview Lab

Preview with #5C48FB

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

Preview Lab → · Contrast checker → · Palette generator →

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