Pi color: hex code #314159
Pi has the hex code #314159. It is a dark, desaturated azure.
In the RGB color model it is made of 19.2% red, 25.5% green and 34.9% blue (49, 65, 89).
Its hue angle is 216°, with 29% saturation and 27% lightness. For print, the CMYK equivalent is 45% cyan, 27% magenta, 0% yellow and 65% black.
White text is the more readable choice on this background (contrast 10.34:1).
Pi (#314159) color codes
| HEX | #314159 | |
|---|---|---|
| RGB | rgb(49, 65, 89) | |
| RGB percent | rgb(19.2%, 25.5%, 34.9%) | |
| HSL | hsl(216, 29%, 27%) | |
| HSV / HSB | hsv(216, 45%, 35%) | |
| CMYK | cmyk(45%, 27%, 0%, 65%) | |
| CIE LAB | lab(27.17, 0.76, -16.35) | |
| CIE LCH | lch(27.17, 16.37, 272.66) | |
| CIE XYZ | xyz(4.96, 5.155, 10.183) | |
| Decimal | 3227993 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Pi, 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 #314159 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.03:1 | Fail | Fail | Fail |
| Sample text | 10.34:1 | Pass | Pass | Pass |
| #314159 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.34:1 | Pass | Pass | Pass |
| Sample text | 2.03: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 #314159 looks to people with the most common types of color vision deficiency.
#38425aProtanopia
no red cones#343e58Deuteranopia
no green cones#234649Tritanopia
no blue cones#404040Achromatopsia
no color vision
CSS examples
.background { background-color: #314159; }
.text { color: #314159; }
.border { border: 2px solid #314159; }
.transparent { background-color: rgb(49 65 89 / 50%); }
.gradient { background: linear-gradient(to right, #314159, #353159); }
Similar colors
#314662Stay the Night#353f51Dark & Stormy#273c5aNautilus#3a4a63Silent Sea#2c4364Black Turmeric#3a4866Bonne Nuit#384b6bNaval Blue#3c4151Lava Stone
Closest common color name: Charcoal.
See #314159 on its hex code page
Questions
- What color is #314159?
- #314159 is a dark, desaturated azure known as Pi. It belongs to the blue family of colors.
- What is the RGB value of Pi?
- The RGB value is 49, 65, 89: 49 red, 65 green and 89 blue on a 0 to 255 scale.
- What is the complementary color of Pi?
- The complementary color is #594931, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #314159?
- White text. Black text has a contrast ratio of 2.03:1 and white text 10.34:1. WCAG asks for at least 4.5:1 for normal text.