#5C48DB#5C48DB

#5C48DB is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.4% C 0.213 H 282.0°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#5C48DB
RGBrgb(92, 72, 219)
HSLhsl(248, 67%, 57%)
HSVhsv(248, 67%, 86%)
CMYKcmyk(58%, 67.1%, 0%, 14.1%)
CIE-LABlab(41.25, 48.18, -72.49)
CIE-LCHlch(41.25, 87.04, 303.61°)
OKLaboklab(51.41% 0.0445 -0.2087)
OKLCHoklch(51.41% 0.213 282)
XYZxyz(19.5132, 12.0232, 68.2966)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C48DB #C7DB48
analogous
#487EDB #5C48DB #A548DB
triadic
#5C48DB #DB5C48 #48DB5C
tetradic
#5C48DB #DB487E #C7DB48 #48DBA5
square
#5C48DB #DB487E #C7DB48 #48DBA5
split-complementary
#5C48DB #DBA548 #7EDB48
monochromatic
#2B1C8D #3B26C0 #5C48DB #8A7BE5 #B7AEEF

Accessibility & contrast

On white

6.17
#5C48DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#5C48DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C48DB
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C48DB#FFFFFF#000000##FFFFFF
##5C48DB1.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E0
Deuteranopia (green-blind)
#005CD8
Tritanopia (blue-blind)
#096E8C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5c48db;
/* rgb */ color: rgb(92, 72, 219);
/* oklch */ color: oklch(51.4% 0.213 282.0);
Tailwind
colors: {
  custom: {
    50: '#977de7',
    500: '#5c48db',
    950: '#000000',
  },
}
SCSS
$custom: #5c48db;
$custom-light: #977de7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c48db",
  "rgb": {
    "r": 92,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 248.163,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.51414,
    "c": 0.21338,
    "h": 282
  },
  "luminance": 0.12025
}

Semantic roles & 50–950 ramp

primary
#5C48DB
secondary
#D5DDA2
accent
#EA3ED3
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5C48DB

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

Preview Lab → · Contrast checker → · Palette generator →

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