Bonne Nuit color: hex code #3A4866
Bonne Nuit has the hex code #3A4866. It is a dark, desaturated blue.
In the RGB color model it is made of 22.7% red, 28.2% green and 40% blue (58, 72, 102).
Its hue angle is 221°, with 28% saturation and 31% lightness. For print, the CMYK equivalent is 43% cyan, 29% magenta, 0% yellow and 60% black.
White text is the more readable choice on this background (contrast 9.14:1).
Bonne Nuit (#3A4866) color codes
| HEX | #3A4866 | |
|---|---|---|
| RGB | rgb(58, 72, 102) | |
| RGB percent | rgb(22.7%, 28.2%, 40%) | |
| HSL | hsl(221, 28%, 31%) | |
| HSV / HSB | hsv(221, 43%, 40%) | |
| CMYK | cmyk(43%, 29%, 0%, 60%) | |
| CIE LAB | lab(30.62, 3.08, -19.29) | |
| CIE LCH | lch(30.62, 19.54, 279.07) | |
| CIE XYZ | xyz(6.46, 6.493, 13.481) | |
| Decimal | 3819622 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Bonne Nuit, 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 #3A4866 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.3:1 | Fail | Fail | Fail |
| Sample text | 9.14:1 | Pass | Pass | Pass |
| #3A4866 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.14:1 | Pass | Pass | Pass |
| Sample text | 2.3: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 #3A4866 looks to people with the most common types of color vision deficiency.
#3e4a67Protanopia
no red cones#394665Deuteranopia
no green cones#2b4e52Tritanopia
no blue cones#484848Achromatopsia
no color vision
CSS examples
.background { background-color: #3a4866; }
.text { color: #3a4866; }
.border { border: 2px solid #3a4866; }
.transparent { background-color: rgb(58 72 102 / 50%); }
.gradient { background: linear-gradient(to right, #3a4866, #423a66); }
Similar colors
#384b6bNaval Blue#3b476bStarlit Night#34466cForlorn Cruise#3a4a63Silent Sea#32496fMidnight Interlude#314662Stay the Night#2c4364Black Turmeric#314159Pi
Closest common color name: Dark Slate Blue.
See #3A4866 on its hex code page
Questions
- What color is #3A4866?
- #3A4866 is a dark, desaturated blue known as Bonne Nuit. It belongs to the blue family of colors.
- What is the RGB value of Bonne Nuit?
- The RGB value is 58, 72, 102: 58 red, 72 green and 102 blue on a 0 to 255 scale.
- What is the complementary color of Bonne Nuit?
- The complementary color is #66583A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #3A4866?
- White text. Black text has a contrast ratio of 2.3:1 and white text 9.14:1. WCAG asks for at least 4.5:1 for normal text.