Night Mode color: hex code #234E86
Night Mode has the hex code #234E86. It is a dark, moderate azure.
In the RGB color model it is made of 13.7% red, 30.6% green and 52.5% blue (35, 78, 134).
Its hue angle is 214°, with 59% saturation and 33% lightness. For print, the CMYK equivalent is 74% cyan, 42% magenta, 0% yellow and 47% black.
White text is the more readable choice on this background (contrast 8.38:1).
Night Mode (#234E86) color codes
| HEX | #234E86 | |
|---|---|---|
| RGB | rgb(35, 78, 134) | |
| RGB percent | rgb(13.7%, 30.6%, 52.5%) | |
| HSL | hsl(214, 59%, 33%) | |
| HSV / HSB | hsv(214, 74%, 53%) | |
| CMYK | cmyk(74%, 42%, 0%, 47%) | |
| CIE LAB | lab(32.98, 5.42, -35.69) | |
| CIE LCH | lch(32.98, 36.1, 278.64) | |
| CIE XYZ | xyz(7.719, 7.526, 23.596) | |
| Decimal | 2313862 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Night Mode, 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 #234E86 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.51:1 | Fail | Fail | Fail |
| Sample text | 8.38:1 | Pass | Pass | Pass |
| #234E86 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.38:1 | Pass | Pass | Pass |
| Sample text | 2.51: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 #234E86 looks to people with the most common types of color vision deficiency.
#345388Protanopia
no red cones#244985Deuteranopia
no green cones#005b63Tritanopia
no blue cones#4e4e4eAchromatopsia
no color vision
CSS examples
.background { background-color: #234e86; }
.text { color: #234e86; }
.border { border: 2px solid #234e86; }
.transparent { background-color: rgb(35 78 134 / 50%); }
.gradient { background: linear-gradient(to right, #234e86, #2a2386); }
Similar colors
#1c4c8cOlympian Blue#1c4d8fDancing Sea#2d4f83Assassin#2d5284Galaxy Blue#2d517cSlumber#244e94Le Grand Bleu#2e5090Nightly Activities#1e488fNuit Blanche
Closest common color name: Cobalt Blue.
See #234E86 on its hex code page
Questions
- What color is #234E86?
- #234E86 is a dark, moderate azure known as Night Mode. It belongs to the blue family of colors.
- What is the RGB value of Night Mode?
- The RGB value is 35, 78, 134: 35 red, 78 green and 134 blue on a 0 to 255 scale.
- What is the complementary color of Night Mode?
- The complementary color is #865B23, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #234E86?
- White text. Black text has a contrast ratio of 2.51:1 and white text 8.38:1. WCAG asks for at least 4.5:1 for normal text.