#03012F color
The hex color #03012F is a very dark, vivid blue.
In the RGB color model it is made of 1.2% red, 0.4% green and 18.4% blue (3, 1, 47).
Its hue angle is 243°, with 96% saturation and 9% lightness. For print, the CMYK equivalent is 94% cyan, 98% magenta, 0% yellow and 82% black.
The closest named color is Midnight (#03012D), a difference of 0.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 20.01:1).
#03012F color codes
| HEX | #03012F | |
|---|---|---|
| RGB | rgb(3, 1, 47) | |
| RGB percent | rgb(1.2%, 0.4%, 18.4%) | |
| HSL | hsl(243, 96%, 9%) | |
| HSV / HSB | hsv(243, 98%, 18%) | |
| CMYK | cmyk(94%, 98%, 0%, 82%) | |
| CIE LAB | lab(2.22, 13.41, -26.95) | |
| CIE LCH | lch(2.22, 30.1, 296.45) | |
| CIE XYZ | xyz(0.561, 0.246, 2.707) | |
| Decimal | 196911 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #03012F, 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 #03012F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.05:1 | Fail | Fail | Fail |
| Sample text | 20.01:1 | Pass | Pass | Pass |
| #03012F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 20.01:1 | Pass | Pass | Pass |
| Sample text | 1.05: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 #03012F looks to people with the most common types of color vision deficiency.
#000a30Protanopia
no red cones#00062eDeuteranopia
no green cones#000e18Tritanopia
no blue cones#080808Achromatopsia
no color vision
CSS examples
.background { background-color: #03012f; }
.text { color: #03012f; }
.border { border: 2px solid #03012f; }
.transparent { background-color: rgb(3 1 47 / 50%); }
.gradient { background: linear-gradient(to right, #03012f, #1a012f); }
Similar colors
#03012dMidnight#00022eIllicit Darkness#000435Oblivion#071037Infinite Night#060929Mysterious Depths#000b44Storm#111144Deadly Depths#041330Squid’s Ink
Closest common color name: Oxford Blue.
Questions
- What color is #03012F?
- #03012F is a very dark, vivid blue, closest to the named color Midnight. It belongs to the black family of colors.
- What is the RGB value of #03012F?
- The RGB value is 3, 1, 47: 3 red, 1 green and 47 blue on a 0 to 255 scale.
- What is the complementary color of #03012F?
- The complementary color is #2D2F01, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #03012F?
- White text. Black text has a contrast ratio of 1.05:1 and white text 20.01:1. WCAG asks for at least 4.5:1 for normal text.