#302F5D color
The hex color #302F5D is a dark, desaturated blue.
In the RGB color model it is made of 18.8% red, 18.4% green and 36.5% blue (48, 47, 93).
Its hue angle is 241°, with 33% saturation and 27% lightness. For print, the CMYK equivalent is 48% cyan, 49% magenta, 0% yellow and 64% black.
The closest named color is Galaxea (#2E305E), a difference of 0.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.42:1).
#302F5D color codes
| HEX | #302F5D | |
|---|---|---|
| RGB | rgb(48, 47, 93) | |
| RGB percent | rgb(18.8%, 18.4%, 36.5%) | |
| HSL | hsl(241, 33%, 27%) | |
| HSV / HSB | hsv(241, 49%, 36%) | |
| CMYK | cmyk(48%, 49%, 0%, 64%) | |
| CIE LAB | lab(21.77, 14.12, -27.46) | |
| CIE LCH | lch(21.77, 30.88, 297.22) | |
| CIE XYZ | xyz(4.211, 3.452, 10.798) | |
| Decimal | 3157853 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #302F5D, 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 #302F5D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.69:1 | Fail | Fail | Fail |
| Sample text | 12.42:1 | Pass | Pass | Pass |
| #302F5D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.42:1 | Pass | Pass | Pass |
| Sample text | 1.69: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 #302F5D looks to people with the most common types of color vision deficiency.
#1d365fProtanopia
no red cones#1a335cDeuteranopia
no green cones#213941Tritanopia
no blue cones#343434Achromatopsia
no color vision
CSS examples
.background { background-color: #302f5d; }
.text { color: #302f5d; }
.border { border: 2px solid #302f5d; }
.transparent { background-color: rgb(48 47 93 / 50%); }
.gradient { background: linear-gradient(to right, #302f5d, #472f5d); }
Similar colors
#2e305eGalaxea#2c2c57Deep Sea Base#322c56Purple Noir#2a2551Pāua#2b3458Midnight Escapade#372d52Midnight Pie#222255Spacescape#1d2951Space Cadet
Closest common color name: Oxford Blue.
Questions
- What color is #302F5D?
- #302F5D 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 #302F5D?
- The RGB value is 48, 47, 93: 48 red, 47 green and 93 blue on a 0 to 255 scale.
- What is the complementary color of #302F5D?
- The complementary color is #5C5D2F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #302F5D?
- White text. Black text has a contrast ratio of 1.69:1 and white text 12.42:1. WCAG asks for at least 4.5:1 for normal text.