#304061 color
The hex color #304061 is a dark, desaturated blue.
In the RGB color model it is made of 18.8% red, 25.1% green and 38% blue (48, 64, 97).
Its hue angle is 220°, with 34% saturation and 28% lightness. For print, the CMYK equivalent is 51% cyan, 34% magenta, 0% yellow and 62% black.
The closest named color is Black Turmeric (#2C4364), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.34:1).
#304061 color codes
| HEX | #304061 | |
|---|---|---|
| RGB | rgb(48, 64, 97) | |
| RGB percent | rgb(18.8%, 25.1%, 38%) | |
| HSL | hsl(220, 34%, 28%) | |
| HSV / HSB | hsv(220, 51%, 38%) | |
| CMYK | cmyk(51%, 34%, 0%, 62%) | |
| CIE LAB | lab(27.18, 3.8, -21.52) | |
| CIE LCH | lch(27.18, 21.85, 280.03) | |
| CIE XYZ | xyz(5.209, 5.158, 12.028) | |
| Decimal | 3162209 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #304061, 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 #304061 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.03:1 | Fail | Fail | Fail |
| Sample text | 10.34:1 | Pass | Pass | Pass |
| #304061 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.34:1 | Pass | Pass | Pass |
| Sample text | 2.03: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 #304061 looks to people with the most common types of color vision deficiency.
#344362Protanopia
no red cones#2e3e60Deuteranopia
no green cones#1c474cTritanopia
no blue cones#404040Achromatopsia
no color vision
CSS examples
.background { background-color: #304061; }
.text { color: #304061; }
.border { border: 2px solid #304061; }
.transparent { background-color: rgb(48 64 97 / 50%); }
.gradient { background: linear-gradient(to right, #304061, #393061); }
Similar colors
#2c4364Black Turmeric#34466cForlorn Cruise#273c5aNautilus#3a4866Bonne Nuit#3b476bStarlit Night#27426bNightlife#2e3858Mediaeval Blue#2d4470Blue Funk
Closest common color name: Prussian Blue.
Questions
- What color is #304061?
- #304061 is a dark, desaturated blue, closest to the named color Black Turmeric. It belongs to the blue family of colors.
- What is the RGB value of #304061?
- The RGB value is 48, 64, 97: 48 red, 64 green and 97 blue on a 0 to 255 scale.
- What is the complementary color of #304061?
- The complementary color is #615130, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #304061?
- White text. Black text has a contrast ratio of 2.03:1 and white text 10.34:1. WCAG asks for at least 4.5:1 for normal text.