#2D255E color
The hex color #2D255E is a dark, desaturated blue.
In the RGB color model it is made of 17.6% red, 14.5% green and 36.9% blue (45, 37, 94).
Its hue angle is 248°, with 44% saturation and 26% lightness. For print, the CMYK equivalent is 52% cyan, 61% magenta, 0% yellow and 63% black.
The closest named color is Indie Go (#2E2364), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.66:1).
#2D255E color codes
| HEX | #2D255E | |
|---|---|---|
| RGB | rgb(45, 37, 94) | |
| RGB percent | rgb(17.6%, 14.5%, 36.9%) | |
| HSL | hsl(248, 44%, 26%) | |
| HSV / HSB | hsv(248, 61%, 37%) | |
| CMYK | cmyk(52%, 61%, 0%, 63%) | |
| CIE LAB | lab(18.75, 20.62, -32.97) | |
| CIE LCH | lch(18.75, 38.89, 302.03) | |
| CIE XYZ | xyz(3.764, 2.689, 10.908) | |
| Decimal | 2958686 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #2D255E, 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 #2D255E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.54:1 | Fail | Fail | Fail |
| Sample text | 13.66:1 | Pass | Pass | Pass |
| #2D255E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.66:1 | Pass | Pass | Pass |
| Sample text | 1.54: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 #2D255E looks to people with the most common types of color vision deficiency.
#022f60Protanopia
no red cones#002c5dDeuteranopia
no green cones#1c323dTritanopia
no blue cones#2e2e2eAchromatopsia
no color vision
CSS examples
.background { background-color: #2d255e; }
.text { color: #2d255e; }
.border { border: 2px solid #2d255e; }
.transparent { background-color: rgb(45 37 94 / 50%); }
.gradient { background: linear-gradient(to right, #2d255e, #4a255e); }
Similar colors
#2e2364Indie Go#222255Spacescape#332266Dark Dreams#222266Intergalactic Cowboy#2a2551Pāua#231c4dSilent Orbit#2c2c57Deep Sea Base#1c1e4dFly-by-Night
Closest common color name: Midnight Blue.
Questions
- What color is #2D255E?
- #2D255E is a dark, desaturated blue, closest to the named color Indie Go. It belongs to the blue family of colors.
- What is the RGB value of #2D255E?
- The RGB value is 45, 37, 94: 45 red, 37 green and 94 blue on a 0 to 255 scale.
- What is the complementary color of #2D255E?
- The complementary color is #565E25, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #2D255E?
- White text. Black text has a contrast ratio of 1.54:1 and white text 13.66:1. WCAG asks for at least 4.5:1 for normal text.