#5848DC#5848DC

#5848DC is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 51.2% C 0.215 H 280.5°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#5848DC
RGBrgb(88, 72, 220)
HSLhsl(246, 68%, 57%)
HSVhsv(246, 67%, 86%)
CMYKcmyk(60%, 67.3%, 0%, 13.7%)
CIE-LABlab(41.02, 47.90, -73.46)
CIE-LCHlch(41.02, 87.70, 303.10°)
OKLaboklab(51.19% 0.0392 -0.2116)
OKLCHoklch(51.19% 0.215 280.5)
XYZxyz(19.2561, 11.8754, 68.9737)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5848DC #CCDC48
analogous
#4882DC #5848DC #A248DC
triadic
#5848DC #DC5848 #48DC58
tetradic
#5848DC #DC4882 #CCDC48 #48DCA2
square
#5848DC #DC4882 #CCDC48 #48DCA2
split-complementary
#5848DC #DCA248 #82DC48
monochromatic
#281B8E #3625C2 #5848DC #877BE6 #B6AFF0

Accessibility & contrast

On white

6.22
#5848DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#5848DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5848DC
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5848DC#FFFFFF#000000##FFFFFF
##5848DC1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E1
Deuteranopia (green-blind)
#005BD9
Tritanopia (blue-blind)
#006F8C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5848dc;
/* rgb */ color: rgb(88, 72, 220);
/* oklch */ color: oklch(51.2% 0.215 280.5);
Tailwind
colors: {
  custom: {
    50: '#957ce8',
    500: '#5848dc',
    950: '#000000',
  },
}
SCSS
$custom: #5848dc;
$custom-light: #957ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#5848dc",
  "rgb": {
    "r": 88,
    "g": 72,
    "b": 220
  },
  "hsl": {
    "h": 246.486,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5119,
    "c": 0.21524,
    "h": 280.5
  },
  "luminance": 0.11877
}

Semantic roles & 50–950 ramp

primary
#5848DC
secondary
#D7DEA2
accent
#EB3DD8
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5848DC

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

Preview Lab → · Contrast checker → · Palette generator →

#5848DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva