Skip to content
Kolorvia
#0c0c0f

Color #0c0c0f

A nearly neutral, gray-leaning very dark blue.

Conversions

HEX
#0c0c0f
RGB
rgb(12, 12, 15)
HSL
hsl(240, 11.1%, 5.3%)
HSV / HSB
hsv(240, 20%, 5.9%)
CMYK
cmyk(20%, 20%, 0%, 94.1%)
LAB
lab(3.39, 0.5, -1.37)
LCH
lch(3.39, 1.46, 290.05)
OKLCH
oklch(15.6%, 0.0063, 285.57)
HWB
hwb(240, 4.7%, 94.1%)

Harmony colors

Complementary

#0f0f0c

Analogous

#0c0e0f
#0c0c0f
#0e0c0f

Triadic

#0c0c0f
#0f0c0c
#0c0f0c

Split-complementary

#0c0c0f
#0f0e0c
#0e0f0c

Tetradic

#0c0c0f
#0f0c0f
#0f0f0c
#0c0f0c

Square

#0c0c0f
#0f0c0e
#0f0f0c
#0c0f0e

Shades

Color #0c0c0f mixed toward black.

#0a0a0d
#08080a
#060608
#040405
#020203

Tints

Color #0c0c0f mixed toward white.

#30303c
#545468
#797994
#a6a6b7
#d2d2db

Tones

Color #0c0c0f mixed toward gray.

#0c0c0f
#0d0d0f
#0d0d0e
#0d0d0e
#0d0d0e

Accessibility

Aa White text on this color
19.53:1
Aa Black text on this color
1.08:1

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

Under color vision deficiencies

Protanopia

#0c0c0e · ΔE 0.5

Deuteranopia

#0c0c0e · ΔE 0.5

Tritanopia

#0c0e0e · ΔE 2

Achromatopsia

#0c0c0c · ΔE 1.5

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

Code

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

Related colors

Navy #000080
Lavender #e6e6fa
Blue #0000ff
Dark Blue #00008b
Ghost White #f8f8ff
Medium Blue #0000cd

Frequently asked questions

#0c0c0f (#0c0c0f) is rgb(12, 12, 15) in RGB.

No, #0c0c0f 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 #0c0c0f, 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.