Toolman

#030712 color

#030712#030712

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
RGBrgb(3, 7, 18)
HSLhsl(224, 71%, 4%)
CMYKcmyk(83%, 61%, 0%, 93%)
Decimal198418
CSScolor: #030712;
Android0xFF030712
SwiftUIColor(red: 0.012, green: 0.027, blue: 0.071, alpha: 1)

Accessibility and contrast

White text on #03071220.13:1 — AA pass · AA large pass · AAA pass
Black text on #0307121.04:1 — AA fail · AA large fail · AAA fail
Recommended text colorwhite

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.

95%
85%
75%
65%
55%
45%
35%
25%
15%

Colors that go with #030712

Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.

Complementary
Triadic +120°
Triadic +240°
Analogous −30°
Analogous +30°
Split −150°
Split +150°

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.

Convert any color → · Browse all colors