#040136 color
The hex color #040136 is a very dark, vivid blue.
In the RGB color model it is made of 1.6% red, 0.4% green and 21.2% blue (4, 1, 54).
Its hue angle is 243°, with 96% saturation and 11% lightness. For print, the CMYK equivalent is 93% cyan, 98% magenta, 0% yellow and 79% black.
The closest named color is Oblivion (#000435), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 19.76:1).
#040136 color codes
| HEX | #040136 | |
|---|---|---|
| RGB | rgb(4, 1, 54) | |
| RGB percent | rgb(1.6%, 0.4%, 21.2%) | |
| HSL | hsl(243, 96%, 11%) | |
| HSV / HSB | hsv(243, 98%, 21%) | |
| CMYK | cmyk(93%, 98%, 0%, 79%) | |
| CIE LAB | lab(2.83, 17.55, -31.19) | |
| CIE LCH | lch(2.83, 35.79, 299.36) | |
| CIE XYZ | xyz(0.727, 0.314, 3.512) | |
| Decimal | 262454 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #040136, 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 #040136 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.06:1 | Fail | Fail | Fail |
| Sample text | 19.76:1 | Pass | Pass | Pass |
| #040136 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 19.76:1 | Pass | Pass | Pass |
| Sample text | 1.06: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 #040136 looks to people with the most common types of color vision deficiency.
#000d37Protanopia
no red cones#000835Deuteranopia
no green cones#00111cTritanopia
no blue cones#0a0a0aAchromatopsia
no color vision
CSS examples
.background { background-color: #040136; }
.text { color: #040136; }
.border { border: 2px solid #040136; }
.transparent { background-color: rgb(4 1 54 / 50%); }
.gradient { background: linear-gradient(to right, #040136, #1f0136); }
Similar colors
#000435Oblivion#000b44Storm#03012dMidnight#00022eIllicit Darkness#071037Infinite Night#111144Deadly Depths#000044Endless Galaxy#160435Quiet Abyss
Closest common color name: Oxford Blue.
Questions
- What color is #040136?
- #040136 is a very dark, vivid blue, closest to the named color Oblivion. It belongs to the black family of colors.
- What is the RGB value of #040136?
- The RGB value is 4, 1, 54: 4 red, 1 green and 54 blue on a 0 to 255 scale.
- What is the complementary color of #040136?
- The complementary color is #333601, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #040136?
- White text. Black text has a contrast ratio of 1.06:1 and white text 19.76:1. WCAG asks for at least 4.5:1 for normal text.