#5846CF#5846CF

#5846CF is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 49.8% C 0.202 H 282.2°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#5846CF
RGBrgb(88, 70, 207)
HSLhsl(248, 59%, 54%)
HSVhsv(248, 66%, 81%)
CMYKcmyk(57.5%, 66.2%, 0%, 18.8%)
CIE-LABlab(39.51, 45.03, -68.45)
CIE-LCHlch(39.51, 81.94, 303.34°)
OKLaboklab(49.77% 0.0425 -0.197)
OKLCHoklch(49.77% 0.202 282.2)
XYZxyz(17.4737, 10.9589, 60.2139)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5846CF #BDCF46
analogous
#4679CF #5846CF #9D46CF
triadic
#5846CF #CF5846 #46CF58
tetradic
#5846CF #CF4679 #BDCF46 #46CF9D
square
#5846CF #CF4679 #BDCF46 #46CF9D
split-complementary
#5846CF #CF9D46 #79CF46
monochromatic
#2C207B #3D2CAB #5846CF #8477DC #B0A7E8

Accessibility & contrast

On white

6.58
#5846CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#5846CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5846CF
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5846CF#FFFFFF#000000##FFFFFF
##5846CF1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D3
Deuteranopia (green-blind)
#0058CC
Tritanopia (blue-blind)
#126984
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5846cf;
/* rgb */ color: rgb(88, 70, 207);
/* oklch */ color: oklch(49.8% 0.202 282.2);
Tailwind
colors: {
  custom: {
    50: '#937bdf',
    500: '#5846cf',
    950: '#000000',
  },
}
SCSS
$custom: #5846cf;
$custom-light: #937bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#5846cf",
  "rgb": {
    "r": 88,
    "g": 70,
    "b": 207
  },
  "hsl": {
    "h": 247.883,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.49769,
    "c": 0.20151,
    "h": 282.2
  },
  "luminance": 0.1096
}

Semantic roles & 50–950 ramp

primary
#5846CF
secondary
#CED59B
accent
#E246CD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5846CF

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

Preview Lab → · Contrast checker → · Palette generator →

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