#42475E color

#42475E rgb(66, 71, 94)
Shades of blue

The hex color #42475E is a dark, grayish blue.

In the RGB color model it is made of 25.9% red, 27.8% green and 36.9% blue (66, 71, 94).

Its hue angle is 229°, with 18% saturation and 31% lightness. For print, the CMYK equivalent is 30% cyan, 24% magenta, 0% yellow and 63% black.

The closest named color is Bonne Nuit (#3A4866), a difference of 3.8 ΔE, a small difference.

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

#42475E color codes

HEX#42475E
RGBrgb(66, 71, 94)
RGB percentrgb(25.9%, 27.8%, 36.9%)
HSLhsl(229, 18%, 31%)
HSV / HSBhsv(229, 30%, 37%)
CMYKcmyk(30%, 24%, 0%, 63%)
CIE LABlab(30.58, 3.92, -14.22)
CIE LCHlch(30.58, 14.75, 285.42)
CIE XYZxyz(6.52, 6.473, 11.493)
Decimal4343646
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #42475e; }
.text { color: #42475e; }
.border { border: 2px solid #42475e; }
.transparent { background-color: rgb(66 71 94 / 50%); }
.gradient { background: linear-gradient(to right, #42475e, #4b425e); }
Background
Text color
Border

Similar colors

Closest common color name: Charcoal.

Questions

What color is #42475E?
#42475E is a dark, grayish blue, closest to the named color Bonne Nuit. It belongs to the blue family of colors.
What is the RGB value of #42475E?
The RGB value is 66, 71, 94: 66 red, 71 green and 94 blue on a 0 to 255 scale.
What is the complementary color of #42475E?
The complementary color is #5E5942, found by rotating the hue 180° on the color wheel.
Is black or white text better on #42475E?
White text. Black text has a contrast ratio of 2.29:1 and white text 9.15:1. WCAG asks for at least 4.5:1 for normal text.