#5846DB#5846DB

#5846DB is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.8% C 0.216 H 280.9°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#5846DB
RGBrgb(88, 70, 219)
HSLhsl(247, 67%, 57%)
HSVhsv(247, 68%, 86%)
CMYKcmyk(59.8%, 68%, 0%, 14.1%)
CIE-LABlab(40.52, 48.71, -73.70)
CIE-LCHlch(40.52, 88.34, 303.46°)
OKLaboklab(50.81% 0.0409 -0.2123)
OKLCHoklch(50.81% 0.216 280.9)
XYZxyz(18.9968, 11.5681, 68.2359)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5846DB #C9DB46
analogous
#467FDB #5846DB #A246DB
triadic
#5846DB #DB5846 #46DB58
tetradic
#5846DB #DB467F #C9DB46 #46DBA2
square
#5846DB #DB467F #C9DB46 #46DBA2
split-complementary
#5846DB #DBA246 #7FDB46
monochromatic
#291B8B #3825BF #5846DB #8679E5 #B4ACEF

Accessibility & contrast

On white

6.34
#5846DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#5846DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5846DB
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5846DB#FFFFFF#000000##FFFFFF
##5846DB1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E0
Deuteranopia (green-blind)
#005AD8
Tritanopia (blue-blind)
#006D8B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5846db;
/* rgb */ color: rgb(88, 70, 219);
/* oklch */ color: oklch(50.8% 0.216 280.9);
Tailwind
colors: {
  custom: {
    50: '#957be7',
    500: '#5846db',
    950: '#000000',
  },
}
SCSS
$custom: #5846db;
$custom-light: #957be7;
$custom-dark: #000000;
JSON
{
  "hex": "#5846db",
  "rgb": {
    "r": 88,
    "g": 70,
    "b": 219
  },
  "hsl": {
    "h": 247.248,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.50808,
    "c": 0.21625,
    "h": 280.9
  },
  "luminance": 0.11569
}

Semantic roles & 50–950 ramp

primary
#5846DB
secondary
#D6DDA0
accent
#EA3DD5
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5846DB

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

Preview Lab → · Contrast checker → · Palette generator →

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