Skip to content
Kolorvia
#0c4fa7

Color #0c4fa7

A vivid, highly saturated dark blue.

Conversions

HEX
#0c4fa7
RGB
rgb(12, 79, 167)
HSL
hsl(214.1, 86.6%, 35.1%)
HSV / HSB
hsv(214.1, 92.8%, 65.5%)
CMYK
cmyk(92.8%, 52.7%, 0%, 34.5%)
LAB
lab(34.92, 15.93, -52.6)
LCH
lch(34.92, 54.96, 286.85)
OKLCH
oklch(44.4%, 0.1551, 258.1)
HWB
hwb(214.1, 4.7%, 34.5%)

Harmony colors

Complementary

#a7640c

Analogous

#0c9ca7
#0c4fa7
#170ca7

Triadic

#0c4fa7
#a70c4f
#4fa70c

Split-complementary

#0c4fa7
#a7170c
#9ca70c

Tetradic

#0c4fa7
#640ca7
#a7640c
#4fa70c

Square

#0c4fa7
#a70c9c
#a7640c
#0ca717

Shades

Color #0c4fa7 mixed toward black.

#0a428b
#08356f
#062754
#041a38
#020d1c

Tints

Color #0c4fa7 mixed toward white.

#1067da
#3184f0
#65a2f4
#98c1f8
#cce0fb

Tones

Color #0c4fa7 mixed toward gray.

#19519a
#26528d
#335480
#405673
#4d5866

Accessibility

Aa White text on this color
7.8:1
Aa Black text on this color
2.69:1

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

Under color vision deficiencies

Protanopia

#353698 · ΔE 10.5

Deuteranopia

#322d94 · ΔE 12.7

Tritanopia

#158a86 · ΔE 34.3

Achromatopsia

#525252 · ΔE 24.7

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

Code

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

Related colors

Light Steel Blue #b0c4de
Light Slate Gray #778899
Slate Gray #708090
Cornflower Blue #6495ed
Dodger Blue #1e90ff
Alice Blue #f0f8ff

Frequently asked questions

#0c4fa7 (#0c4fa7) is rgb(12, 79, 167) in RGB.

No, #0c4fa7 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #0c4fa7, 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.