#282E4C color
The hex color #282E4C is a dark, desaturated blue.
In the RGB color model it is made of 15.7% red, 18% green and 29.8% blue (40, 46, 76).
Its hue angle is 230°, with 31% saturation and 23% lightness. For print, the CMYK equivalent is 47% cyan, 39% magenta, 0% yellow and 70% black.
The closest named color is Midnight Masquerade (#2C2E47), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.25:1).
#282E4C color codes
| HEX | #282E4C | |
|---|---|---|
| RGB | rgb(40, 46, 76) | |
| RGB percent | rgb(15.7%, 18%, 29.8%) | |
| HSL | hsl(230, 31%, 23%) | |
| HSV / HSB | hsv(230, 47%, 30%) | |
| CMYK | cmyk(47%, 39%, 0%, 70%) | |
| CIE LAB | lab(19.75, 6.62, -19.37) | |
| CIE LCH | lch(19.75, 20.47, 288.88) | |
| CIE XYZ | xyz(3.156, 2.927, 7.235) | |
| Decimal | 2633292 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #282E4C, 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 #282E4C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.59:1 | Fail | Fail | Fail |
| Sample text | 13.25:1 | Pass | Pass | Pass |
| #282E4C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.25:1 | Pass | Pass | Pass |
| Sample text | 1.59: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 #282E4C looks to people with the most common types of color vision deficiency.
#23314dProtanopia
no red cones#212e4bDeuteranopia
no green cones#1c3439Tritanopia
no blue cones#303030Achromatopsia
no color vision
CSS examples
.background { background-color: #282e4c; }
.text { color: #282e4c; }
.border { border: 2px solid #282e4c; }
.transparent { background-color: rgb(40 46 76 / 50%); }
.gradient { background: linear-gradient(to right, #282e4c, #34284c); }
Similar colors
#2c2e47Midnight Masquerade#2b3458Midnight Escapade#2e3858Mediaeval Blue#1d2951Space Cadet#1c2841Eternal Darkness#2c2c57Deep Sea Base#222244Black Market#21263aMidnight Express
Closest common color name: Oxford Blue.
Questions
- What color is #282E4C?
- #282E4C is a dark, desaturated blue, closest to the named color Midnight Masquerade. It belongs to the blue family of colors.
- What is the RGB value of #282E4C?
- The RGB value is 40, 46, 76: 40 red, 46 green and 76 blue on a 0 to 255 scale.
- What is the complementary color of #282E4C?
- The complementary color is #4C4628, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #282E4C?
- White text. Black text has a contrast ratio of 1.59:1 and white text 13.25:1. WCAG asks for at least 4.5:1 for normal text.