#5848D9#5848D9

#5848D9 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 50.9% C 0.212 H 280.8°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#5848D9
RGBrgb(88, 72, 217)
HSLhsl(247, 66%, 57%)
HSVhsv(247, 67%, 85%)
CMYKcmyk(59.4%, 66.8%, 0%, 14.9%)
CIE-LABlab(40.76, 46.97, -72.16)
CIE-LCHlch(40.76, 86.10, 303.06°)
OKLaboklab(50.93% 0.0396 -0.2078)
OKLCHoklch(50.93% 0.212 280.8)
XYZxyz(18.8623, 11.7179, 66.9000)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5848D9 #C9D948
analogous
#4881D9 #5848D9 #A148D9
triadic
#5848D9 #D95848 #48D958
tetradic
#5848D9 #D94881 #C9D948 #48D9A1
square
#5848D9 #D94881 #C9D948 #48D9A1
split-complementary
#5848D9 #D9A148 #81D948
monochromatic
#291D8A #3827BD #5848D9 #867BE4 #B4ADEE

Accessibility & contrast

On white

6.28
#5848D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#5848D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5848D9
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5848D9#FFFFFF#000000##FFFFFF
##5848D91.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DD
Deuteranopia (green-blind)
#005BD6
Tritanopia (blue-blind)
#006E8A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5848d9;
/* rgb */ color: rgb(88, 72, 217);
/* oklch */ color: oklch(50.9% 0.212 280.8);
Tailwind
colors: {
  custom: {
    50: '#947ce6',
    500: '#5848d9',
    950: '#000000',
  },
}
SCSS
$custom: #5848d9;
$custom-light: #947ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#5848d9",
  "rgb": {
    "r": 88,
    "g": 72,
    "b": 217
  },
  "hsl": {
    "h": 246.621,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5093,
    "c": 0.21156,
    "h": 280.8
  },
  "luminance": 0.11719
}

Semantic roles & 50–950 ramp

primary
#5848D9
secondary
#D6DCA1
accent
#E93FD6
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5848D9

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

Preview Lab → · Contrast checker → · Palette generator →

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