#405074 color

#405074 rgb(64, 80, 116)
Shades of blue

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
RGBrgb(64, 80, 116)
RGB percentrgb(25.1%, 31.4%, 45.5%)
HSLhsl(222, 29%, 35%)
HSV / HSBhsv(222, 45%, 45%)
CMYKcmyk(45%, 31%, 0%, 55%)
CIE LABlab(34.17, 4.11, -22.56)
CIE LCHlch(34.17, 22.93, 280.33)
CIE XYZxyz(8.134, 8.088, 17.652)
Decimal4214900
Short hexNone (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 #405074RatioAAAAAAA large
Sample text2.62:1FailFailFail
Sample text8.02:1PassPassPass
#405074 as text onRatioAAAAAAA large
Sample text8.02:1PassPassPass
Sample text2.62:1FailFailFail

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.

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); }
Background
Text color
Border

Similar colors

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.