Assassin color: hex code #2D4F83
Assassin has the hex code #2D4F83. It is a dark, desaturated azure.
In the RGB color model it is made of 17.6% red, 31% green and 51.4% blue (45, 79, 131).
Its hue angle is 216°, with 49% saturation and 35% lightness. For print, the CMYK equivalent is 66% cyan, 40% magenta, 0% yellow and 49% black.
White text is the more readable choice on this background (contrast 8.21:1).
Assassin (#2D4F83) color codes
| HEX | #2D4F83 | |
|---|---|---|
| RGB | rgb(45, 79, 131) | |
| RGB percent | rgb(17.6%, 31%, 51.4%) | |
| HSL | hsl(216, 49%, 35%) | |
| HSV / HSB | hsv(216, 66%, 51%) | |
| CMYK | cmyk(66%, 40%, 0%, 49%) | |
| CIE LAB | lab(33.54, 5.36, -32.92) | |
| CIE LCH | lch(33.54, 33.36, 279.24) | |
| CIE XYZ | xyz(7.973, 7.788, 22.551) | |
| Decimal | 2969475 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Assassin, 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 #2D4F83 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.56:1 | Fail | Fail | Fail |
| Sample text | 8.21:1 | Pass | Pass | Pass |
| #2D4F83 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.21:1 | Pass | Pass | Pass |
| Sample text | 2.56: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 #2D4F83 looks to people with the most common types of color vision deficiency.
#385385Protanopia
no red cones#2c4b82Deuteranopia
no green cones#005b62Tritanopia
no blue cones#4f4f4fAchromatopsia
no color vision
CSS examples
.background { background-color: #2d4f83; }
.text { color: #2d4f83; }
.border { border: 2px solid #2d4f83; }
.transparent { background-color: rgb(45 79 131 / 50%); }
.gradient { background: linear-gradient(to right, #2d4f83, #362d83); }
Similar colors
#2d5284Galaxy Blue#234e86Night Mode#2d517cSlumber#2e5090Nightly Activities#2e4a7dNautical#335588Glimpse of Void#1c4c8cOlympian Blue#1c4d8fDancing Sea
Closest common color name: Cobalt Blue.
See #2D4F83 on its hex code page
Questions
- What color is #2D4F83?
- #2D4F83 is a dark, desaturated azure known as Assassin. It belongs to the blue family of colors.
- What is the RGB value of Assassin?
- The RGB value is 45, 79, 131: 45 red, 79 green and 131 blue on a 0 to 255 scale.
- What is the complementary color of Assassin?
- The complementary color is #83612D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2D4F83?
- White text. Black text has a contrast ratio of 2.56:1 and white text 8.21:1. WCAG asks for at least 4.5:1 for normal text.