#282A44 color
The hex color #282A44 is a dark, desaturated blue.
In the RGB color model it is made of 15.7% red, 16.5% green and 26.7% blue (40, 42, 68).
Its hue angle is 236°, with 26% saturation and 21% lightness. For print, the CMYK equivalent is 41% cyan, 38% magenta, 0% yellow and 73% black.
The closest named color is Midnight Masquerade (#2C2E47), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.95:1).
#282A44 color codes
| HEX | #282A44 | |
|---|---|---|
| RGB | rgb(40, 42, 68) | |
| RGB percent | rgb(15.7%, 16.5%, 26.7%) | |
| HSL | hsl(236, 26%, 21%) | |
| HSV / HSB | hsv(236, 41%, 27%) | |
| CMYK | cmyk(41%, 38%, 0%, 73%) | |
| CIE LAB | lab(18.03, 6.75, -16.63) | |
| CIE LCH | lch(18.03, 17.95, 292.1) | |
| CIE XYZ | xyz(2.746, 2.524, 5.81) | |
| Decimal | 2632260 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #282A44, 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 #282A44 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.5:1 | Fail | Fail | Fail |
| Sample text | 13.95:1 | Pass | Pass | Pass |
| #282A44 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.95:1 | Pass | Pass | Pass |
| Sample text | 1.5: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 #282A44 looks to people with the most common types of color vision deficiency.
#222d45Protanopia
no red cones#202b43Deuteranopia
no green cones#202f33Tritanopia
no blue cones#2c2c2cAchromatopsia
no color vision
CSS examples
.background { background-color: #282a44; }
.text { color: #282a44; }
.border { border: 2px solid #282a44; }
.transparent { background-color: rgb(40 42 68 / 50%); }
.gradient { background: linear-gradient(to right, #282a44, #342844); }
Similar colors
#2c2e47Midnight Masquerade#21263aMidnight Express#222244Black Market#1c2841Eternal Darkness#1f2133Eclipse Elixir#222233Black Velvet#161d3bNightwalker#333344Shuriken
Closest common color name: Oxford Blue.
Questions
- What color is #282A44?
- #282A44 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 #282A44?
- The RGB value is 40, 42, 68: 40 red, 42 green and 68 blue on a 0 to 255 scale.
- What is the complementary color of #282A44?
- The complementary color is #444228, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #282A44?
- White text. Black text has a contrast ratio of 1.5:1 and white text 13.95:1. WCAG asks for at least 4.5:1 for normal text.