#305BA1 color
The hex color #305BA1 is a moderate azure.
In the RGB color model it is made of 18.8% red, 35.7% green and 63.1% blue (48, 91, 161).
Its hue angle is 217°, with 54% saturation and 41% lightness. For print, the CMYK equivalent is 70% cyan, 43% magenta, 0% yellow and 37% black.
The closest named color is Fist of the North Star (#225599), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.69:1).
#305BA1 color codes
| HEX | #305BA1 | |
|---|---|---|
| RGB | rgb(48, 91, 161) | |
| RGB percent | rgb(18.8%, 35.7%, 63.1%) | |
| HSL | hsl(217, 54%, 41%) | |
| HSV / HSB | hsv(217, 70%, 63%) | |
| CMYK | cmyk(70%, 43%, 0%, 37%) | |
| CIE LAB | lab(39.04, 9.27, -42.33) | |
| CIE LCH | lch(39.04, 43.33, 282.35) | |
| CIE XYZ | xyz(11.391, 10.683, 35.173) | |
| Decimal | 3169185 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #305BA1, 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 #305BA1 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.14:1 | Fail | Fail | Pass |
| Sample text | 6.69:1 | Pass | Fail | Pass |
| #305BA1 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.69:1 | Pass | Fail | Pass |
| Sample text | 3.14:1 | Fail | Fail | Pass |
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 #305BA1 looks to people with the most common types of color vision deficiency.
#3962a4Protanopia
no red cones#2657a0Deuteranopia
no green cones#006b76Tritanopia
no blue cones#5c5c5cAchromatopsia
no color vision
CSS examples
.background { background-color: #305ba1; }
.text { color: #305ba1; }
.border { border: 2px solid #305ba1; }
.transparent { background-color: rgb(48 91 161 / 50%); }
.gradient { background: linear-gradient(to right, #305ba1, #3e30a1); }
Similar colors
#225599Fist of the North Star#3356aaBlasphemous Blue#1d5699Blue Chip#335588Glimpse of Void#1560bdDenim#4664a5Starstruck#2e5090Nightly Activities#244e94Le Grand Bleu
Questions
- What color is #305BA1?
- #305BA1 is a moderate azure, closest to the named color Fist of the North Star. It belongs to the blue family of colors.
- What is the RGB value of #305BA1?
- The RGB value is 48, 91, 161: 48 red, 91 green and 161 blue on a 0 to 255 scale.
- What is the complementary color of #305BA1?
- The complementary color is #A17630, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #305BA1?
- White text. Black text has a contrast ratio of 3.14:1 and white text 6.69:1. WCAG asks for at least 4.5:1 for normal text.