#5846CC#5846CC

#5846CC is a mid, vivid blue. Relative luminance 0.108; OKLCH L 49.5% C 0.198 H 282.5°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#5846CC
RGBrgb(88, 70, 204)
HSLhsl(248, 57%, 54%)
HSVhsv(248, 66%, 80%)
CMYKcmyk(56.9%, 65.7%, 0%, 20%)
CIE-LABlab(39.26, 44.11, -67.12)
CIE-LCHlch(39.26, 80.32, 303.31°)
OKLaboklab(49.51% 0.0429 -0.1931)
OKLCHoklch(49.51% 0.198 282.5)
XYZxyz(17.1104, 10.8136, 58.3006)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5846CC #BACC46
analogous
#4677CC #5846CC #9B46CC
triadic
#5846CC #CC5846 #46CC58
tetradic
#5846CC #CC4677 #BACC46 #46CC9B
square
#5846CC #CC4677 #BACC46 #46CC9B
split-complementary
#5846CC #CC9B46 #77CC46
monochromatic
#2C2177 #3E2EA7 #5846CC #8376D9 #AFA6E6

Accessibility & contrast

On white

6.64
#5846CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#5846CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5846CC
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5846CC#FFFFFF#000000##FFFFFF
##5846CC1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D0
Deuteranopia (green-blind)
#0058C9
Tritanopia (blue-blind)
#196883
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5846cc;
/* rgb */ color: rgb(88, 70, 204);
/* oklch */ color: oklch(49.5% 0.198 282.5);
Tailwind
colors: {
  custom: {
    50: '#927bdd',
    500: '#5846cc',
    950: '#000000',
  },
}
SCSS
$custom: #5846cc;
$custom-light: #927bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5846cc",
  "rgb": {
    "r": 88,
    "g": 70,
    "b": 204
  },
  "hsl": {
    "h": 248.06,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.49514,
    "c": 0.19777,
    "h": 282.5
  },
  "luminance": 0.10815
}

Semantic roles & 50–950 ramp

primary
#5846CC
secondary
#CCD49A
accent
#E048CC
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5846CC

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

Preview Lab → · Contrast checker → · Palette generator →

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