#284270 color
The hex color #284270 is a dark, desaturated azure.
In the RGB color model it is made of 15.7% red, 25.9% green and 43.9% blue (40, 66, 112).
Its hue angle is 218°, with 47% saturation and 30% lightness. For print, the CMYK equivalent is 64% cyan, 41% magenta, 0% yellow and 56% black.
The closest named color is Blue Funk (#2D4470), a difference of 1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.98:1).
#284270 color codes
| HEX | #284270 | |
|---|---|---|
| RGB | rgb(40, 66, 112) | |
| RGB percent | rgb(15.7%, 25.9%, 43.9%) | |
| HSL | hsl(218, 47%, 30%) | |
| HSV / HSB | hsv(218, 64%, 44%) | |
| CMYK | cmyk(64%, 41%, 0%, 56%) | |
| CIE LAB | lab(28.16, 5.9, -29.6) | |
| CIE LCH | lch(28.16, 30.18, 281.28) | |
| CIE XYZ | xyz(5.747, 5.517, 16.088) | |
| Decimal | 2638448 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #284270, 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 #284270 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.1:1 | Fail | Fail | Fail |
| Sample text | 9.98:1 | Pass | Pass | Pass |
| #284270 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.98:1 | Pass | Pass | Pass |
| Sample text | 2.1: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 #284270 looks to people with the most common types of color vision deficiency.
#2e4672Protanopia
no red cones#243f6fDeuteranopia
no green cones#004c53Tritanopia
no blue cones#424242Achromatopsia
no color vision
CSS examples
.background { background-color: #284270; }
.text { color: #284270; }
.border { border: 2px solid #284270; }
.transparent { background-color: rgb(40 66 112 / 50%); }
.gradient { background: linear-gradient(to right, #284270, #322870); }
Similar colors
#2d4470Blue Funk#27426bNightlife#2c4170Napoleonic Blue#324471Space Missions#1b416fAegean Blue#314a76Dragonfly#254770Pretty Twilight Night#34466cForlorn Cruise
Closest common color name: Prussian Blue.
Questions
- What color is #284270?
- #284270 is a dark, desaturated azure, closest to the named color Blue Funk. It belongs to the blue family of colors.
- What is the RGB value of #284270?
- The RGB value is 40, 66, 112: 40 red, 66 green and 112 blue on a 0 to 255 scale.
- What is the complementary color of #284270?
- The complementary color is #705628, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #284270?
- White text. Black text has a contrast ratio of 2.1:1 and white text 9.98:1. WCAG asks for at least 4.5:1 for normal text.