#303954 color
The hex color #303954 is a dark, desaturated blue.
In the RGB color model it is made of 18.8% red, 22.4% green and 32.9% blue (48, 57, 84).
Its hue angle is 225°, with 27% saturation and 26% lightness. For print, the CMYK equivalent is 43% cyan, 32% magenta, 0% yellow and 67% black.
The closest named color is Mediaeval Blue (#2E3858), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.42:1).
#303954 color codes
| HEX | #303954 | |
|---|---|---|
| RGB | rgb(48, 57, 84) | |
| RGB percent | rgb(18.8%, 22.4%, 32.9%) | |
| HSL | hsl(225, 27%, 26%) | |
| HSV / HSB | hsv(225, 43%, 33%) | |
| CMYK | cmyk(43%, 32%, 0%, 67%) | |
| CIE LAB | lab(24.3, 4.18, -17.53) | |
| CIE LCH | lch(24.3, 18.03, 283.42) | |
| CIE XYZ | xyz(4.282, 4.195, 8.97) | |
| Decimal | 3160404 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #303954, 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 #303954 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.84:1 | Fail | Fail | Fail |
| Sample text | 11.42:1 | Pass | Pass | Pass |
| #303954 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.42:1 | Pass | Pass | Pass |
| Sample text | 1.84: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 #303954 looks to people with the most common types of color vision deficiency.
#303b55Protanopia
no red cones#2d3853Deuteranopia
no green cones#253e43Tritanopia
no blue cones#3a3a3aAchromatopsia
no color vision
CSS examples
.background { background-color: #303954; }
.text { color: #303954; }
.border { border: 2px solid #303954; }
.transparent { background-color: rgb(48 57 84 / 50%); }
.gradient { background: linear-gradient(to right, #303954, #393054); }
Similar colors
#2e3858Mediaeval Blue#2b3458Midnight Escapade#273c5aNautilus#314159Pi#2c2e47Midnight Masquerade#3e4364Genie#353f51Dark & Stormy#3a4866Bonne Nuit
Closest common color name: Prussian Blue.
Questions
- What color is #303954?
- #303954 is a dark, desaturated blue, closest to the named color Mediaeval Blue. It belongs to the blue family of colors.
- What is the RGB value of #303954?
- The RGB value is 48, 57, 84: 48 red, 57 green and 84 blue on a 0 to 255 scale.
- What is the complementary color of #303954?
- The complementary color is #544B30, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #303954?
- White text. Black text has a contrast ratio of 1.84:1 and white text 11.42:1. WCAG asks for at least 4.5:1 for normal text.