#281E5F color
The hex color #281E5F is a dark, moderate blue.
In the RGB color model it is made of 15.7% red, 11.8% green and 37.3% blue (40, 30, 95).
Its hue angle is 249°, with 52% saturation and 25% lightness. For print, the CMYK equivalent is 58% cyan, 68% magenta, 0% yellow and 63% black.
The closest named color is Indie Go (#2E2364), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.57:1).
#281E5F color codes
| HEX | #281E5F | |
|---|---|---|
| RGB | rgb(40, 30, 95) | |
| RGB percent | rgb(15.7%, 11.8%, 37.3%) | |
| HSL | hsl(249, 52%, 25%) | |
| HSV / HSB | hsv(249, 68%, 37%) | |
| CMYK | cmyk(58%, 68%, 0%, 63%) | |
| CIE LAB | lab(16.53, 24.59, -37.26) | |
| CIE LCH | lch(16.53, 44.64, 303.43) | |
| CIE XYZ | xyz(3.404, 2.206, 11.071) | |
| Decimal | 2629215 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #281E5F, 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 #281E5F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.44:1 | Fail | Fail | Fail |
| Sample text | 14.57:1 | Pass | Pass | Pass |
| #281E5F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.57:1 | Pass | Pass | Pass |
| Sample text | 1.44: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 #281E5F looks to people with the most common types of color vision deficiency.
#002b61Protanopia
no red cones#00275eDeuteranopia
no green cones#102e3bTritanopia
no blue cones#292929Achromatopsia
no color vision
CSS examples
.background { background-color: #281e5f; }
.text { color: #281e5f; }
.border { border: 2px solid #281e5f; }
.transparent { background-color: rgb(40 30 95 / 50%); }
.gradient { background: linear-gradient(to right, #281e5f, #491e5f); }
Similar colors
#2e2364Indie Go#332266Dark Dreams#222266Intergalactic Cowboy#222255Spacescape#2d135fVoldemort#231c4dSilent Orbit#341758Fabric of Space#150f5bSpace Colonisation
Closest common color name: Midnight Blue.
Questions
- What color is #281E5F?
- #281E5F is a dark, moderate blue, closest to the named color Indie Go. It belongs to the blue family of colors.
- What is the RGB value of #281E5F?
- The RGB value is 40, 30, 95: 40 red, 30 green and 95 blue on a 0 to 255 scale.
- What is the complementary color of #281E5F?
- The complementary color is #555F1E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #281E5F?
- White text. Black text has a contrast ratio of 1.44:1 and white text 14.57:1. WCAG asks for at least 4.5:1 for normal text.