#5846E1#5846E1

#5846E1 is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 51.3% C 0.223 H 280.3°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#5846E1
RGBrgb(88, 70, 225)
HSLhsl(247, 72%, 58%)
HSVhsv(247, 69%, 88%)
CMYKcmyk(60.9%, 68.9%, 0%, 11.8%)
CIE-LABlab(41.04, 50.54, -76.28)
CIE-LCHlch(41.04, 91.50, 303.53°)
OKLaboklab(51.34% 0.0399 -0.2199)
OKLCHoklch(51.34% 0.223 280.3)
XYZxyz(19.8010, 11.8898, 72.4711)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5846E1 #CFE146
analogous
#4681E1 #5846E1 #A646E1
triadic
#5846E1 #E15846 #46E158
tetradic
#5846E1 #E14681 #CFE146 #46E1A6
square
#5846E1 #E14681 #CFE146 #46E1A6
split-complementary
#5846E1 #E1A646 #81E146
monochromatic
#271895 #3421C9 #5846E1 #887BEA #B7AFF2

Accessibility & contrast

On white

6.22
#5846E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#5846E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5846E1
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5846E1#FFFFFF#000000##FFFFFF
##5846E11.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E6
Deuteranopia (green-blind)
#005BDE
Tritanopia (blue-blind)
#00708E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5846e1;
/* rgb */ color: rgb(88, 70, 225);
/* oklch */ color: oklch(51.3% 0.223 280.3);
Tailwind
colors: {
  custom: {
    50: '#967bec',
    500: '#5846e1',
    950: '#000000',
  },
}
SCSS
$custom: #5846e1;
$custom-light: #967bec;
$custom-dark: #000000;
JSON
{
  "hex": "#5846e1",
  "rgb": {
    "r": 88,
    "g": 70,
    "b": 225
  },
  "hsl": {
    "h": 246.968,
    "s": 72.093,
    "l": 57.843
  },
  "oklch": {
    "l": 0.51339,
    "c": 0.22349,
    "h": 280.3
  },
  "luminance": 0.11891
}

Semantic roles & 50–950 ramp

primary
#5846E1
secondary
#D9E0A2
accent
#EF39DA
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #5846E1

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

Preview Lab → · Contrast checker → · Palette generator →

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