#315880 color
The hex color #315880 is a dark, desaturated azure.
In the RGB color model it is made of 19.2% red, 34.5% green and 50.2% blue (49, 88, 128).
Its hue angle is 210°, with 45% saturation and 35% lightness. For print, the CMYK equivalent is 62% cyan, 31% magenta, 0% yellow and 50% black.
The closest named color is Slumber (#2D517C), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.4:1).
#315880 color codes
| HEX | #315880 | |
|---|---|---|
| RGB | rgb(49, 88, 128) | |
| RGB percent | rgb(19.2%, 34.5%, 50.2%) | |
| HSL | hsl(210, 45%, 35%) | |
| HSV / HSB | hsv(210, 62%, 50%) | |
| CMYK | cmyk(62%, 31%, 0%, 50%) | |
| CIE LAB | lab(36.35, -0.72, -26.63) | |
| CIE LCH | lch(36.35, 26.64, 268.44) | |
| CIE XYZ | xyz(8.651, 9.19, 21.736) | |
| Decimal | 3233920 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #315880, 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 #315880 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.84:1 | Fail | Fail | Fail |
| Sample text | 7.4:1 | Pass | Pass | Pass |
| #315880 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.4:1 | Pass | Pass | Pass |
| Sample text | 2.84:1 | Fail | Fail | Fail |
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 #315880 looks to people with the most common types of color vision deficiency.
#475a82Protanopia
no red cones#3d527fDeuteranopia
no green cones#006166Tritanopia
no blue cones#555555Achromatopsia
no color vision
CSS examples
.background { background-color: #315880; }
.text { color: #315880; }
.border { border: 2px solid #315880; }
.transparent { background-color: rgb(49 88 128 / 50%); }
.gradient { background: linear-gradient(to right, #315880, #323180); }
Similar colors
#2d517cSlumber#335588Glimpse of Void#2d5284Galaxy Blue#2255773AM in Shibuya#2d4f83Assassin#3b638cMississippi River#005588Dark Denim#39527dSt. Tropaz
Closest common color name: Denim.
Questions
- What color is #315880?
- #315880 is a dark, desaturated azure, closest to the named color Slumber. It belongs to the blue family of colors.
- What is the RGB value of #315880?
- The RGB value is 49, 88, 128: 49 red, 88 green and 128 blue on a 0 to 255 scale.
- What is the complementary color of #315880?
- The complementary color is #805931, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #315880?
- White text. Black text has a contrast ratio of 2.84:1 and white text 7.4:1. WCAG asks for at least 4.5:1 for normal text.