#5846D8#5846D8

#5846D8 is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.5% C 0.213 H 281.2°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#5846D8
RGBrgb(88, 70, 216)
HSLhsl(247, 65%, 56%)
HSVhsv(247, 68%, 85%)
CMYKcmyk(59.3%, 67.6%, 0%, 15.3%)
CIE-LABlab(40.27, 47.79, -72.40)
CIE-LCHlch(40.27, 86.75, 303.43°)
OKLaboklab(50.54% 0.0413 -0.2085)
OKLCHoklch(50.54% 0.213 281.2)
XYZxyz(18.6054, 11.4116, 66.1747)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5846D8 #C6D846
analogous
#467DD8 #5846D8 #A146D8
triadic
#5846D8 #D85846 #46D858
tetradic
#5846D8 #D8467D #C6D846 #46D8A1
square
#5846D8 #D8467D #C6D846 #46D8A1
split-complementary
#5846D8 #D8A146 #7DD846
monochromatic
#2A1C87 #3927BA #5846D8 #8679E3 #B3ABED

Accessibility & contrast

On white

6.40
#5846D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#5846D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5846D8
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5846D8#FFFFFF#000000##FFFFFF
##5846D81.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DC
Deuteranopia (green-blind)
#005AD5
Tritanopia (blue-blind)
#006C89
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5846d8;
/* rgb */ color: rgb(88, 70, 216);
/* oklch */ color: oklch(50.5% 0.213 281.2);
Tailwind
colors: {
  custom: {
    50: '#947be5',
    500: '#5846d8',
    950: '#000000',
  },
}
SCSS
$custom: #5846d8;
$custom-light: #947be5;
$custom-dark: #000000;
JSON
{
  "hex": "#5846d8",
  "rgb": {
    "r": 88,
    "g": 70,
    "b": 216
  },
  "hsl": {
    "h": 247.397,
    "s": 65.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.50545,
    "c": 0.2126,
    "h": 281.2
  },
  "luminance": 0.11413
}

Semantic roles & 50–950 ramp

primary
#5846D8
secondary
#D4DB9F
accent
#E840D3
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #5846D8

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

Preview Lab → · Contrast checker → · Palette generator →

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