#5848E1#5848E1

#5848E1 is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.6% C 0.221 H 280.0°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#5848E1
RGBrgb(88, 72, 225)
HSLhsl(246, 72%, 58%)
HSVhsv(246, 68%, 88%)
CMYKcmyk(60.9%, 68%, 0%, 11.8%)
CIE-LABlab(41.44, 49.43, -75.61)
CIE-LCHlch(41.44, 90.34, 303.18°)
OKLaboklab(51.63% 0.0384 -0.218)
OKLCHoklch(51.63% 0.221 280)
XYZxyz(19.9282, 12.1442, 72.5135)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5848E1 #D1E148
analogous
#4884E1 #5848E1 #A548E1
triadic
#5848E1 #E15848 #48E158
tetradic
#5848E1 #E14884 #D1E148 #48E1A5
square
#5848E1 #E14884 #D1E148 #48E1A5
split-complementary
#5848E1 #E1A548 #84E148
monochromatic
#261996 #3321CB #5848E1 #887DEA #B8B1F2

Accessibility & contrast

On white

6.12
#5848E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#5848E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5848E1
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5848E1#FFFFFF#000000##FFFFFF
##5848E11.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E6
Deuteranopia (green-blind)
#005CDE
Tritanopia (blue-blind)
#00718F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5848e1;
/* rgb */ color: rgb(88, 72, 225);
/* oklch */ color: oklch(51.6% 0.221 280.0);
Tailwind
colors: {
  custom: {
    50: '#967dec',
    500: '#5848e1',
    950: '#000000',
  },
}
SCSS
$custom: #5848e1;
$custom-light: #967dec;
$custom-dark: #000000;
JSON
{
  "hex": "#5848e1",
  "rgb": {
    "r": 88,
    "g": 72,
    "b": 225
  },
  "hsl": {
    "h": 246.275,
    "s": 71.831,
    "l": 58.235
  },
  "oklch": {
    "l": 0.51629,
    "c": 0.22132,
    "h": 280
  },
  "luminance": 0.12146
}

Semantic roles & 50–950 ramp

primary
#5848E1
secondary
#DAE1A4
accent
#EF39DC
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5848E1

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

Preview Lab → · Contrast checker → · Palette generator →

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