#284E8F color
The hex color #284E8F is a dark, moderate azure.
In the RGB color model it is made of 15.7% red, 30.6% green and 56.1% blue (40, 78, 143).
Its hue angle is 218°, with 56% saturation and 36% lightness. For print, the CMYK equivalent is 72% cyan, 45% magenta, 0% yellow and 44% black.
The closest named color is Le Grand Bleu (#244E94), a difference of 0.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.15:1).
#284E8F color codes
| HEX | #284E8F | |
|---|---|---|
| RGB | rgb(40, 78, 143) | |
| RGB percent | rgb(15.7%, 30.6%, 56.1%) | |
| HSL | hsl(218, 56%, 36%) | |
| HSV / HSB | hsv(218, 72%, 56%) | |
| CMYK | cmyk(72%, 45%, 0%, 44%) | |
| CIE LAB | lab(33.74, 9.7, -39.98) | |
| CIE LCH | lch(33.74, 41.14, 283.64) | |
| CIE XYZ | xyz(8.556, 7.882, 27.052) | |
| Decimal | 2641551 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #284E8F, 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 #284E8F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.58:1 | Fail | Fail | Fail |
| Sample text | 8.15:1 | Pass | Pass | Pass |
| #284E8F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.15:1 | Pass | Pass | Pass |
| Sample text | 2.58: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 #284E8F looks to people with the most common types of color vision deficiency.
#2e5491Protanopia
no red cones#1b4b8eDeuteranopia
no green cones#005d67Tritanopia
no blue cones#4f4f4fAchromatopsia
no color vision
CSS examples
.background { background-color: #284e8f; }
.text { color: #284e8f; }
.border { border: 2px solid #284e8f; }
.transparent { background-color: rgb(40 78 143 / 50%); }
.gradient { background: linear-gradient(to right, #284e8f, #36288f); }
Similar colors
#244e94Le Grand Bleu#2e5090Nightly Activities#1c4d8fDancing Sea#1c4c8cOlympian Blue#234e86Night Mode#2d4f83Assassin#1e488fNuit Blanche#25488aPacific Navy
Closest common color name: Cobalt Blue.
Questions
- What color is #284E8F?
- #284E8F is a dark, moderate azure, closest to the named color Le Grand Bleu. It belongs to the blue family of colors.
- What is the RGB value of #284E8F?
- The RGB value is 40, 78, 143: 40 red, 78 green and 143 blue on a 0 to 255 scale.
- What is the complementary color of #284E8F?
- The complementary color is #8F6928, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #284E8F?
- White text. Black text has a contrast ratio of 2.58:1 and white text 8.15:1. WCAG asks for at least 4.5:1 for normal text.