Skip to content
Kolorvia
#0c3caf

Color #0c3caf

A vivid, highly saturated dark blue.

Conversions

HEX
#0c3caf
RGB
rgb(12, 60, 175)
HSL
hsl(222.3, 87.2%, 36.7%)
HSV / HSB
hsv(222.3, 93.1%, 68.6%)
CMYK
cmyk(93.1%, 65.7%, 0%, 31.4%)
LAB
lab(30.41, 32.02, -64.74)
LCH
lch(30.41, 72.23, 296.32)
OKLCH
oklch(41.2%, 0.1891, 263.32)
HWB
hwb(222.3, 4.7%, 31.4%)

Harmony colors

Complementary

#af7f0c

Analogous

#0c8eaf
#0c3caf
#2d0caf

Triadic

#0c3caf
#af0c3c
#3caf0c

Split-complementary

#0c3caf
#af2d0c
#8eaf0c

Tetradic

#0c3caf
#7f0caf
#af7f0c
#3caf0c

Square

#0c3caf
#af0c8e
#af7f0c
#0caf2d

Shades

Color #0c3caf mixed toward black.

#0a3292
#082875
#061e58
#04143a
#020a1d

Tints

Color #0c3caf mixed toward white.

#0f4de2
#366df1
#6891f5
#9ab6f8
#cddafc

Tones

Color #0c3caf mixed toward gray.

#1a42a2
#274794
#354d86
#425279
#50586b

Accessibility

Aa White text on this color
9.21:1
Aa Black text on this color
2.28:1

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

Under color vision deficiencies

Protanopia

#28299d · ΔE 6.3

Deuteranopia

#262298 · ΔE 8

Tritanopia

#118c88 · ΔE 39.7

Achromatopsia

#484848 · ΔE 27.6

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

Code

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

Related colors

Royal Blue #4169e1
Cornflower Blue #6495ed
Light Steel Blue #b0c4de
Light Slate Gray #778899
Slate Gray #708090
Dodger Blue #1e90ff

Frequently asked questions

#0c3caf (#0c3caf) is rgb(12, 60, 175) in RGB.

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