#284F8F color
The hex color #284F8F is a dark, moderate azure.
In the RGB color model it is made of 15.7% red, 31% green and 56.1% blue (40, 79, 143).
Its hue angle is 217°, 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.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.06:1).
#284F8F color codes
| HEX | #284F8F | |
|---|---|---|
| RGB | rgb(40, 79, 143) | |
| RGB percent | rgb(15.7%, 31%, 56.1%) | |
| HSL | hsl(217, 56%, 36%) | |
| HSV / HSB | hsv(217, 72%, 56%) | |
| CMYK | cmyk(72%, 45%, 0%, 44%) | |
| CIE LAB | lab(34.04, 9.03, -39.5) | |
| CIE LCH | lch(34.04, 40.52, 282.88) | |
| CIE XYZ | xyz(8.627, 8.025, 27.076) | |
| Decimal | 2641807 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #284F8F, 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 #284F8F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.61:1 | Fail | Fail | Fail |
| Sample text | 8.06:1 | Pass | Pass | Pass |
| #284F8F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.06:1 | Pass | Pass | Pass |
| Sample text | 2.61: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 #284F8F looks to people with the most common types of color vision deficiency.
#305591Protanopia
no red cones#1d4c8eDeuteranopia
no green cones#005e68Tritanopia
no blue cones#505050Achromatopsia
no color vision
CSS examples
.background { background-color: #284f8f; }
.text { color: #284f8f; }
.border { border: 2px solid #284f8f; }
.transparent { background-color: rgb(40 79 143 / 50%); }
.gradient { background: linear-gradient(to right, #284f8f, #34288f); }
Similar colors
#244e94Le Grand Bleu#2e5090Nightly Activities#1c4d8fDancing Sea#1c4c8cOlympian Blue#234e86Night Mode#2d4f83Assassin#2d5284Galaxy Blue#1e488fNuit Blanche
Closest common color name: Cobalt Blue.
Questions
- What color is #284F8F?
- #284F8F 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 #284F8F?
- The RGB value is 40, 79, 143: 40 red, 79 green and 143 blue on a 0 to 255 scale.
- What is the complementary color of #284F8F?
- The complementary color is #8F6828, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #284F8F?
- White text. Black text has a contrast ratio of 2.61:1 and white text 8.06:1. WCAG asks for at least 4.5:1 for normal text.