#302F66 color
The hex color #302F66 is a dark, desaturated blue.
In the RGB color model it is made of 18.8% red, 18.4% green and 40% blue (48, 47, 102).
Its hue angle is 241°, with 37% saturation and 29% lightness. For print, the CMYK equivalent is 53% cyan, 54% magenta, 0% yellow and 60% black.
The closest named color is Galaxea (#2E305E), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.18:1).
#302F66 color codes
| HEX | #302F66 | |
|---|---|---|
| RGB | rgb(48, 47, 102) | |
| RGB percent | rgb(18.8%, 18.4%, 40%) | |
| HSL | hsl(241, 37%, 29%) | |
| HSV / HSB | hsv(241, 54%, 40%) | |
| CMYK | cmyk(53%, 54%, 0%, 60%) | |
| CIE LAB | lab(22.37, 17.24, -32.38) | |
| CIE LCH | lch(22.37, 36.68, 298.03) | |
| CIE XYZ | xyz(4.633, 3.62, 13.022) | |
| Decimal | 3157862 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #302F66, 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 #302F66 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.72:1 | Fail | Fail | Fail |
| Sample text | 12.18:1 | Pass | Pass | Pass |
| #302F66 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.18:1 | Pass | Pass | Pass |
| Sample text | 1.72: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 #302F66 looks to people with the most common types of color vision deficiency.
#143868Protanopia
no red cones#103365Deuteranopia
no green cones#1b3b45Tritanopia
no blue cones#353535Achromatopsia
no color vision
CSS examples
.background { background-color: #302f66; }
.text { color: #302f66; }
.border { border: 2px solid #302f66; }
.transparent { background-color: rgb(48 47 102 / 50%); }
.gradient { background: linear-gradient(to right, #302f66, #4c2f66); }
Similar colors
#2e305eGalaxea#2c2c57Deep Sea Base#322c56Purple Noir#2e2364Indie Go#1c2e63Mythical Night#222255Spacescape#222266Intergalactic Cowboy#2a2551Pāua
Closest common color name: Dark Slate Blue.
Questions
- What color is #302F66?
- #302F66 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 #302F66?
- The RGB value is 48, 47, 102: 48 red, 47 green and 102 blue on a 0 to 255 scale.
- What is the complementary color of #302F66?
- The complementary color is #65662F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #302F66?
- White text. Black text has a contrast ratio of 1.72:1 and white text 12.18:1. WCAG asks for at least 4.5:1 for normal text.