#323851 color
The hex color #323851 is a dark, grayish blue.
In the RGB color model it is made of 19.6% red, 22% green and 31.8% blue (50, 56, 81).
Its hue angle is 228°, with 24% saturation and 26% lightness. For print, the CMYK equivalent is 38% cyan, 31% magenta, 0% yellow and 68% black.
The closest named color is Mediaeval Blue (#2E3858), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.54:1).
#323851 color codes
| HEX | #323851 | |
|---|---|---|
| RGB | rgb(50, 56, 81) | |
| RGB percent | rgb(19.6%, 22%, 31.8%) | |
| HSL | hsl(228, 24%, 26%) | |
| HSV / HSB | hsv(228, 38%, 32%) | |
| CMYK | cmyk(38%, 31%, 0%, 68%) | |
| CIE LAB | lab(24, 4.55, -16.01) | |
| CIE LCH | lch(24, 16.65, 285.88) | |
| CIE XYZ | xyz(4.214, 4.1, 8.352) | |
| Decimal | 3291217 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #323851, 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 #323851 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.82:1 | Fail | Fail | Fail |
| Sample text | 11.54:1 | Pass | Pass | Pass |
| #323851 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.54:1 | Pass | Pass | Pass |
| Sample text | 1.82: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 #323851 looks to people with the most common types of color vision deficiency.
#303a52Protanopia
no red cones#2e3850Deuteranopia
no green cones#293d41Tritanopia
no blue cones#393939Achromatopsia
no color vision
CSS examples
.background { background-color: #323851; }
.text { color: #323851; }
.border { border: 2px solid #323851; }
.transparent { background-color: rgb(50 56 81 / 50%); }
.gradient { background: linear-gradient(to right, #323851, #3c3251); }
Similar colors
#2e3858Mediaeval Blue#2c2e47Midnight Masquerade#2b3458Midnight Escapade#333344Shuriken#3e4364Genie#353f51Dark & Stormy#3c4151Lava Stone#303543Total Eclipse
Closest common color name: Prussian Blue.
Questions
- What color is #323851?
- #323851 is a dark, grayish blue, closest to the named color Mediaeval Blue. It belongs to the blue family of colors.
- What is the RGB value of #323851?
- The RGB value is 50, 56, 81: 50 red, 56 green and 81 blue on a 0 to 255 scale.
- What is the complementary color of #323851?
- The complementary color is #514B32, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #323851?
- White text. Black text has a contrast ratio of 1.82:1 and white text 11.54:1. WCAG asks for at least 4.5:1 for normal text.