#5846CD#5846CD

#5846CD is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.6% C 0.199 H 282.4°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#5846CD
RGBrgb(88, 70, 205)
HSLhsl(248, 57%, 54%)
HSVhsv(248, 66%, 80%)
CMYKcmyk(57.1%, 65.9%, 0%, 19.6%)
CIE-LABlab(39.35, 44.42, -67.57)
CIE-LCHlch(39.35, 80.86, 303.32°)
OKLaboklab(49.6% 0.0428 -0.1944)
OKLCHoklch(49.6% 0.199 282.4)
XYZxyz(17.2307, 10.8617, 58.9343)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5846CD #BBCD46
analogous
#4678CD #5846CD #9C46CD
triadic
#5846CD #CD5846 #46CD58
tetradic
#5846CD #CD4678 #BBCD46 #46CD9C
square
#5846CD #CD4678 #BBCD46 #46CD9C
split-complementary
#5846CD #CD9C46 #78CD46
monochromatic
#2C2078 #3E2DA8 #5846CD #8376DA #AFA6E7

Accessibility & contrast

On white

6.62
#5846CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#5846CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5846CD
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5846CD#FFFFFF#000000##FFFFFF
##5846CD1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D1
Deuteranopia (green-blind)
#0058CA
Tritanopia (blue-blind)
#176883
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5846cd;
/* rgb */ color: rgb(88, 70, 205);
/* oklch */ color: oklch(49.6% 0.199 282.4);
Tailwind
colors: {
  custom: {
    50: '#927bdd',
    500: '#5846cd',
    950: '#000000',
  },
}
SCSS
$custom: #5846cd;
$custom-light: #927bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5846cd",
  "rgb": {
    "r": 88,
    "g": 70,
    "b": 205
  },
  "hsl": {
    "h": 248,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.49599,
    "c": 0.19902,
    "h": 282.4
  },
  "luminance": 0.10863
}

Semantic roles & 50–950 ramp

primary
#5846CD
secondary
#CDD49B
accent
#E147CC
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5846CD

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

Preview Lab → · Contrast checker → · Palette generator →

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