#282E8D color
The hex color #282E8D is a dark, moderate blue.
In the RGB color model it is made of 15.7% red, 18% green and 55.3% blue (40, 46, 141).
Its hue angle is 236°, with 56% saturation and 35% lightness. For print, the CMYK equivalent is 72% cyan, 67% magenta, 0% yellow and 45% black.
The closest named color is Royal Night (#2B3191), a difference of 1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.26:1).
#282E8D color codes
| HEX | #282E8D | |
|---|---|---|
| RGB | rgb(40, 46, 141) | |
| RGB percent | rgb(15.7%, 18%, 55.3%) | |
| HSL | hsl(236, 56%, 35%) | |
| HSV / HSB | hsv(236, 72%, 55%) | |
| CMYK | cmyk(72%, 67%, 0%, 45%) | |
| CIE LAB | lab(24.73, 30.57, -53.35) | |
| CIE LCH | lch(24.73, 61.49, 299.81) | |
| CIE XYZ | xyz(6.658, 4.328, 25.679) | |
| Decimal | 2633357 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #282E8D, 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 #282E8D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.87:1 | Fail | Fail | Fail |
| Sample text | 11.26:1 | Pass | Pass | Pass |
| #282E8D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.26:1 | Pass | Pass | Pass |
| Sample text | 1.87: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 #282E8D looks to people with the most common types of color vision deficiency.
#003f90Protanopia
no red cones#00368bDeuteranopia
no green cones#004759Tritanopia
no blue cones#3b3b3bAchromatopsia
no color vision
CSS examples
.background { background-color: #282e8d; }
.text { color: #282e8d; }
.border { border: 2px solid #282e8d; }
.transparent { background-color: rgb(40 46 141 / 50%); }
.gradient { background: linear-gradient(to right, #282e8d, #55288d); }
Similar colors
#2b3191Royal Night#313390Perfect Dark#273287Intergalactic Highway#2c319bDepths of Night#333399Bluebell#2d3796Liquid Denim#072688Naval Adventures#223382Deep Space Royal
Closest common color name: Egyptian Blue.
Questions
- What color is #282E8D?
- #282E8D 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 #282E8D?
- The RGB value is 40, 46, 141: 40 red, 46 green and 141 blue on a 0 to 255 scale.
- What is the complementary color of #282E8D?
- The complementary color is #8D8728, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #282E8D?
- White text. Black text has a contrast ratio of 1.87:1 and white text 11.26:1. WCAG asks for at least 4.5:1 for normal text.