#405074 color
The hex color #405074 is a dark, desaturated blue.
In the RGB color model it is made of 25.1% red, 31.4% green and 45.5% blue (64, 80, 116).
Its hue angle is 222°, with 29% saturation and 35% lightness. For print, the CMYK equivalent is 45% cyan, 31% magenta, 0% yellow and 55% black.
The closest named color is Noble Knight (#394D78), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.02:1).
#405074 color codes
| HEX | #405074 | |
|---|---|---|
| RGB | rgb(64, 80, 116) | |
| RGB percent | rgb(25.1%, 31.4%, 45.5%) | |
| HSL | hsl(222, 29%, 35%) | |
| HSV / HSB | hsv(222, 45%, 45%) | |
| CMYK | cmyk(45%, 31%, 0%, 55%) | |
| CIE LAB | lab(34.17, 4.11, -22.56) | |
| CIE LCH | lch(34.17, 22.93, 280.33) | |
| CIE XYZ | xyz(8.134, 8.088, 17.652) | |
| Decimal | 4214900 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #405074, 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 #405074 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.62:1 | Fail | Fail | Fail |
| Sample text | 8.02:1 | Pass | Pass | Pass |
| #405074 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.02:1 | Pass | Pass | Pass |
| Sample text | 2.62: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 #405074 looks to people with the most common types of color vision deficiency.
#435376Protanopia
no red cones#3e4e73Deuteranopia
no green cones#2e575dTritanopia
no blue cones#505050Achromatopsia
no color vision
CSS examples
.background { background-color: #405074; }
.text { color: #405074; }
.border { border: 2px solid #405074; }
.transparent { background-color: rgb(64 80 116 / 50%); }
.gradient { background: linear-gradient(to right, #405074, #4a4074); }
Similar colors
#394d78Noble Knight#384b6bNaval Blue#445780Sailor#39527dSt. Tropaz#4c567aDeep Indigo#3b476bStarlit Night#32496fMidnight Interlude#3a4866Bonne Nuit
Closest common color name: Dark Slate Blue.
Questions
- What color is #405074?
- #405074 is a dark, desaturated blue, closest to the named color Noble Knight. It belongs to the blue family of colors.
- What is the RGB value of #405074?
- The RGB value is 64, 80, 116: 64 red, 80 green and 116 blue on a 0 to 255 scale.
- What is the complementary color of #405074?
- The complementary color is #746440, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #405074?
- White text. Black text has a contrast ratio of 2.62:1 and white text 8.02:1. WCAG asks for at least 4.5:1 for normal text.