#5846E5#5846E5

#5846E5 is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.7% C 0.228 H 279.9°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#5846E5
RGBrgb(88, 70, 229)
HSLhsl(247, 75%, 59%)
HSVhsv(247, 69%, 90%)
CMYKcmyk(61.6%, 69.4%, 0%, 10.2%)
CIE-LABlab(41.39, 51.76, -77.98)
CIE-LCHlch(41.39, 93.59, 303.58°)
OKLaboklab(51.7% 0.0393 -0.2249)
OKLCHoklch(51.7% 0.228 279.9)
XYZxyz(20.3530, 12.1106, 75.3786)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5846E5 #D3E546
analogous
#4683E5 #5846E5 #A746E5
triadic
#5846E5 #E55846 #46E558
tetradic
#5846E5 #E54683 #D3E546 #46E5A7
square
#5846E5 #E54683 #D3E546 #46E5A7
split-complementary
#5846E5 #E5A746 #83E546
monochromatic
#25169B #321DD0 #5846E5 #887CED #B9B1F4

Accessibility & contrast

On white

6.14
#5846E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#5846E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5846E5
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5846E5#FFFFFF#000000##FFFFFF
##5846E51.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068EA
Deuteranopia (green-blind)
#005BE2
Tritanopia (blue-blind)
#007190
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5846e5;
/* rgb */ color: rgb(88, 70, 229);
/* oklch */ color: oklch(51.7% 0.228 279.9);
Tailwind
colors: {
  custom: {
    50: '#967bee',
    500: '#5846e5',
    950: '#000000',
  },
}
SCSS
$custom: #5846e5;
$custom-light: #967bee;
$custom-dark: #000000;
JSON
{
  "hex": "#5846e5",
  "rgb": {
    "r": 88,
    "g": 70,
    "b": 229
  },
  "hsl": {
    "h": 246.792,
    "s": 75.355,
    "l": 58.627
  },
  "oklch": {
    "l": 0.51697,
    "c": 0.22827,
    "h": 279.9
  },
  "luminance": 0.12112
}

Semantic roles & 50–950 ramp

primary
#5846E5
secondary
#DCE3A4
accent
#F236DD
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5846E5

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

Preview Lab → · Contrast checker → · Palette generator →

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