#0E0C5F color
The hex color #0E0C5F is a dark, moderate blue.
In the RGB color model it is made of 5.5% red, 4.7% green and 37.3% blue (14, 12, 95).
Its hue angle is 241°, with 78% saturation and 21% lightness. For print, the CMYK equivalent is 85% cyan, 87% magenta, 0% yellow and 63% black.
The closest named color is Space Colonisation (#150F5B), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 16.98:1).
#0E0C5F color codes
| HEX | #0E0C5F | |
|---|---|---|
| RGB | rgb(14, 12, 95) | |
| RGB percent | rgb(5.5%, 4.7%, 37.3%) | |
| HSL | hsl(241, 78%, 21%) | |
| HSV / HSB | hsv(241, 87%, 37%) | |
| CMYK | cmyk(85%, 87%, 0%, 63%) | |
| CIE LAB | lab(10.43, 32.32, -47.38) | |
| CIE LCH | lch(10.43, 57.36, 304.3) | |
| CIE XYZ | xyz(2.377, 1.182, 10.927) | |
| Decimal | 920671 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0E0C5F, 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 #0E0C5F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.24:1 | Fail | Fail | Fail |
| Sample text | 16.98:1 | Pass | Pass | Pass |
| #0E0C5F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.98:1 | Pass | Pass | Pass |
| Sample text | 1.24: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 #0E0C5F looks to people with the most common types of color vision deficiency.
#002061Protanopia
no red cones#00185eDeuteranopia
no green cones#002736Tritanopia
no blue cones#1c1c1cAchromatopsia
no color vision
CSS examples
.background { background-color: #0e0c5f; }
.text { color: #0e0c5f; }
.border { border: 2px solid #0e0c5f; }
.transparent { background-color: rgb(14 12 95 / 50%); }
.gradient { background: linear-gradient(to right, #0e0c5f, #370c5f); }
Similar colors
#150f5bSpace Colonisation#111166Dying Storm Blue#0a0555Ravenclaw#110066The Vast of Night#000066Alone in the Dark#001155Interstellar Blue#0f084bSilent Twilight#220066Blackmail
Closest common color name: Midnight Blue.
Questions
- What color is #0E0C5F?
- #0E0C5F is a dark, moderate blue, closest to the named color Space Colonisation. It belongs to the black family of colors.
- What is the RGB value of #0E0C5F?
- The RGB value is 14, 12, 95: 14 red, 12 green and 95 blue on a 0 to 255 scale.
- What is the complementary color of #0E0C5F?
- The complementary color is #5D5F0C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0E0C5F?
- White text. Black text has a contrast ratio of 1.24:1 and white text 16.98:1. WCAG asks for at least 4.5:1 for normal text.