#5646CB color
The hex color #5646CB is a moderate blue.
In the RGB color model it is made of 33.7% red, 27.5% green and 79.6% blue (86, 70, 203).
Its hue angle is 247°, with 56% saturation and 54% lightness. For print, the CMYK equivalent is 58% cyan, 66% magenta, 0% yellow and 20% black.
The closest named color is Royal Nightcore (#533CC6), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.7:1).
#5646CB color codes
| HEX | #5646CB | |
|---|---|---|
| RGB | rgb(86, 70, 203) | |
| RGB percent | rgb(33.7%, 27.5%, 79.6%) | |
| HSL | hsl(247, 56%, 54%) | |
| HSV / HSB | hsv(247, 66%, 80%) | |
| CMYK | cmyk(58%, 66%, 0%, 20%) | |
| CIE LAB | lab(39.02, 43.48, -66.95) | |
| CIE LCH | lch(39.02, 79.83, 303) | |
| CIE XYZ | xyz(16.804, 10.669, 57.662) | |
| Decimal | 5654219 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5646CB, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #5646CB | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.13:1 | Fail | Fail | Pass |
| Sample text | 6.7:1 | Pass | Fail | Pass |
| #5646CB as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.7:1 | Pass | Fail | Pass |
| Sample text | 3.13:1 | Fail | Fail | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #5646CB looks to people with the most common types of color vision deficiency.
#0060cfProtanopia
no red cones#0057c8Deuteranopia
no green cones#106882Tritanopia
no blue cones#5c5c5cAchromatopsia
no color vision
CSS examples
.background { background-color: #5646cb; }
.text { color: #5646cb; }
.border { border: 2px solid #5646cb; }
.transparent { background-color: rgb(86 70 203 / 50%); }
.gradient { background: linear-gradient(to right, #5646cb, #9946cb); }
Similar colors
#533cc6Royal Nightcore#5539ccBlurple#7442c8Purple Rain#4b57dbWarm Blue#6633bbPurple Emperor#7736d9Hokkaido Lavender#6a5acdSlate Blue#1c39bbPersian Blue
Questions
- What color is #5646CB?
- #5646CB is a moderate blue, closest to the named color Royal Nightcore. It belongs to the blue family of colors.
- What is the RGB value of #5646CB?
- The RGB value is 86, 70, 203: 86 red, 70 green and 203 blue on a 0 to 255 scale.
- What is the complementary color of #5646CB?
- The complementary color is #BBCB46, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5646CB?
- White text. Black text has a contrast ratio of 3.13:1 and white text 6.7:1. WCAG asks for at least 4.5:1 for normal text.