#282D8D color
The hex color #282D8D is a dark, moderate blue.
In the RGB color model it is made of 15.7% red, 17.6% green and 55.3% blue (40, 45, 141).
Its hue angle is 237°, with 56% saturation and 35% lightness. For print, the CMYK equivalent is 72% cyan, 68% magenta, 0% yellow and 45% black.
The closest named color is Royal Night (#2B3191), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.35:1).
#282D8D color codes
| HEX | #282D8D | |
|---|---|---|
| RGB | rgb(40, 45, 141) | |
| RGB percent | rgb(15.7%, 17.6%, 55.3%) | |
| HSL | hsl(237, 56%, 35%) | |
| HSV / HSB | hsv(237, 72%, 55%) | |
| CMYK | cmyk(72%, 68%, 0%, 45%) | |
| CIE LAB | lab(24.48, 31.22, -53.75) | |
| CIE LCH | lch(24.48, 62.16, 300.15) | |
| CIE XYZ | xyz(6.62, 4.25, 25.666) | |
| Decimal | 2633101 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #282D8D, 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 #282D8D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.85:1 | Fail | Fail | Fail |
| Sample text | 11.35:1 | Pass | Pass | Pass |
| #282D8D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.35:1 | Pass | Pass | Pass |
| Sample text | 1.85: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 #282D8D looks to people with the most common types of color vision deficiency.
#003f90Protanopia
no red cones#00358bDeuteranopia
no green cones#004659Tritanopia
no blue cones#3a3a3aAchromatopsia
no color vision
CSS examples
.background { background-color: #282d8d; }
.text { color: #282d8d; }
.border { border: 2px solid #282d8d; }
.transparent { background-color: rgb(40 45 141 / 50%); }
.gradient { background: linear-gradient(to right, #282d8d, #55288d); }
Similar colors
#2b3191Royal Night#313390Perfect Dark#273287Intergalactic Highway#2c319bDepths of Night#333399Bluebell#072688Naval Adventures#2d3796Liquid Denim#082599Deepsea Kraken
Closest common color name: Egyptian Blue.
Questions
- What color is #282D8D?
- #282D8D is a dark, moderate blue, closest to the named color Royal Night. It belongs to the blue family of colors.
- What is the RGB value of #282D8D?
- The RGB value is 40, 45, 141: 40 red, 45 green and 141 blue on a 0 to 255 scale.
- What is the complementary color of #282D8D?
- The complementary color is #8D8828, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #282D8D?
- White text. Black text has a contrast ratio of 1.85:1 and white text 11.35:1. WCAG asks for at least 4.5:1 for normal text.