#5848E2#5848E2

#5848E2 is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.7% C 0.223 H 279.9°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#5848E2
RGBrgb(88, 72, 226)
HSLhsl(246, 73%, 58%)
HSVhsv(246, 68%, 89%)
CMYKcmyk(61.1%, 68.1%, 0%, 11.4%)
CIE-LABlab(41.53, 49.74, -76.04)
CIE-LCHlch(41.53, 90.87, 303.19°)
OKLaboklab(51.72% 0.0383 -0.2192)
OKLCHoklch(51.72% 0.223 279.9)
XYZxyz(20.0650, 12.1989, 73.2340)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5848E2 #D2E248
analogous
#4885E2 #5848E2 #A548E2
triadic
#5848E2 #E25848 #48E258
tetradic
#5848E2 #E24885 #D2E248 #48E2A5
square
#5848E2 #E24885 #D2E248 #48E2A5
split-complementary
#5848E2 #E2A548 #85E248
monochromatic
#251898 #3220CC #5848E2 #887DEA #B8B2F3

Accessibility & contrast

On white

6.10
#5848E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#5848E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5848E2
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5848E2#FFFFFF#000000##FFFFFF
##5848E21.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E7
Deuteranopia (green-blind)
#005CDF
Tritanopia (blue-blind)
#00718F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5848e2;
/* rgb */ color: rgb(88, 72, 226);
/* oklch */ color: oklch(51.7% 0.223 279.9);
Tailwind
colors: {
  custom: {
    50: '#967dec',
    500: '#5848e2',
    950: '#000000',
  },
}
SCSS
$custom: #5848e2;
$custom-light: #967dec;
$custom-dark: #000000;
JSON
{
  "hex": "#5848e2",
  "rgb": {
    "r": 88,
    "g": 72,
    "b": 226
  },
  "hsl": {
    "h": 246.234,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.51717,
    "c": 0.22253,
    "h": 279.9
  },
  "luminance": 0.122
}

Semantic roles & 50–950 ramp

primary
#5848E2
secondary
#DBE1A4
accent
#EF38DC
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5848E2

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

Preview Lab → · Contrast checker → · Palette generator →

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