Skip to content
Kolorvia
#0c171f

Color #0c171f

A moderately saturated very dark blue.

Conversions

HEX
#0c171f
RGB
rgb(12, 23, 31)
HSL
hsl(205.3, 44.2%, 8.4%)
HSV / HSB
hsv(205.3, 61.3%, 12.2%)
CMYK
cmyk(61.3%, 25.8%, 0%, 87.8%)
LAB
lab(7.13, -1.86, -7.09)
LCH
lch(7.13, 7.33, 255.3)
OKLCH
oklch(19.8%, 0.0227, 240.95)
HWB
hwb(205.3, 4.7%, 87.8%)

Harmony colors

Complementary

#1f140c

Analogous

#0c1f1d
#0c171f
#0c0d1f

Triadic

#0c171f
#1f0c17
#171f0c

Split-complementary

#0c171f
#1f0c0d
#1f1d0c

Tetradic

#0c171f
#140c1f
#1f140c
#171f0c

Square

#0c171f
#1d0c1f
#1f140c
#0d1f0c

Shades

Color #0c171f mixed toward black.

#0a131a
#080f15
#060b0f
#04080a
#020405

Tints

Color #0c171f mixed toward white.

#224157
#376a8f
#5792be
#8fb7d4
#c7dbe9

Tones

Color #0c171f mixed toward gray.

#0e171d
#0f161c
#11161a
#121619
#141617

Accessibility

Aa White text on this color
18.14:1
Aa Black text on this color
1.16:1

White text reads better on this background (18.14:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#11121d · ΔE 6.1

Deuteranopia

#11101d · ΔE 7.6

Tritanopia

#0d1c1b · ΔE 7.8

Achromatopsia

#161616 · ΔE 6.5

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #0c171f;
Tailwind (arbitrary value)
bg-[#0c171f]

Related colors

Charcoal #36454f
Steel Blue #4682b4
Light Sky Blue #87cefa
Alice Blue #f0f8ff
Dodger Blue #1e90ff
Light Slate Gray #778899

Frequently asked questions

#0c171f (#0c171f) is rgb(12, 23, 31) in RGB.

No, #0c171f is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #0c171f, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.