#5848D8#5848D8

#5848D8 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 50.8% C 0.210 H 280.9°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#5848D8
RGBrgb(88, 72, 216)
HSLhsl(247, 65%, 56%)
HSVhsv(247, 67%, 85%)
CMYKcmyk(59.3%, 66.7%, 0%, 15.3%)
CIE-LABlab(40.68, 46.66, -71.72)
CIE-LCHlch(40.68, 85.57, 303.05°)
OKLaboklab(50.84% 0.0397 -0.2066)
OKLCHoklch(50.84% 0.21 280.9)
XYZxyz(18.7326, 11.6660, 66.2171)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5848D8 #C8D848
analogous
#4880D8 #5848D8 #A048D8
triadic
#5848D8 #D85848 #48D858
tetradic
#5848D8 #D84880 #C8D848 #48D8A0
square
#5848D8 #D84880 #C8D848 #48D8A0
split-complementary
#5848D8 #D8A048 #80D848
monochromatic
#291D89 #3828BB #5848D8 #867AE3 #B4ADEE

Accessibility & contrast

On white

6.30
#5848D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#5848D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5848D8
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5848D8#FFFFFF#000000##FFFFFF
##5848D81.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DC
Deuteranopia (green-blind)
#005BD5
Tritanopia (blue-blind)
#006D8A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5848d8;
/* rgb */ color: rgb(88, 72, 216);
/* oklch */ color: oklch(50.8% 0.210 280.9);
Tailwind
colors: {
  custom: {
    50: '#947ce5',
    500: '#5848d8',
    950: '#000000',
  },
}
SCSS
$custom: #5848d8;
$custom-light: #947ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#5848d8",
  "rgb": {
    "r": 88,
    "g": 72,
    "b": 216
  },
  "hsl": {
    "h": 246.667,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.50844,
    "c": 0.21034,
    "h": 280.9
  },
  "luminance": 0.11667
}

Semantic roles & 50–950 ramp

primary
#5848D8
secondary
#D5DBA0
accent
#E840D5
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5848D8

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

Preview Lab → · Contrast checker → · Palette generator →

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