#315ED8 color
The hex color #315ED8 is a moderate blue.
In the RGB color model it is made of 19.2% red, 36.9% green and 84.7% blue (49, 94, 216).
Its hue angle is 224°, with 68% saturation and 52% lightness. For print, the CMYK equivalent is 77% cyan, 56% magenta, 0% yellow and 15% black.
The closest named color is Savoy Blue (#4B61D1), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 5.64:1).
#315ED8 color codes
| HEX | #315ED8 | |
|---|---|---|
| RGB | rgb(49, 94, 216) | |
| RGB percent | rgb(19.2%, 36.9%, 84.7%) | |
| HSL | hsl(224, 68%, 52%) | |
| HSV / HSB | hsv(224, 77%, 85%) | |
| CMYK | cmyk(77%, 56%, 0%, 15%) | |
| CIE LAB | lab(43.67, 28.09, -66.93) | |
| CIE LCH | lch(43.67, 72.58, 292.77) | |
| CIE XYZ | xyz(17.66, 13.614, 66.65) | |
| Decimal | 3235544 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #315ED8, 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 #315ED8 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.72:1 | Fail | Fail | Pass |
| Sample text | 5.64:1 | Pass | Fail | Pass |
| #315ED8 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.64:1 | Pass | Fail | Pass |
| Sample text | 3.72: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 #315ED8 looks to people with the most common types of color vision deficiency.
#006fdcProtanopia
no red cones#0060d6Deuteranopia
no green cones#007c92Tritanopia
no blue cones#676767Achromatopsia
no color vision
CSS examples
.background { background-color: #315ed8; }
.text { color: #315ed8; }
.border { border: 2px solid #315ed8; }
.transparent { background-color: rgb(49 94 216 / 50%); }
.gradient { background: linear-gradient(to right, #315ed8, #5731d8); }
Similar colors
#4b61d1Savoy Blue#4466ccGod of Rain#0055ddFrosted Blueberries#0055eeOpulent Blue#4169e1Royal Blue#0066eeEpic Blue#3c69e7Bluetiful#4b57dbWarm Blue
Questions
- What color is #315ED8?
- #315ED8 is a moderate blue, closest to the named color Savoy Blue. It belongs to the blue family of colors.
- What is the RGB value of #315ED8?
- The RGB value is 49, 94, 216: 49 red, 94 green and 216 blue on a 0 to 255 scale.
- What is the complementary color of #315ED8?
- The complementary color is #D8AB31, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #315ED8?
- White text. Black text has a contrast ratio of 3.72:1 and white text 5.64:1. WCAG asks for at least 4.5:1 for normal text.