#303A84 color
The hex color #303A84 is a dark, desaturated blue.
In the RGB color model it is made of 18.8% red, 22.7% green and 51.8% blue (48, 58, 132).
Its hue angle is 233°, with 47% saturation and 35% lightness. For print, the CMYK equivalent is 64% cyan, 56% magenta, 0% yellow and 48% black.
The closest named color is Evening Magic (#363E7D), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.17:1).
#303A84 color codes
| HEX | #303A84 | |
|---|---|---|
| RGB | rgb(48, 58, 132) | |
| RGB percent | rgb(18.8%, 22.7%, 51.8%) | |
| HSL | hsl(233, 47%, 35%) | |
| HSV / HSB | hsv(233, 64%, 52%) | |
| CMYK | cmyk(64%, 56%, 0%, 48%) | |
| CIE LAB | lab(27.63, 20.49, -43) | |
| CIE LCH | lch(27.63, 47.63, 295.47) | |
| CIE XYZ | xyz(6.895, 5.32, 22.489) | |
| Decimal | 3160708 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #303A84, 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 #303A84 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.06:1 | Fail | Fail | Fail |
| Sample text | 10.17:1 | Pass | Pass | Pass |
| #303A84 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.17:1 | Pass | Pass | Pass |
| Sample text | 2.06: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 #303A84 looks to people with the most common types of color vision deficiency.
#064587Protanopia
no red cones#003e82Deuteranopia
no green cones#004b59Tritanopia
no blue cones#414141Achromatopsia
no color vision
CSS examples
.background { background-color: #303a84; }
.text { color: #303a84; }
.border { border: 2px solid #303a84; }
.transparent { background-color: rgb(48 58 132 / 50%); }
.gradient { background: linear-gradient(to right, #303a84, #503084); }
Similar colors
#363e7dEvening Magic#223382Deep Space Royal#273287Intergalactic Highway#333c76Good Karma#2d3796Liquid Denim#1c3378Twilight Express#313390Perfect Dark#3d4585Queen of the Night Shift
Closest common color name: Dark Slate Blue.
Questions
- What color is #303A84?
- #303A84 is a dark, desaturated blue, closest to the named color Evening Magic. It belongs to the blue family of colors.
- What is the RGB value of #303A84?
- The RGB value is 48, 58, 132: 48 red, 58 green and 132 blue on a 0 to 255 scale.
- What is the complementary color of #303A84?
- The complementary color is #847A30, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #303A84?
- White text. Black text has a contrast ratio of 2.06:1 and white text 10.17:1. WCAG asks for at least 4.5:1 for normal text.