Pi
Pi is a very dark, muted blue color with the hex code #314159 (hue 216°, saturation 29%, lightness 27%).
- HEX
#314159 - RGB
rgb(49 65 89) - HSL
hsl(216 29% 27%) - OKLCH
oklch(37.2% 0.046 258)
| Name | HEX | RGB | HSL | CMYK | OKLCH | |
|---|---|---|---|---|---|---|
| Pi | #314159 | 49, 65, 89 | 216°, 29%, 27% | 45, 27, 0, 65 | 37.2% 0.046 258 |
Contrast with white text 10.34:1, with black text 2.03:1 — use white text on Pi.
Huebook · Maintained by Iris Marlow (pen name) · automated checks · Data: color-name-list (MIT) for names; CSS Color Module Level 4 (W3C) for CSS named colors · Updated · How the checks work
Adjust Pi
Move the sliders to make Pi lighter, darker, more or less vivid, or shift its hue. The nearest named colors update as you go.
- HEX
#314159 - RGB
rgb(49 65 89) - HSL
hsl(216 29% 27%)
Variations of Pi
Text on Pi
WCAG 2 asks for 4.5:1 for body text and 3:1 for large text (AA), and 7:1 and 4.5:1 for the stricter AAA level.
Pi with color blindness
How Pi appears with a complete loss of red (protanopia), green (deuteranopia) or blue (tritanopia) cones, simulated with the Machado, Oliveira and Fernandes (2009) model. Red-green color blindness affects about 1 in 12 men and 1 in 200 women, so do not rely on color alone to carry meaning.
Tints and shades
Colors that go with Pi
Six color schemes built on Pi with classic harmony rules. The complementary scheme pairs it with Hóng Zōng Brown (#564A33), the color opposite it on the color wheel.
- Pi Complementary Color Scheme#314159#546E91#564A33#2C201A#9A7F55
- Pi Analogous Color Scheme#305A4A#30525B#314159#333355#4A2D57
- Pi Triadic Color Scheme#314159#5A3140#415B36#527498#23191E
- Pi Split-complementary Color Scheme#314159#5A3532#545A2C#181B26#8A534E
- Pi Tetradic Color Scheme#314159#5B3256#564A33#305D35#527498
- Pi Monochromatic Color Scheme#0B0C14#181B26#314159#446688#718BAE
Nearest CSS named colors
- Dark Slate Gray (
darkslategray): Dark Slate Gray (#2F4F4F) is lighter than Pi (relative luminance 0.068 vs 0.052) and equally saturated, with its hue 36° away. - Dark Slate Blue (
darkslateblue): Dark Slate Blue (#483D8B) is lighter than Pi (relative luminance 0.066 vs 0.052) and more saturated, with its hue 32° away. - Midnight Blue (
midnightblue): Midnight Blue (#191970) is darker than Pi (relative luminance 0.021 vs 0.052) and more saturated, with its hue 24° away. - Rebecca Purple (
rebeccapurple): Rebecca Purple (#663399) is lighter than Pi (relative luminance 0.075 vs 0.052) and more saturated, with its hue 54° away.
Similar dark blue colors
- 20000 Leagues Under the Sea#191970
- 3AM in Shibuya#225577
- Abyssal#404C57
- Aegean Blue#1B416F
- Alone in the Dark#000066
- Assassin#2D4F83
- Astral#376F89
- Atlantic Navy#13336F
- Atlantis#336172
- Below the Surface#0A2F7C
- Beyond the Sea#005784
- Black Market#222244
- Black Sea Night#052462
- Black Turmeric#2C4364
- Blue Chip#1D5699
- Blue Funk#2D4470
- Blue Hour#0034AB
- Blue Screen of Death#0033BB
Questions
What is the hex code for Pi?
#314159 — RGB 49, 65, 89, HSL 216°, 29%, 27%.
Is Pi a warm or cool color?
Cool — its hue sits at 216° on the color wheel.