#030712 color
The swatch above shows #030712 with its hex code written on it in white and in black, so you can see which of the two is legible before reading the measured ratios below.
#030712 is a very dark, vivid blue, closest to the CSS named color black (#000000).
It is also a Tailwind CSS default: gray-950. That means you can write bg-gray-950 or text-gray-950 directly, with no arbitrary-value brackets and no entry in your theme config.
Color values
| HEX | #030712 |
| RGB | rgb(3, 7, 18) |
| HSL | hsl(224, 71%, 4%) |
| CMYK | cmyk(83%, 61%, 0%, 93%) |
| Decimal | 198418 |
| CSS | color: #030712; |
| Android | 0xFF030712 |
| Swift | UIColor(red: 0.012, green: 0.027, blue: 0.071, alpha: 1) |
Accessibility and contrast
| White text on #030712 | 20.13:1 — AA pass · AA large pass · AAA pass |
| Black text on #030712 | 1.04:1 — AA fail · AA large fail · AAA fail |
| Recommended text color | white |
WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).
Tints and shades of #030712
Each swatch keeps the hue and saturation of #030712 and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #030712
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #030712 in code
/* CSS */
.element { color: #030712; background-color: #030712; }
.element { color: rgb(3 7 18); }
.element { color: hsl(224 71% 4%); }
/* Tailwind */
<div class="bg-gray-950 text-white">
/* SCSS variable */
$brand: #030712;
Frequently asked questions
What color is #030712?
#030712 is a very dark, vivid blue. Its hue sits at 224° on the color wheel, with 71% saturation and 4% lightness.
What is #030712 in RGB?
#030712 converts to rgb(3, 7, 18) — 3 red, 7 green and 18 blue.
What is #030712 in CMYK?
Approximately cmyk(83%, 61%, 0%, 93%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.
Should text on #030712 be white or black?
White gives the better contrast ratio (20.13:1 versus 1.04:1).
What is the complementary color of #030712?
#110E03 — the hue directly opposite #030712 on the color wheel.