#5846E7#5846E7

#5846E7 is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.9% C 0.231 H 279.7°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#5846E7
RGBrgb(88, 70, 231)
HSLhsl(247, 77%, 59%)
HSVhsv(247, 70%, 91%)
CMYKcmyk(61.9%, 69.7%, 0%, 9.4%)
CIE-LABlab(41.57, 52.37, -78.82)
CIE-LCHlch(41.57, 94.63, 303.60°)
OKLaboklab(51.88% 0.0389 -0.2273)
OKLCHoklch(51.88% 0.231 279.7)
XYZxyz(20.6339, 12.2230, 76.8577)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5846E7 #D5E746
analogous
#4685E7 #5846E7 #A946E7
triadic
#5846E7 #E75846 #46E758
tetradic
#5846E7 #E74685 #D5E746 #46E7A9
square
#5846E7 #E74685 #D5E746 #46E7A9
split-complementary
#5846E7 #E7A946 #85E746
monochromatic
#24159E #301CD4 #5846E7 #897CEE #BAB2F5

Accessibility & contrast

On white

6.10
#5846E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#5846E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5846E7
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5846E7#FFFFFF#000000##FFFFFF
##5846E71.006.103.456.10
#FFFFFF6.101.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068EC
Deuteranopia (green-blind)
#005CE4
Tritanopia (blue-blind)
#007292
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5846e7;
/* rgb */ color: rgb(88, 70, 231);
/* oklch */ color: oklch(51.9% 0.231 279.7);
Tailwind
colors: {
  custom: {
    50: '#977bf0',
    500: '#5846e7',
    950: '#000000',
  },
}
SCSS
$custom: #5846e7;
$custom-light: #977bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#5846e7",
  "rgb": {
    "r": 88,
    "g": 70,
    "b": 231
  },
  "hsl": {
    "h": 246.708,
    "s": 77.033,
    "l": 59.02
  },
  "oklch": {
    "l": 0.51878,
    "c": 0.23065,
    "h": 279.7
  },
  "luminance": 0.12225
}

Semantic roles & 50–950 ramp

primary
#5846E7
secondary
#DDE4A5
accent
#F434DE
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5846E7

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

Preview Lab → · Contrast checker → · Palette generator →

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