Skip to content
Kolorvia
#0c1021

Color #0c1021

A moderately saturated very dark blue.

Conversions

HEX
#0c1021
RGB
rgb(12, 16, 33)
HSL
hsl(228.6, 46.7%, 8.8%)
HSV / HSB
hsv(228.6, 63.6%, 12.9%)
CMYK
cmyk(63.6%, 51.5%, 0%, 87.1%)
LAB
lab(5.05, 3.3, -11.81)
LCH
lch(5.05, 12.26, 285.61)
OKLCH
oklch(17.9%, 0.0356, 272.41)
HWB
hwb(228.6, 4.7%, 87.1%)

Harmony colors

Complementary

#211d0c

Analogous

#0c1a21
#0c1021
#120c21

Triadic

#0c1021
#210c10
#10210c

Split-complementary

#0c1021
#21120c
#1a210c

Tetradic

#0c1021
#1d0c21
#211d0c
#10210c

Square

#0c1021
#210c1a
#211d0c
#0c2112

Shades

Color #0c1021 mixed toward black.

#0a0d1b
#080b16
#060810
#04050b
#020305

Tints

Color #0c1021 mixed toward white.

#212b5a
#354793
#5469c1
#8d9bd6
#c6cdea

Tones

Color #0c1021 mixed toward gray.

#0e111f
#0f121d
#11131c
#13141a
#151518

Accessibility

Aa White text on this color
18.89:1
Aa Black text on this color
1.11:1

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

Under color vision deficiencies

Protanopia

#0e0e1e · ΔE 1.6

Deuteranopia

#0e0d1d · ΔE 2

Tritanopia

#0c1b1a · ΔE 14.3

Achromatopsia

#111111 · ΔE 9.9

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

Code

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

Related colors

Royal Blue #4169e1
Cornflower Blue #6495ed
Navy #000080
Lavender #e6e6fa
Blue #0000ff
Dark Blue #00008b

Frequently asked questions

#0c1021 (#0c1021) is rgb(12, 16, 33) in RGB.

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