Gentian Blue color: hex code #312297

#312297 rgb(49, 34, 151)
Shades of blue

Gentian Blue has the hex code #312297. It is a dark, moderate blue.

In the RGB color model it is made of 19.2% red, 13.3% green and 59.2% blue (49, 34, 151).

Its hue angle is 248°, with 63% saturation and 36% lightness. For print, the CMYK equivalent is 68% cyan, 77% magenta, 0% yellow and 41% black.

White text is the more readable choice on this background (contrast 11.63:1).

Gentian Blue (#312297) color codes

HEX#312297
RGBrgb(49, 34, 151)
RGB percentrgb(19.2%, 13.3%, 59.2%)
HSLhsl(248, 63%, 36%)
HSV / HSBhsv(248, 77%, 59%)
CMYKcmyk(68%, 77%, 0%, 41%)
CIE LABlab(23.77, 42.29, -61.07)
CIE LCHlch(23.77, 74.28, 304.7)
CIE XYZxyz(7.423, 4.031, 29.659)
Decimal3220119
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with Gentian Blue, 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 #312297RatioAAAAAAA large
Sample text1.81:1FailFailFail
Sample text11.63:1PassPassPass
#312297 as text onRatioAAAAAAA large
Sample text11.63:1PassPassPass
Sample text1.81: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 #312297 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #312297; }
.text { color: #312297; }
.border { border: 2px solid #312297; }
.transparent { background-color: rgb(49 34 151 / 50%); }
.gradient { background: linear-gradient(to right, #312297, #6c2297); }
Background
Text color
Border

Similar colors

Closest common color name: Ultramarine.

See #312297 on its hex code page

Questions

What color is #312297?
#312297 is a dark, moderate blue known as Gentian Blue. It belongs to the blue family of colors.
What is the RGB value of Gentian Blue?
The RGB value is 49, 34, 151: 49 red, 34 green and 151 blue on a 0 to 255 scale.
What is the complementary color of Gentian Blue?
The complementary color is #889722, found by rotating the hue 180° on the color wheel.
Is black or white text better on #312297?
White text. Black text has a contrast ratio of 1.81:1 and white text 11.63:1. WCAG asks for at least 4.5:1 for normal text.