#303E97 color
The hex color #303E97 is a moderate blue.
In the RGB color model it is made of 18.8% red, 24.3% green and 59.2% blue (48, 62, 151).
Its hue angle is 232°, with 52% saturation and 39% lightness. For print, the CMYK equivalent is 68% cyan, 59% magenta, 0% yellow and 41% black.
The closest named color is Liquid Denim (#2D3796), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.29:1).
#303E97 color codes
| HEX | #303E97 | |
|---|---|---|
| RGB | rgb(48, 62, 151) | |
| RGB percent | rgb(18.8%, 24.3%, 59.2%) | |
| HSL | hsl(232, 52%, 39%) | |
| HSV / HSB | hsv(232, 68%, 59%) | |
| CMYK | cmyk(68%, 59%, 0%, 41%) | |
| CIE LAB | lab(30.17, 24.79, -50.59) | |
| CIE LCH | lch(30.17, 56.34, 296.11) | |
| CIE XYZ | xyz(8.526, 6.307, 30.04) | |
| Decimal | 3161751 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #303E97, 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 #303E97 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.26:1 | Fail | Fail | Fail |
| Sample text | 9.29:1 | Pass | Pass | Pass |
| #303E97 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.29:1 | Pass | Pass | Pass |
| Sample text | 2.26: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 #303E97 looks to people with the most common types of color vision deficiency.
#004c9aProtanopia
no red cones#004395Deuteranopia
no green cones#005464Tritanopia
no blue cones#474747Achromatopsia
no color vision
CSS examples
.background { background-color: #303e97; }
.text { color: #303e97; }
.border { border: 2px solid #303e97; }
.transparent { background-color: rgb(48 62 151 / 50%); }
.gradient { background: linear-gradient(to right, #303e97, #563097); }
Similar colors
#2d3796Liquid Denim#444499Galaxy Express#313390Perfect Dark#464196Blueberry#333399Bluebell#2b3191Royal Night#273287Intergalactic Highway#2c319bDepths of Night
Closest common color name: Egyptian Blue.
Questions
- What color is #303E97?
- #303E97 is a moderate blue, closest to the named color Liquid Denim. It belongs to the blue family of colors.
- What is the RGB value of #303E97?
- The RGB value is 48, 62, 151: 48 red, 62 green and 151 blue on a 0 to 255 scale.
- What is the complementary color of #303E97?
- The complementary color is #978930, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #303E97?
- White text. Black text has a contrast ratio of 2.26:1 and white text 9.29:1. WCAG asks for at least 4.5:1 for normal text.