#27286C color
The hex color #27286C is a dark, desaturated blue.
In the RGB color model it is made of 15.3% red, 15.7% green and 42.4% blue (39, 40, 108).
Its hue angle is 239°, with 47% saturation and 29% lightness. For print, the CMYK equivalent is 64% cyan, 63% magenta, 0% yellow and 58% black.
The closest named color is Intergalactic Cowboy (#222266), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.07:1).
#27286C color codes
| HEX | #27286C | |
|---|---|---|
| RGB | rgb(39, 40, 108) | |
| RGB percent | rgb(15.3%, 15.7%, 42.4%) | |
| HSL | hsl(239, 47%, 29%) | |
| HSV / HSB | hsv(239, 64%, 42%) | |
| CMYK | cmyk(64%, 63%, 0%, 58%) | |
| CIE LAB | lab(20.17, 22.28, -39.87) | |
| CIE LCH | lch(20.17, 45.68, 299.2) | |
| CIE XYZ | xyz(4.301, 3.031, 14.543) | |
| Decimal | 2566252 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #27286C, 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 #27286C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.61:1 | Fail | Fail | Fail |
| Sample text | 13.07:1 | Pass | Pass | Pass |
| #27286C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.07:1 | Pass | Pass | Pass |
| Sample text | 1.61: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 #27286C looks to people with the most common types of color vision deficiency.
#00346eProtanopia
no red cones#002e6bDeuteranopia
no green cones#003945Tritanopia
no blue cones#313131Achromatopsia
no color vision
CSS examples
.background { background-color: #27286c; }
.text { color: #27286c; }
.border { border: 2px solid #27286c; }
.transparent { background-color: rgb(39 40 108 / 50%); }
.gradient { background: linear-gradient(to right, #27286c, #49276c); }
Similar colors
#222266Intergalactic Cowboy#2e2364Indie Go#112473Midnight Crest#332266Dark Dreams#082567Dark Sapphire#332277Deep Space Rodeo#002266Midnight Melancholia#002366Deep Sea Nightmare
Closest common color name: Midnight Blue.
Questions
- What color is #27286C?
- #27286C is a dark, desaturated blue, closest to the named color Intergalactic Cowboy. It belongs to the blue family of colors.
- What is the RGB value of #27286C?
- The RGB value is 39, 40, 108: 39 red, 40 green and 108 blue on a 0 to 255 scale.
- What is the complementary color of #27286C?
- The complementary color is #6C6B27, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #27286C?
- White text. Black text has a contrast ratio of 1.61:1 and white text 13.07:1. WCAG asks for at least 4.5:1 for normal text.