#5848DB#5848DB

#5848DB is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 51.1% C 0.214 H 280.6°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#5848DB
RGBrgb(88, 72, 219)
HSLhsl(247, 67%, 57%)
HSVhsv(247, 67%, 86%)
CMYKcmyk(59.8%, 67.1%, 0%, 14.1%)
CIE-LABlab(40.93, 47.59, -73.03)
CIE-LCHlch(40.93, 87.16, 303.09°)
OKLaboklab(51.1% 0.0393 -0.2104)
OKLCHoklch(51.1% 0.214 280.6)
XYZxyz(19.1240, 11.8225, 68.2783)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5848DB #CBDB48
analogous
#4881DB #5848DB #A248DB
triadic
#5848DB #DB5848 #48DB58
tetradic
#5848DB #DB4881 #CBDB48 #48DBA2
square
#5848DB #DB4881 #CBDB48 #48DBA2
split-complementary
#5848DB #DBA248 #81DB48
monochromatic
#281C8D #3726C0 #5848DB #877BE5 #B5AEEF

Accessibility & contrast

On white

6.24
#5848DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#5848DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5848DB
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5848DB#FFFFFF#000000##FFFFFF
##5848DB1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E0
Deuteranopia (green-blind)
#005BD8
Tritanopia (blue-blind)
#006E8C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5848db;
/* rgb */ color: rgb(88, 72, 219);
/* oklch */ color: oklch(51.1% 0.214 280.6);
Tailwind
colors: {
  custom: {
    50: '#957ce7',
    500: '#5848db',
    950: '#000000',
  },
}
SCSS
$custom: #5848db;
$custom-light: #957ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#5848db",
  "rgb": {
    "r": 88,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 246.531,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.51103,
    "c": 0.21402,
    "h": 280.6
  },
  "luminance": 0.11824
}

Semantic roles & 50–950 ramp

primary
#5848DB
secondary
#D7DDA2
accent
#EA3ED7
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5848DB

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

Preview Lab → · Contrast checker → · Palette generator →

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