#312297 color
The hex color #312297 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.
This exact color is also called Gentian Blue.
White text is the more readable choice on this background (contrast 11.63:1).
#312297 color codes
| HEX | #312297 | |
|---|---|---|
| RGB | rgb(49, 34, 151) | |
| RGB percent | rgb(19.2%, 13.3%, 59.2%) | |
| HSL | hsl(248, 63%, 36%) | |
| HSV / HSB | hsv(248, 77%, 59%) | |
| CMYK | cmyk(68%, 77%, 0%, 41%) | |
| CIE LAB | lab(23.77, 42.29, -61.07) | |
| CIE LCH | lch(23.77, 74.28, 304.7) | |
| CIE XYZ | xyz(7.423, 4.031, 29.659) | |
| Decimal | 3220119 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #312297, 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 #312297 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.81:1 | Fail | Fail | Fail |
| Sample text | 11.63:1 | Pass | Pass | Pass |
| #312297 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.63:1 | Pass | Pass | Pass |
| Sample text | 1.81: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 #312297 looks to people with the most common types of color vision deficiency.
#003d9aProtanopia
no red cones#003495Deuteranopia
no green cones#00445bTritanopia
no blue cones#393939Achromatopsia
no color vision
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); }
Similar colors
#301885Indiglow#082599Deepsea Kraken#002299Space Dust#0c1793Royal#0018a8Dark Galaxy#442288Galactic Civilization#472e97Galactic Purple#2c319bDepths of Night
Closest common color name: Ultramarine.
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 #312297?
- 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 #312297?
- 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.