#27225E color
The hex color #27225E is a dark, desaturated blue.
In the RGB color model it is made of 15.3% red, 13.3% green and 36.9% blue (39, 34, 94).
Its hue angle is 245°, with 47% saturation and 25% lightness. For print, the CMYK equivalent is 59% cyan, 64% magenta, 0% yellow and 63% black.
The closest named color is Indie Go (#2E2364), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.22:1).
#27225E color codes
| HEX | #27225E | |
|---|---|---|
| RGB | rgb(39, 34, 94) | |
| RGB percent | rgb(15.3%, 13.3%, 36.9%) | |
| HSL | hsl(245, 47%, 25%) | |
| HSV / HSB | hsv(245, 64%, 37%) | |
| CMYK | cmyk(59%, 64%, 0%, 63%) | |
| CIE LAB | lab(17.38, 21.32, -35.21) | |
| CIE LCH | lch(17.38, 41.16, 301.19) | |
| CIE XYZ | xyz(3.428, 2.383, 10.867) | |
| Decimal | 2564702 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #27225E, 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 #27225E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.48:1 | Fail | Fail | Fail |
| Sample text | 14.22:1 | Pass | Pass | Pass |
| #27225E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.22:1 | Pass | Pass | Pass |
| Sample text | 1.48: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 #27225E looks to people with the most common types of color vision deficiency.
#002d60Protanopia
no red cones#00295dDeuteranopia
no green cones#0e303cTritanopia
no blue cones#2b2b2bAchromatopsia
no color vision
CSS examples
.background { background-color: #27225e; }
.text { color: #27225e; }
.border { border: 2px solid #27225e; }
.transparent { background-color: rgb(39 34 94 / 50%); }
.gradient { background: linear-gradient(to right, #27225e, #45225e); }
Similar colors
#2e2364Indie Go#222266Intergalactic Cowboy#222255Spacescape#332266Dark Dreams#231c4dSilent Orbit#1c1e4dFly-by-Night#2a2551Pāua#211d49Azulado
Closest common color name: Midnight Blue.
Questions
- What color is #27225E?
- #27225E 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 #27225E?
- The RGB value is 39, 34, 94: 39 red, 34 green and 94 blue on a 0 to 255 scale.
- What is the complementary color of #27225E?
- The complementary color is #595E22, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #27225E?
- White text. Black text has a contrast ratio of 1.48:1 and white text 14.22:1. WCAG asks for at least 4.5:1 for normal text.