Pi color: hex code #314159

#314159 rgb(49, 65, 89)
Shades of blue

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
RGBrgb(49, 65, 89)
RGB percentrgb(19.2%, 25.5%, 34.9%)
HSLhsl(216, 29%, 27%)
HSV / HSBhsv(216, 45%, 35%)
CMYKcmyk(45%, 27%, 0%, 65%)
CIE LABlab(27.17, 0.76, -16.35)
CIE LCHlch(27.17, 16.37, 272.66)
CIE XYZxyz(4.96, 5.155, 10.183)
Decimal3227993
Short hexNone (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 #314159RatioAAAAAAA large
Sample text2.03:1FailFailFail
Sample text10.34:1PassPassPass
#314159 as text onRatioAAAAAAA large
Sample text10.34:1PassPassPass
Sample text2.03:1FailFailFail

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.

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); }
Background
Text color
Border

Similar colors

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.