#6871E4 color
The hex color #6871E4 is a light, moderate blue.
In the RGB color model it is made of 40.8% red, 44.3% green and 89.4% blue (104, 113, 228).
Its hue angle is 236°, with 70% saturation and 65% lightness. For print, the CMYK equivalent is 54% cyan, 50% magenta, 0% yellow and 11% black.
The closest named color is Pan Purple (#657AEF), a difference of 3.5 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.07:1).
#6871E4 color codes
| HEX | #6871E4 | |
|---|---|---|
| RGB | rgb(104, 113, 228) | |
| RGB percent | rgb(40.8%, 44.3%, 89.4%) | |
| HSL | hsl(236, 70%, 65%) | |
| HSV / HSB | hsv(236, 54%, 89%) | |
| CMYK | cmyk(54%, 50%, 0%, 11%) | |
| CIE LAB | lab(52.23, 28.85, -59.74) | |
| CIE LCH | lch(52.23, 66.34, 295.77) | |
| CIE XYZ | xyz(25.613, 20.353, 75.963) | |
| Decimal | 6844900 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #6871E4, 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 #6871E4 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.07:1 | Pass | Fail | Pass |
| Sample text | 4.14:1 | Fail | Fail | Pass |
| #6871E4 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.14:1 | Fail | Fail | Pass |
| Sample text | 5.07:1 | Pass | 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 #6871E4 looks to people with the most common types of color vision deficiency.
#3582e8Protanopia
no red cones#2278e2Deuteranopia
no green cones#298ba0Tritanopia
no blue cones#7d7d7dAchromatopsia
no color vision
CSS examples
.background { background-color: #6871e4; }
.text { color: #6871e4; }
.border { border: 2px solid #6871e4; }
.transparent { background-color: rgb(104 113 228 / 50%); }
.gradient { background: linear-gradient(to right, #6871e4, #9d68e4); }
Similar colors
#657aefPan Purple#5577eeBlue Öyster Cult#7b68eeMedium Slate Blue#4166f5Secret of Mana#4169e1Royal Blue#3c69e7Bluetiful#5260e1Arcane Brew#4477ddSkies of Cyberspace
Questions
- What color is #6871E4?
- #6871E4 is a light, moderate blue, closest to the named color Pan Purple. It belongs to the blue family of colors.
- What is the RGB value of #6871E4?
- The RGB value is 104, 113, 228: 104 red, 113 green and 228 blue on a 0 to 255 scale.
- What is the complementary color of #6871E4?
- The complementary color is #E4DB68, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #6871E4?
- Black text. Black text has a contrast ratio of 5.07:1 and white text 4.14:1. WCAG asks for at least 4.5:1 for normal text.