#282D66 color
The hex color #282D66 is a dark, desaturated blue.
In the RGB color model it is made of 15.7% red, 17.6% green and 40% blue (40, 45, 102).
Its hue angle is 235°, with 44% saturation and 28% lightness. For print, the CMYK equivalent is 61% cyan, 56% magenta, 0% yellow and 60% black.
The closest named color is Mythical Night (#1C2E63), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 12.67:1).
#282D66 color codes
| HEX | #282D66 | |
|---|---|---|
| RGB | rgb(40, 45, 102) | |
| RGB percent | rgb(15.7%, 17.6%, 40%) | |
| HSL | hsl(235, 44%, 28%) | |
| HSV / HSB | hsv(235, 61%, 40%) | |
| CMYK | cmyk(61%, 56%, 0%, 60%) | |
| CIE LAB | lab(21.16, 16.76, -34.37) | |
| CIE LCH | lch(21.16, 38.24, 296) | |
| CIE XYZ | xyz(4.211, 3.287, 12.98) | |
| Decimal | 2633062 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #282D66, 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 #282D66 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.66:1 | Fail | Fail | Fail |
| Sample text | 12.67:1 | Pass | Pass | Pass |
| #282D66 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.67:1 | Pass | Pass | Pass |
| Sample text | 1.66: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 #282D66 looks to people with the most common types of color vision deficiency.
#0c3668Protanopia
no red cones#003065Deuteranopia
no green cones#033a44Tritanopia
no blue cones#333333Achromatopsia
no color vision
CSS examples
.background { background-color: #282d66; }
.text { color: #282d66; }
.border { border: 2px solid #282d66; }
.transparent { background-color: rgb(40 45 102 / 50%); }
.gradient { background: linear-gradient(to right, #282d66, #422866); }
Similar colors
#1c2e63Mythical Night#2e305eGalaxea#222266Intergalactic Cowboy#2c2c57Deep Sea Base#222255Spacescape#112358Fibonacci Blue#2e2364Indie Go#082567Dark Sapphire
Closest common color name: Midnight Blue.
Questions
- What color is #282D66?
- #282D66 is a dark, desaturated blue, closest to the named color Mythical Night. It belongs to the blue family of colors.
- What is the RGB value of #282D66?
- The RGB value is 40, 45, 102: 40 red, 45 green and 102 blue on a 0 to 255 scale.
- What is the complementary color of #282D66?
- The complementary color is #666128, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #282D66?
- White text. Black text has a contrast ratio of 1.66:1 and white text 12.67:1. WCAG asks for at least 4.5:1 for normal text.