#302F5F color
The hex color #302F5F is a dark, desaturated blue.
In the RGB color model it is made of 18.8% red, 18.4% green and 37.3% blue (48, 47, 95).
Its hue angle is 241°, with 34% saturation and 28% lightness. For print, the CMYK equivalent is 49% cyan, 51% magenta, 0% yellow and 63% black.
The closest named color is Galaxea (#2E305E), a difference of 0.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.37:1).
#302F5F color codes
| HEX | #302F5F | |
|---|---|---|
| RGB | rgb(48, 47, 95) | |
| RGB percent | rgb(18.8%, 18.4%, 37.3%) | |
| HSL | hsl(241, 34%, 28%) | |
| HSV / HSB | hsv(241, 51%, 37%) | |
| CMYK | cmyk(49%, 51%, 0%, 63%) | |
| CIE LAB | lab(21.9, 14.81, -28.56) | |
| CIE LCH | lch(21.9, 32.17, 297.41) | |
| CIE XYZ | xyz(4.3, 3.487, 11.271) | |
| Decimal | 3157855 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #302F5F, 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 #302F5F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.7:1 | Fail | Fail | Fail |
| Sample text | 12.37:1 | Pass | Pass | Pass |
| #302F5F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.37:1 | Pass | Pass | Pass |
| Sample text | 1.7: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 #302F5F looks to people with the most common types of color vision deficiency.
#1b3661Protanopia
no red cones#18335eDeuteranopia
no green cones#203942Tritanopia
no blue cones#343434Achromatopsia
no color vision
CSS examples
.background { background-color: #302f5f; }
.text { color: #302f5f; }
.border { border: 2px solid #302f5f; }
.transparent { background-color: rgb(48 47 95 / 50%); }
.gradient { background: linear-gradient(to right, #302f5f, #482f5f); }
Similar colors
#2e305eGalaxea#2c2c57Deep Sea Base#322c56Purple Noir#2a2551Pāua#222255Spacescape#2b3458Midnight Escapade#1d2951Space Cadet#372d52Midnight Pie
Closest common color name: Oxford Blue.
Questions
- What color is #302F5F?
- #302F5F 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 #302F5F?
- The RGB value is 48, 47, 95: 48 red, 47 green and 95 blue on a 0 to 255 scale.
- What is the complementary color of #302F5F?
- The complementary color is #5E5F2F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #302F5F?
- White text. Black text has a contrast ratio of 1.7:1 and white text 12.37:1. WCAG asks for at least 4.5:1 for normal text.