#28305A color
The hex color #28305A is a dark, desaturated blue.
In the RGB color model it is made of 15.7% red, 18.8% green and 35.3% blue (40, 48, 90).
Its hue angle is 230°, with 38% saturation and 25% lightness. For print, the CMYK equivalent is 56% cyan, 47% magenta, 0% yellow and 65% black.
The closest named color is Galaxea (#2E305E), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.65:1).
#28305A color codes
| HEX | #28305A | |
|---|---|---|
| RGB | rgb(40, 48, 90) | |
| RGB percent | rgb(15.7%, 18.8%, 35.3%) | |
| HSL | hsl(230, 38%, 25%) | |
| HSV / HSB | hsv(230, 56%, 35%) | |
| CMYK | cmyk(56%, 47%, 0%, 65%) | |
| CIE LAB | lab(21.22, 10.2, -26.39) | |
| CIE LCH | lch(21.22, 28.29, 291.12) | |
| CIE XYZ | xyz(3.777, 3.303, 10.109) | |
| Decimal | 2633818 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #28305A, 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 #28305A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.66:1 | Fail | Fail | Fail |
| Sample text | 12.65:1 | Pass | Pass | Pass |
| #28305A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.65:1 | Pass | Pass | Pass |
| Sample text | 1.66: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 #28305A looks to people with the most common types of color vision deficiency.
#1f355cProtanopia
no red cones#193159Deuteranopia
no green cones#123940Tritanopia
no blue cones#333333Achromatopsia
no color vision
CSS examples
.background { background-color: #28305a; }
.text { color: #28305a; }
.border { border: 2px solid #28305a; }
.transparent { background-color: rgb(40 48 90 / 50%); }
.gradient { background: linear-gradient(to right, #28305a, #39285a); }
Similar colors
#2e305eGalaxea#2b3458Midnight Escapade#2c2c57Deep Sea Base#1d2951Space Cadet#1c2e63Mythical Night#2e3858Mediaeval Blue#322c56Purple Noir#2a2551Pāua
Closest common color name: Oxford Blue.
Questions
- What color is #28305A?
- #28305A is a dark, desaturated blue, closest to the named color Galaxea. It belongs to the blue family of colors.
- What is the RGB value of #28305A?
- The RGB value is 40, 48, 90: 40 red, 48 green and 90 blue on a 0 to 255 scale.
- What is the complementary color of #28305A?
- The complementary color is #5A5228, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #28305A?
- White text. Black text has a contrast ratio of 1.66:1 and white text 12.65:1. WCAG asks for at least 4.5:1 for normal text.