#28344D color
The hex color #28344D is a dark, desaturated blue.
In the RGB color model it is made of 15.7% red, 20.4% green and 30.2% blue (40, 52, 77).
Its hue angle is 221°, with 32% saturation and 23% lightness. For print, the CMYK equivalent is 48% cyan, 32% magenta, 0% yellow and 70% black.
The closest named color is Mediaeval Blue (#2E3858), a difference of 3.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.44:1).
#28344D color codes
| HEX | #28344D | |
|---|---|---|
| RGB | rgb(40, 52, 77) | |
| RGB percent | rgb(15.7%, 20.4%, 30.2%) | |
| HSL | hsl(221, 32%, 23%) | |
| HSV / HSB | hsv(221, 48%, 30%) | |
| CMYK | cmyk(48%, 32%, 0%, 70%) | |
| CIE LAB | lab(21.74, 2.77, -16.93) | |
| CIE LCH | lch(21.74, 17.16, 279.29) | |
| CIE XYZ | xyz(3.442, 3.443, 7.503) | |
| Decimal | 2634829 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #28344D, 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 #28344D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.69:1 | Fail | Fail | Fail |
| Sample text | 12.44:1 | Pass | Pass | Pass |
| #28344D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.44:1 | Pass | Pass | Pass |
| Sample text | 1.69: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 #28344D looks to people with the most common types of color vision deficiency.
#2b364eProtanopia
no red cones#27334cDeuteranopia
no green cones#1b393dTritanopia
no blue cones#343434Achromatopsia
no color vision
CSS examples
.background { background-color: #28344d; }
.text { color: #28344d; }
.border { border: 2px solid #28344d; }
.transparent { background-color: rgb(40 52 77 / 50%); }
.gradient { background: linear-gradient(to right, #28344d, #2e284d); }
Similar colors
#2e3858Mediaeval Blue#273c5aNautilus#1c2841Eternal Darkness#2b3458Midnight Escapade#314159Pi#2c2e47Midnight Masquerade#353f51Dark & Stormy#303543Total Eclipse
Closest common color name: Prussian Blue.
Questions
- What color is #28344D?
- #28344D 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 #28344D?
- The RGB value is 40, 52, 77: 40 red, 52 green and 77 blue on a 0 to 255 scale.
- What is the complementary color of #28344D?
- The complementary color is #4D4128, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #28344D?
- White text. Black text has a contrast ratio of 1.69:1 and white text 12.44:1. WCAG asks for at least 4.5:1 for normal text.