#5848ED#5848ED

#5848ED is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.7% C 0.236 H 278.9°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#5848ED
RGBrgb(88, 72, 237)
HSLhsl(246, 82%, 61%)
HSVhsv(246, 70%, 93%)
CMYKcmyk(62.9%, 69.6%, 0%, 7.1%)
CIE-LABlab(42.49, 53.10, -80.70)
CIE-LCHlch(42.49, 96.60, 303.35°)
OKLaboklab(52.7% 0.0365 -0.2328)
OKLCHoklch(52.7% 0.236 278.9)
XYZxyz(21.6230, 12.8221, 81.4398)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5848ED #DDED48
analogous
#488AED #5848ED #AA48ED
triadic
#5848ED #ED5848 #48ED58
tetradic
#5848ED #ED488A #DDED48 #48EDAA
square
#5848ED #ED488A #DDED48 #48EDAA
split-complementary
#5848ED #EDAA48 #8AED48
monochromatic
#2011AA #2A16E2 #5848ED #8B80F2 #BEB7F8

Accessibility & contrast

On white

5.89
#5848ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#5848ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5848ED
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5848ED#FFFFFF#000000##FFFFFF
##5848ED1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BF2
Deuteranopia (green-blind)
#005EEA
Tritanopia (blue-blind)
#007595
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5848ed;
/* rgb */ color: rgb(88, 72, 237);
/* oklch */ color: oklch(52.7% 0.236 278.9);
Tailwind
colors: {
  custom: {
    50: '#987df4',
    500: '#5848ed',
    950: '#000000',
  },
}
SCSS
$custom: #5848ed;
$custom-light: #987df4;
$custom-dark: #000000;
JSON
{
  "hex": "#5848ed",
  "rgb": {
    "r": 88,
    "g": 72,
    "b": 237
  },
  "hsl": {
    "h": 245.818,
    "s": 82.09,
    "l": 60.588
  },
  "oklch": {
    "l": 0.52701,
    "c": 0.23568,
    "h": 278.9
  },
  "luminance": 0.12824
}

Semantic roles & 50–950 ramp

primary
#5848ED
secondary
#E2E8A9
accent
#DE07CA
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5848ED

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

Preview Lab → · Contrast checker → · Palette generator →

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