#302D54 color
The hex color #302D54 is a dark, desaturated blue.
In the RGB color model it is made of 18.8% red, 17.6% green and 32.9% blue (48, 45, 84).
Its hue angle is 245°, with 30% saturation and 25% lightness. For print, the CMYK equivalent is 43% cyan, 46% magenta, 0% yellow and 67% black.
The closest named color is Purple Noir (#322C56), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.89:1).
#302D54 color codes
| HEX | #302D54 | |
|---|---|---|
| RGB | rgb(48, 45, 84) | |
| RGB percent | rgb(18.8%, 17.6%, 32.9%) | |
| HSL | hsl(245, 30%, 25%) | |
| HSV / HSB | hsv(245, 46%, 33%) | |
| CMYK | cmyk(43%, 46%, 0%, 67%) | |
| CIE LAB | lab(20.62, 12.5, -23.32) | |
| CIE LCH | lch(20.62, 26.46, 298.18) | |
| CIE XYZ | xyz(3.757, 3.145, 8.795) | |
| Decimal | 3157332 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #302D54, 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 #302D54 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.63:1 | Fail | Fail | Fail |
| Sample text | 12.89:1 | Pass | Pass | Pass |
| #302D54 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.89:1 | Pass | Pass | Pass |
| Sample text | 1.63: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 #302D54 looks to people with the most common types of color vision deficiency.
#1f3355Protanopia
no red cones#1e3053Deuteranopia
no green cones#26353cTritanopia
no blue cones#323232Achromatopsia
no color vision
CSS examples
.background { background-color: #302d54; }
.text { color: #302d54; }
.border { border: 2px solid #302d54; }
.transparent { background-color: rgb(48 45 84 / 50%); }
.gradient { background: linear-gradient(to right, #302d54, #432d54); }
Similar colors
#322c56Purple Noir#2c2c57Deep Sea Base#372d52Midnight Pie#2e305eGalaxea#2a2551Pāua#222244Black Market#2b3458Midnight Escapade#2a2243Midnight Velvet
Closest common color name: Oxford Blue.
Questions
- What color is #302D54?
- #302D54 is a dark, desaturated blue, closest to the named color Purple Noir. It belongs to the blue family of colors.
- What is the RGB value of #302D54?
- The RGB value is 48, 45, 84: 48 red, 45 green and 84 blue on a 0 to 255 scale.
- What is the complementary color of #302D54?
- The complementary color is #51542D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #302D54?
- White text. Black text has a contrast ratio of 1.63:1 and white text 12.89:1. WCAG asks for at least 4.5:1 for normal text.