#303E62 color
The hex color #303E62 is a dark, desaturated blue.
In the RGB color model it is made of 18.8% red, 24.3% green and 38.4% blue (48, 62, 98).
Its hue angle is 223°, with 34% saturation and 29% lightness. For print, the CMYK equivalent is 51% cyan, 37% magenta, 0% yellow and 62% black.
The closest named color is Mediaeval Blue (#2E3858), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.55:1).
#303E62 color codes
| HEX | #303E62 | |
|---|---|---|
| RGB | rgb(48, 62, 98) | |
| RGB percent | rgb(18.8%, 24.3%, 38.4%) | |
| HSL | hsl(223, 34%, 29%) | |
| HSV / HSB | hsv(223, 51%, 38%) | |
| CMYK | cmyk(51%, 37%, 0%, 62%) | |
| CIE LAB | lab(26.61, 5.5, -23.06) | |
| CIE LCH | lch(26.61, 23.71, 283.41) | |
| CIE XYZ | xyz(5.145, 4.955, 12.238) | |
| Decimal | 3161698 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #303E62, 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 #303E62 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.99:1 | Fail | Fail | Fail |
| Sample text | 10.55:1 | Pass | Pass | Pass |
| #303E62 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.55:1 | Pass | Pass | Pass |
| Sample text | 1.99: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 #303E62 looks to people with the most common types of color vision deficiency.
#314163Protanopia
no red cones#2b3d61Deuteranopia
no green cones#1c464bTritanopia
no blue cones#3f3f3fAchromatopsia
no color vision
CSS examples
.background { background-color: #303e62; }
.text { color: #303e62; }
.border { border: 2px solid #303e62; }
.transparent { background-color: rgb(48 62 98 / 50%); }
.gradient { background: linear-gradient(to right, #303e62, #3b3062); }
Similar colors
#2e3858Mediaeval Blue#34466cForlorn Cruise#324471Space Missions#3b476bStarlit Night#2c4170Napoleonic Blue#2d4470Blue Funk#273c5aNautilus#2c4364Black Turmeric
Closest common color name: Prussian Blue.
Questions
- What color is #303E62?
- #303E62 is a dark, desaturated blue, closest to the named color Mediaeval Blue. It belongs to the blue family of colors.
- What is the RGB value of #303E62?
- The RGB value is 48, 62, 98: 48 red, 62 green and 98 blue on a 0 to 255 scale.
- What is the complementary color of #303E62?
- The complementary color is #625430, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #303E62?
- White text. Black text has a contrast ratio of 1.99:1 and white text 10.55:1. WCAG asks for at least 4.5:1 for normal text.