Skip to content
Kolorvia
#0c1230

Color #0c1230

A moderately saturated very dark blue.

Conversions

HEX
#0c1230
RGB
rgb(12, 18, 48)
HSL
hsl(230, 60%, 11.8%)
HSV / HSB
hsv(230, 75%, 18.8%)
CMYK
cmyk(75%, 62.5%, 0%, 81.2%)
LAB
lab(6.54, 8.67, -20.78)
LCH
lch(6.54, 22.52, 292.65)
OKLCH
oklch(19.7%, 0.0601, 271.33)
HWB
hwb(230, 4.7%, 81.2%)

Harmony colors

Complementary

#302a0c

Analogous

#0c2430
#0c1230
#180c30

Triadic

#0c1230
#300c12
#12300c

Split-complementary

#0c1230
#30180c
#24300c

Tetradic

#0c1230
#2a0c30
#302a0c
#12300c

Square

#0c1230
#300c24
#302a0c
#0c3018

Shades

Color #0c1230 mixed toward black.

#0a0f28
#080c20
#060918
#040610
#020308

Tints

Color #0c1230 mixed toward white.

#1b296c
#2a3fa8
#4b62d2
#8796e1
#c3cbf0

Tones

Color #0c1230 mixed toward gray.

#0f142d
#12162a
#151827
#181a24
#1b1c21

Accessibility

Aa White text on this color
18.34:1
Aa Black text on this color
1.14:1

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

Under color vision deficiencies

Protanopia

#0f0f2b · ΔE 1.7

Deuteranopia

#0e0e29 · ΔE 2

Tritanopia

#0c2625 · ΔE 22

Achromatopsia

#141414 · ΔE 15.7

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

Code

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

Related colors

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

Frequently asked questions

#0c1230 (#0c1230) is rgb(12, 18, 48) in RGB.

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