#5846C7#5846C7

#5846C7 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 49.1% C 0.191 H 283.1°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#5846C7
RGBrgb(88, 70, 199)
HSLhsl(248, 54%, 53%)
HSVhsv(248, 65%, 78%)
CMYKcmyk(55.8%, 64.8%, 0%, 22%)
CIE-LABlab(38.86, 42.57, -64.88)
CIE-LCHlch(38.86, 77.60, 303.27°)
OKLaboklab(49.1% 0.0435 -0.1865)
OKLCHoklch(49.1% 0.191 283.1)
XYZxyz(16.5203, 10.5775, 55.1929)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5846C7 #B5C746
analogous
#4674C7 #5846C7 #9846C7
triadic
#5846C7 #C75846 #46C758
tetradic
#5846C7 #C74674 #B5C746 #46C798
square
#5846C7 #C74674 #B5C746 #46C798
split-complementary
#5846C7 #C79846 #74C746
monochromatic
#2D2271 #4030A0 #5846C7 #8275D5 #ADA4E3

Accessibility & contrast

On white

6.74
#5846C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#5846C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5846C7
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5846C7#FFFFFF#000000##FFFFFF
##5846C71.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CB
Deuteranopia (green-blind)
#0057C4
Tritanopia (blue-blind)
#226680
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5846c7;
/* rgb */ color: rgb(88, 70, 199);
/* oklch */ color: oklch(49.1% 0.191 283.1);
Tailwind
colors: {
  custom: {
    50: '#927bd9',
    500: '#5846c7',
    950: '#000000',
  },
}
SCSS
$custom: #5846c7;
$custom-light: #927bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#5846c7",
  "rgb": {
    "r": 88,
    "g": 70,
    "b": 199
  },
  "hsl": {
    "h": 248.372,
    "s": 53.527,
    "l": 52.745
  },
  "oklch": {
    "l": 0.49095,
    "c": 0.19148,
    "h": 283.1
  },
  "luminance": 0.10579
}

Semantic roles & 50–950 ramp

primary
#5846C7
secondary
#C9D098
accent
#DD4BC9
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5846C7

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

Preview Lab → · Contrast checker → · Palette generator →

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