Skip to content
Kolorvia
#0c0f1e

Color #0c0f1e

A moderately saturated very dark blue.

Conversions

HEX
#0c0f1e
RGB
rgb(12, 15, 30)
HSL
hsl(230, 42.9%, 8.2%)
HSV / HSB
hsv(230, 60%, 11.8%)
CMYK
cmyk(60%, 50%, 0%, 88.2%)
LAB
lab(4.64, 2.81, -10.1)
LCH
lch(4.64, 10.48, 285.55)
OKLCH
oklch(17.4%, 0.0315, 274.01)
HWB
hwb(230, 4.7%, 88.2%)

Harmony colors

Complementary

#1e1b0c

Analogous

#0c181e
#0c0f1e
#120c1e

Triadic

#0c0f1e
#1e0c0f
#0f1e0c

Split-complementary

#0c0f1e
#1e120c
#181e0c

Tetradic

#0c0f1e
#1b0c1e
#1e1b0c
#0f1e0c

Square

#0c0f1e
#1e0c18
#1e1b0c
#0c1e12

Shades

Color #0c0f1e mixed toward black.

#0a0c19
#080a14
#06070f
#04050a
#020205

Tints

Color #0c0f1e mixed toward white.

#222b56
#38478d
#5868bc
#8f9bd2
#c7cde9

Tones

Color #0c0f1e mixed toward gray.

#0d101c
#0f111b
#101219
#121318
#131416

Accessibility

Aa White text on this color
19.04:1
Aa Black text on this color
1.1:1

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

Under color vision deficiencies

Protanopia

#0d0d1b · ΔE 1.4

Deuteranopia

#0d0d1a · ΔE 1.8

Tritanopia

#0c1918 · ΔE 12.6

Achromatopsia

#101010 · ΔE 8.8

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

Code

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

Related colors

Royal Blue #4169e1
Navy #000080
Lavender #e6e6fa
Blue #0000ff
Dark Blue #00008b
Ghost White #f8f8ff

Frequently asked questions

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

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