#302B54 color
The hex color #302B54 is a dark, desaturated blue.
In the RGB color model it is made of 18.8% red, 16.9% green and 32.9% blue (48, 43, 84).
Its hue angle is 247°, with 32% saturation and 25% lightness. For print, the CMYK equivalent is 43% cyan, 49% magenta, 0% yellow and 67% black.
The closest named color is Purple Noir (#322C56), a difference of 0.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.13:1).
#302B54 color codes
| HEX | #302B54 | |
|---|---|---|
| RGB | rgb(48, 43, 84) | |
| RGB percent | rgb(18.8%, 16.9%, 32.9%) | |
| HSL | hsl(247, 32%, 25%) | |
| HSV / HSB | hsv(247, 49%, 33%) | |
| CMYK | cmyk(43%, 49%, 0%, 67%) | |
| CIE LAB | lab(20.03, 13.9, -24.26) | |
| CIE LCH | lch(20.03, 27.95, 299.81) | |
| CIE XYZ | xyz(3.683, 2.996, 8.77) | |
| Decimal | 3156820 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #302B54, 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 #302B54 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.6:1 | Fail | Fail | Fail |
| Sample text | 13.13:1 | Pass | Pass | Pass |
| #302B54 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.13:1 | Pass | Pass | Pass |
| Sample text | 1.6: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 #302B54 looks to people with the most common types of color vision deficiency.
#1c3156Protanopia
no red cones#1c2f53Deuteranopia
no green cones#26333bTritanopia
no blue cones#303030Achromatopsia
no color vision
CSS examples
.background { background-color: #302b54; }
.text { color: #302b54; }
.border { border: 2px solid #302b54; }
.transparent { background-color: rgb(48 43 84 / 50%); }
.gradient { background: linear-gradient(to right, #302b54, #442b54); }
Similar colors
#322c56Purple Noir#2c2c57Deep Sea Base#2a2551Pāua#372d52Midnight Pie#2e305eGalaxea#2a2243Midnight Velvet#222244Black Market#222255Spacescape
Closest common color name: Oxford Blue.
Questions
- What color is #302B54?
- #302B54 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 #302B54?
- The RGB value is 48, 43, 84: 48 red, 43 green and 84 blue on a 0 to 255 scale.
- What is the complementary color of #302B54?
- The complementary color is #4F542B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #302B54?
- White text. Black text has a contrast ratio of 1.6:1 and white text 13.13:1. WCAG asks for at least 4.5:1 for normal text.