#5846E4#5846E4

#5846E4 is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.6% C 0.227 H 280.0°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#5846E4
RGBrgb(88, 70, 228)
HSLhsl(247, 75%, 58%)
HSVhsv(247, 69%, 89%)
CMYKcmyk(61.4%, 69.3%, 0%, 10.6%)
CIE-LABlab(41.30, 51.45, -77.55)
CIE-LCHlch(41.30, 93.07, 303.56°)
OKLaboklab(51.61% 0.0394 -0.2236)
OKLCHoklch(51.61% 0.227 280)
XYZxyz(20.2138, 12.0549, 74.6454)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5846E4 #D2E446
analogous
#4683E4 #5846E4 #A746E4
triadic
#5846E4 #E45846 #46E458
tetradic
#5846E4 #E44683 #D2E446 #46E4A7
square
#5846E4 #E44683 #D2E446 #46E4A7
split-complementary
#5846E4 #E4A746 #83E446
monochromatic
#251699 #321ECF #5846E4 #887BEC #B8B1F4

Accessibility & contrast

On white

6.16
#5846E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#5846E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5846E4
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5846E4#FFFFFF#000000##FFFFFF
##5846E41.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E9
Deuteranopia (green-blind)
#005BE1
Tritanopia (blue-blind)
#007190
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5846e4;
/* rgb */ color: rgb(88, 70, 228);
/* oklch */ color: oklch(51.6% 0.227 280.0);
Tailwind
colors: {
  custom: {
    50: '#967bee',
    500: '#5846e4',
    950: '#000000',
  },
}
SCSS
$custom: #5846e4;
$custom-light: #967bee;
$custom-dark: #000000;
JSON
{
  "hex": "#5846e4",
  "rgb": {
    "r": 88,
    "g": 70,
    "b": 228
  },
  "hsl": {
    "h": 246.835,
    "s": 74.528,
    "l": 58.431
  },
  "oklch": {
    "l": 0.51607,
    "c": 0.22708,
    "h": 280
  },
  "luminance": 0.12056
}

Semantic roles & 50–950 ramp

primary
#5846E4
secondary
#DBE2A4
accent
#F137DC
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5846E4

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

Preview Lab → · Contrast checker → · Palette generator →

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