#5846DF#5846DF

#5846DF is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 51.2% C 0.221 H 280.5°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#5846DF
RGBrgb(88, 70, 223)
HSLhsl(247, 71%, 57%)
HSVhsv(247, 69%, 87%)
CMYKcmyk(60.5%, 68.6%, 0%, 12.5%)
CIE-LABlab(40.87, 49.93, -75.42)
CIE-LCHlch(40.87, 90.45, 303.51°)
OKLaboklab(51.16% 0.0402 -0.2174)
OKLCHoklch(51.16% 0.221 280.5)
XYZxyz(19.5297, 11.7813, 71.0426)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5846DF #CDDF46
analogous
#4680DF #5846DF #A546DF
triadic
#5846DF #DF5846 #46DF58
tetradic
#5846DF #DF4680 #CDDF46 #46DFA5
square
#5846DF #DF4680 #CDDF46 #46DFA5
split-complementary
#5846DF #DFA546 #80DF46
monochromatic
#271991 #3522C6 #5846DF #877AE8 #B6AEF1

Accessibility & contrast

On white

6.26
#5846DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#5846DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5846DF
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5846DF#FFFFFF#000000##FFFFFF
##5846DF1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E4
Deuteranopia (green-blind)
#005BDC
Tritanopia (blue-blind)
#006F8D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5846df;
/* rgb */ color: rgb(88, 70, 223);
/* oklch */ color: oklch(51.2% 0.221 280.5);
Tailwind
colors: {
  custom: {
    50: '#957bea',
    500: '#5846df',
    950: '#000000',
  },
}
SCSS
$custom: #5846df;
$custom-light: #957bea;
$custom-dark: #000000;
JSON
{
  "hex": "#5846df",
  "rgb": {
    "r": 88,
    "g": 70,
    "b": 223
  },
  "hsl": {
    "h": 247.059,
    "s": 70.507,
    "l": 57.451
  },
  "oklch": {
    "l": 0.51161,
    "c": 0.22108,
    "h": 280.5
  },
  "luminance": 0.11783
}

Semantic roles & 50–950 ramp

primary
#5846DF
secondary
#D8DFA2
accent
#ED3BD8
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5846DF

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

Preview Lab → · Contrast checker → · Palette generator →

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