Skip to content
Kolorvia
#0c1e2f

Color #0c1e2f

A moderately saturated very dark blue.

Conversions

HEX
#0c1e2f
RGB
rgb(12, 30, 47)
HSL
hsl(209.1, 59.3%, 11.6%)
HSV / HSB
hsv(209.1, 74.5%, 18.4%)
CMYK
cmyk(74.5%, 36.2%, 0%, 81.6%)
LAB
lab(10.64, -0.77, -13.54)
LCH
lch(10.64, 13.56, 266.75)
OKLCH
oklch(22.9%, 0.041, 248.82)
HWB
hwb(209.1, 4.7%, 81.6%)

Harmony colors

Complementary

#2f1d0c

Analogous

#0c2f2f
#0c1e2f
#0c0d2f

Triadic

#0c1e2f
#2f0c1e
#1e2f0c

Split-complementary

#0c1e2f
#2f0c0d
#2f2f0c

Tetradic

#0c1e2f
#1d0c2f
#2f1d0c
#1e2f0c

Square

#0c1e2f
#2f0c2f
#2f1d0c
#0d2f0c

Shades

Color #0c1e2f mixed toward black.

#0a1927
#08141f
#060f18
#040a10
#020508

Tints

Color #0c1e2f mixed toward white.

#1b446b
#2b6ba7
#4b90d1
#87b5e0
#c3daf0

Tones

Color #0c1e2f mixed toward gray.

#0f1e2c
#121e29
#151e26
#181e23
#1b1e21

Accessibility

Aa White text on this color
16.9:1
Aa Black text on this color
1.24:1

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

Under color vision deficiencies

Protanopia

#15162c · ΔE 9.2

Deuteranopia

#14132b · ΔE 10.5

Tritanopia

#0d2928 · ΔE 13.9

Achromatopsia

#1d1d1d · ΔE 10.4

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

Code

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

Related colors

Dodger Blue #1e90ff
Light Slate Gray #778899
Slate Gray #708090
Alice Blue #f0f8ff
Steel Blue #4682b4
Light Steel Blue #b0c4de

Frequently asked questions

#0c1e2f (#0c1e2f) is rgb(12, 30, 47) in RGB.

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