Pretty Twilight Night color: hex code #254770
Pretty Twilight Night has the hex code #254770. It is a dark, moderate azure.
In the RGB color model it is made of 14.5% red, 27.8% green and 43.9% blue (37, 71, 112).
Its hue angle is 213°, with 50% saturation and 29% lightness. For print, the CMYK equivalent is 67% cyan, 37% magenta, 0% yellow and 56% black.
White text is the more readable choice on this background (contrast 9.49:1).
Pretty Twilight Night (#254770) color codes
| HEX | #254770 | |
|---|---|---|
| RGB | rgb(37, 71, 112) | |
| RGB percent | rgb(14.5%, 27.8%, 43.9%) | |
| HSL | hsl(213, 50%, 29%) | |
| HSV / HSB | hsv(213, 67%, 44%) | |
| CMYK | cmyk(67%, 37%, 0%, 56%) | |
| CIE LAB | lab(29.59, 1.93, -27.35) | |
| CIE LCH | lch(29.59, 27.42, 274.03) | |
| CIE XYZ | xyz(5.94, 6.069, 16.185) | |
| Decimal | 2443120 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Pretty Twilight Night, 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 #254770 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.21:1 | Fail | Fail | Fail |
| Sample text | 9.49:1 | Pass | Pass | Pass |
| #254770 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.49:1 | Pass | Pass | Pass |
| Sample text | 2.21: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 #254770 looks to people with the most common types of color vision deficiency.
#354a72Protanopia
no red cones#2b426fDeuteranopia
no green cones#005056Tritanopia
no blue cones#464646Achromatopsia
no color vision
CSS examples
.background { background-color: #254770; }
.text { color: #254770; }
.border { border: 2px solid #254770; }
.transparent { background-color: rgb(37 71 112 / 50%); }
.gradient { background: linear-gradient(to right, #254770, #282570); }
Similar colors
#1b416fAegean Blue#27426bNightlife#32496fMidnight Interlude#314a76Dragonfly#2e4a7dNautical#2d4470Blue Funk#2c4364Black Turmeric#004477Mermaid Blues
Closest common color name: Prussian Blue.
See #254770 on its hex code page
Questions
- What color is #254770?
- #254770 is a dark, moderate azure known as Pretty Twilight Night. It belongs to the blue family of colors.
- What is the RGB value of Pretty Twilight Night?
- The RGB value is 37, 71, 112: 37 red, 71 green and 112 blue on a 0 to 255 scale.
- What is the complementary color of Pretty Twilight Night?
- The complementary color is #704E25, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #254770?
- White text. Black text has a contrast ratio of 2.21:1 and white text 9.49:1. WCAG asks for at least 4.5:1 for normal text.