#5846D2#5846D2

#5846D2 is a mid, highly saturated blue. Relative luminance 0.111; OKLCH L 50.0% C 0.205 H 281.8°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#5846D2
RGBrgb(88, 70, 210)
HSLhsl(248, 61%, 55%)
HSVhsv(248, 67%, 82%)
CMYKcmyk(58.1%, 66.7%, 0%, 17.6%)
CIE-LABlab(39.76, 45.95, -69.78)
CIE-LCHlch(39.76, 83.55, 303.37°)
OKLaboklab(50.03% 0.0421 -0.2008)
OKLCHoklch(50.03% 0.205 281.8)
XYZxyz(17.8439, 11.1070, 62.1638)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5846D2 #C0D246
analogous
#467AD2 #5846D2 #9E46D2
triadic
#5846D2 #D25846 #46D258
tetradic
#5846D2 #D2467A #C0D246 #46D29E
square
#5846D2 #D2467A #C0D246 #46D29E
split-complementary
#5846D2 #D29E46 #7AD246
monochromatic
#2B1F7F #3C2BB0 #5846D2 #8477DE #B1A8EA

Accessibility & contrast

On white

6.52
#5846D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#5846D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5846D2
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5846D2#FFFFFF#000000##FFFFFF
##5846D21.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D6
Deuteranopia (green-blind)
#0059CF
Tritanopia (blue-blind)
#096A86
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5846d2;
/* rgb */ color: rgb(88, 70, 210);
/* oklch */ color: oklch(50.0% 0.205 281.8);
Tailwind
colors: {
  custom: {
    50: '#937be1',
    500: '#5846d2',
    950: '#000000',
  },
}
SCSS
$custom: #5846d2;
$custom-light: #937be1;
$custom-dark: #000000;
JSON
{
  "hex": "#5846d2",
  "rgb": {
    "r": 88,
    "g": 70,
    "b": 210
  },
  "hsl": {
    "h": 247.714,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.50025,
    "c": 0.20522,
    "h": 281.8
  },
  "luminance": 0.11108
}

Semantic roles & 50–950 ramp

primary
#5846D2
secondary
#D0D79C
accent
#E444CF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5846D2

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

Preview Lab → · Contrast checker → · Palette generator →

#5846D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva