#304A6F color
The hex color #304A6F is a dark, desaturated azure.
In the RGB color model it is made of 18.8% red, 29% green and 43.5% blue (48, 74, 111).
Its hue angle is 215°, with 40% saturation and 31% lightness. For print, the CMYK equivalent is 57% cyan, 33% magenta, 0% yellow and 56% black.
The closest named color is Midnight Interlude (#32496F), a difference of 1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.99:1).
#304A6F color codes
| HEX | #304A6F | |
|---|---|---|
| RGB | rgb(48, 74, 111) | |
| RGB percent | rgb(18.8%, 29%, 43.5%) | |
| HSL | hsl(215, 40%, 31%) | |
| HSV / HSB | hsv(215, 57%, 44%) | |
| CMYK | cmyk(57%, 33%, 0%, 56%) | |
| CIE LAB | lab(31.05, 2.04, -24.37) | |
| CIE LCH | lch(31.05, 24.46, 274.79) | |
| CIE XYZ | xyz(6.536, 6.673, 15.979) | |
| Decimal | 3164783 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #304A6F, 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 #304A6F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.33:1 | Fail | Fail | Fail |
| Sample text | 8.99:1 | Pass | Pass | Pass |
| #304A6F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.99:1 | Pass | Pass | Pass |
| Sample text | 2.33: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 #304A6F looks to people with the most common types of color vision deficiency.
#3b4c71Protanopia
no red cones#33466eDeuteranopia
no green cones#0b5257Tritanopia
no blue cones#494949Achromatopsia
no color vision
CSS examples
.background { background-color: #304a6f; }
.text { color: #304a6f; }
.border { border: 2px solid #304a6f; }
.transparent { background-color: rgb(48 74 111 / 50%); }
.gradient { background: linear-gradient(to right, #304a6f, #35306f); }
Similar colors
#32496fMidnight Interlude#314a76Dragonfly#254770Pretty Twilight Night#384b6bNaval Blue#2c4364Black Turmeric#2e4a7dNautical#2d4470Blue Funk#34466cForlorn Cruise
Closest common color name: Prussian Blue.
Questions
- What color is #304A6F?
- #304A6F is a dark, desaturated azure, closest to the named color Midnight Interlude. It belongs to the blue family of colors.
- What is the RGB value of #304A6F?
- The RGB value is 48, 74, 111: 48 red, 74 green and 111 blue on a 0 to 255 scale.
- What is the complementary color of #304A6F?
- The complementary color is #6F5530, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #304A6F?
- White text. Black text has a contrast ratio of 2.33:1 and white text 8.99:1. WCAG asks for at least 4.5:1 for normal text.