#404255 color

#404255 rgb(64, 66, 85)
Shades of gray

The hex color #404255 is a dark, grayish blue.

In the RGB color model it is made of 25.1% red, 25.9% green and 33.3% blue (64, 66, 85).

Its hue angle is 234°, with 14% saturation and 29% lightness. For print, the CMYK equivalent is 25% cyan, 22% magenta, 0% yellow and 67% black.

The closest named color is Lava Stone (#3C4151), a difference of 2.5 ΔE, a small difference.

White text is the more readable choice on this background (contrast 9.87:1).

#404255 color codes

HEX#404255
RGBrgb(64, 66, 85)
RGB percentrgb(25.1%, 25.9%, 33.3%)
HSLhsl(234, 14%, 29%)
HSV / HSBhsv(234, 25%, 33%)
CMYKcmyk(25%, 22%, 0%, 67%)
CIE LABlab(28.49, 3.96, -11.63)
CIE LCHlch(28.49, 12.28, 288.81)
CIE XYZxyz(5.702, 5.642, 9.381)
Decimal4211285
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #404255, 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 #404255RatioAAAAAAA large
Sample text2.13:1FailFailFail
Sample text9.87:1PassPassPass
#404255 as text onRatioAAAAAAA large
Sample text9.87:1PassPassPass
Sample text2.13: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 #404255 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #404255; }
.text { color: #404255; }
.border { border: 2px solid #404255; }
.transparent { background-color: rgb(64 66 85 / 50%); }
.gradient { background: linear-gradient(to right, #404255, #484055); }
Background
Text color
Border

Similar colors

Closest common color name: Charcoal.

Questions

What color is #404255?
#404255 is a dark, grayish blue, closest to the named color Lava Stone. It belongs to the gray family of colors.
What is the RGB value of #404255?
The RGB value is 64, 66, 85: 64 red, 66 green and 85 blue on a 0 to 255 scale.
What is the complementary color of #404255?
The complementary color is #555340, found by rotating the hue 180° on the color wheel.
Is black or white text better on #404255?
White text. Black text has a contrast ratio of 2.13:1 and white text 9.87:1. WCAG asks for at least 4.5:1 for normal text.