#0C4A6E — Tints, Shades & Color Values

#0C4A6E

#0C4A6E is a dark, vivid blue. In Tailwind CSS this exact color is the utility class sky-900 (e.g. bg-sky-900, text-sky-900). Its nearest CSS named color is darkslategray (#2f4f4f). For readable text on a #0C4A6E background, white text gives the strongest contrast (9.46:1). Because it is dark, #0C4A6E suits text, navigation bars, and footers on light backgrounds, and its tints make natural hover and surface colors.

Want to fine-tune this color interactively? Open #0C4A6E in the tint & shade generator to explore the full lightness, hue, and chroma scales and copy any step.

Color Values

Hex#0C4A6E
RGBrgb(12, 74, 110)
HSLhsl(202, 80%, 24%)
HSV / HSB202°, 89%, 43%
Nearest nameddarkslategray (#2f4f4f)

Need these in another format? Use our hex to RGB converter for quick two-way conversion.

#0C4A6E in Tailwind CSS (sky-900)

#0C4A6E ships with Tailwind CSS as sky-900 — use it as bg-sky-900, text-sky-900, or border-sky-900. It sits at step 900 of the sky ramp; every other step links to its own page:

Browse the full Tailwind palette in the color library, or generate in-between steps with the tint & shade generator.

Tints of #0C4A6E (Mixed with White)

Each step blends the base color toward white using new = old + (255 − old) × factor. Click a swatch to open it in the generator.

Shades of #0C4A6E (Mixed with Black)

Each step blends the base color toward black using new = old × (1 − factor).

WCAG Contrast & Accessibility

Contrast ratios for text placed on a #0C4A6E background. WCAG requires 4.5:1 for normal text (AA), 3:1 for large text (AA), and 7:1 for normal text (AAA).

Text color White text 9.46:1 — AA normal: Pass · AA large: Pass · AAA: Pass
Black text 2.22:1 — AA normal: Fail · AA large: Fail · AAA: Fail

If neither pure white nor pure black reaches the level you need, pick a lighter tint of #0C4A6E from the ramps above as the background instead — small lightness moves change contrast quickly. Test any other pair with the free contrast checker.

More blue colors in the library: #2C3E50, #1E3A5F, #000080, #334155 (slate-700), #374151 (gray-700), #172554 (blue-950).

Frequently Asked Questions

Browse more colors in the color library, or start from any hex code on the HexTints homepage.

Building a brand around #0C4A6E? Put it on a free link-in-bio page →