#5846CB#5846CB

#5846CB is a mid, vivid blue. Relative luminance 0.108; OKLCH L 49.4% C 0.197 H 282.6°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#5846CB
RGBrgb(88, 70, 203)
HSLhsl(248, 56%, 54%)
HSVhsv(248, 66%, 80%)
CMYKcmyk(56.7%, 65.5%, 0%, 20.4%)
CIE-LABlab(39.18, 43.80, -66.68)
CIE-LCHlch(39.18, 79.78, 303.30°)
OKLaboklab(49.43% 0.043 -0.1917)
OKLCHoklch(49.43% 0.197 282.6)
XYZxyz(16.9908, 10.7657, 57.6710)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5846CB #B9CB46
analogous
#4676CB #5846CB #9A46CB
triadic
#5846CB #CB5846 #46CB58
tetradic
#5846CB #CB4676 #B9CB46 #46CB9A
square
#5846CB #CB4676 #B9CB46 #46CB9A
split-complementary
#5846CB #CB9A46 #76CB46
monochromatic
#2C2176 #3F2EA5 #5846CB #8376D8 #AEA6E6

Accessibility & contrast

On white

6.66
#5846CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#5846CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5846CB
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5846CB#FFFFFF#000000##FFFFFF
##5846CB1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CF
Deuteranopia (green-blind)
#0058C8
Tritanopia (blue-blind)
#1B6882
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5846cb;
/* rgb */ color: rgb(88, 70, 203);
/* oklch */ color: oklch(49.4% 0.197 282.6);
Tailwind
colors: {
  custom: {
    50: '#927bdc',
    500: '#5846cb',
    950: '#000000',
  },
}
SCSS
$custom: #5846cb;
$custom-light: #927bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#5846cb",
  "rgb": {
    "r": 88,
    "g": 70,
    "b": 203
  },
  "hsl": {
    "h": 248.12,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.4943,
    "c": 0.19651,
    "h": 282.6
  },
  "luminance": 0.10767
}

Semantic roles & 50–950 ramp

primary
#5846CB
secondary
#CBD39A
accent
#DF48CB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5846CB

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

Preview Lab → · Contrast checker → · Palette generator →

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