Huebook

Pi

Pi is a very dark, muted blue color with the hex code #314159 (hue 216°, saturation 29%, lightness 27%).

#314159
NameHEXRGBHSLCMYKOKLCH
Pi#31415949, 65, 89216°, 29%, 27%45, 27, 0, 6537.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.

Pi
  • HEX#314159
  • RGBrgb(49 65 89)
  • HSLhsl(216 29% 27%)

Variations of Pi

Text on Pi

White textThe quick brown fox10.34:1 · AA pass · AAA pass
Black textThe quick brown fox2.03:1 · AA fail · AAA fail

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

Normal #314159
Protanopia #38425A
Deuteranopia #343E58
Tritanopia #234649

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

#DEE4ED
#ADBCD2
#7B93B7
#516C94
#364863
#1B2431

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.

Nearest CSS named colors

Similar dark blue colors

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.