#312E64 color
The hex color #312E64 is a dark, desaturated blue.
In the RGB color model it is made of 19.2% red, 18% green and 39.2% blue (49, 46, 100).
Its hue angle is 243°, with 37% saturation and 29% lightness. For print, the CMYK equivalent is 51% cyan, 54% magenta, 0% yellow and 61% black.
The closest named color is Galaxea (#2E305E), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.31:1).
#312E64 color codes
| HEX | #312E64 | |
|---|---|---|
| RGB | rgb(49, 46, 100) | |
| RGB percent | rgb(19.2%, 18%, 39.2%) | |
| HSL | hsl(243, 37%, 29%) | |
| HSV / HSB | hsv(243, 54%, 39%) | |
| CMYK | cmyk(51%, 54%, 0%, 61%) | |
| CIE LAB | lab(22.04, 17.49, -31.6) | |
| CIE LCH | lch(22.04, 36.12, 298.96) | |
| CIE XYZ | xyz(4.543, 3.527, 12.495) | |
| Decimal | 3223140 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #312E64, 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 #312E64 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.71:1 | Fail | Fail | Fail |
| Sample text | 12.31:1 | Pass | Pass | Pass |
| #312E64 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.31:1 | Pass | Pass | Pass |
| Sample text | 1.71: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 #312E64 looks to people with the most common types of color vision deficiency.
#153766Protanopia
no red cones#113363Deuteranopia
no green cones#1f3a44Tritanopia
no blue cones#353535Achromatopsia
no color vision
CSS examples
.background { background-color: #312e64; }
.text { color: #312e64; }
.border { border: 2px solid #312e64; }
.transparent { background-color: rgb(49 46 100 / 50%); }
.gradient { background: linear-gradient(to right, #312e64, #4c2e64); }
Similar colors
#2e305eGalaxea#2c2c57Deep Sea Base#322c56Purple Noir#2e2364Indie Go#222255Spacescape#2a2551Pāua#222266Intergalactic Cowboy#432e6fHer Highness
Closest common color name: Dark Slate Blue.
Questions
- What color is #312E64?
- #312E64 is a dark, desaturated blue, closest to the named color Galaxea. It belongs to the blue family of colors.
- What is the RGB value of #312E64?
- The RGB value is 49, 46, 100: 49 red, 46 green and 100 blue on a 0 to 255 scale.
- What is the complementary color of #312E64?
- The complementary color is #61642E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #312E64?
- White text. Black text has a contrast ratio of 1.71:1 and white text 12.31:1. WCAG asks for at least 4.5:1 for normal text.