#0C1C58 color

#0C1C58 rgb(12, 28, 88)
Shades of blue

The hex color #0C1C58 is a very dark, moderate blue.

In the RGB color model it is made of 4.7% red, 11% green and 34.5% blue (12, 28, 88).

Its hue angle is 227°, with 76% saturation and 20% lightness. For print, the CMYK equivalent is 86% cyan, 68% magenta, 0% yellow and 65% black.

The closest named color is Fibonacci Blue (#112358), a difference of 2.5 ΔE, a small difference.

White text is the more readable choice on this background (contrast 15.88:1).

#0C1C58 color codes

HEX#0C1C58
RGBrgb(12, 28, 88)
RGB percentrgb(4.7%, 11%, 34.5%)
HSLhsl(227, 76%, 20%)
HSV / HSBhsv(227, 86%, 35%)
CMYKcmyk(86%, 68%, 0%, 65%)
CIE LABlab(13.31, 18.87, -37.92)
CIE LCHlch(13.31, 42.36, 296.45)
CIE XYZxyz(2.328, 1.613, 9.419)
Decimal793688
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #0C1C58, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #0C1C58RatioAAAAAAA large
Sample text1.32:1FailFailFail
Sample text15.88:1PassPassPass
#0C1C58 as text onRatioAAAAAAA large
Sample text15.88:1PassPassPass
Sample text1.32:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #0C1C58 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #0c1c58; }
.text { color: #0c1c58; }
.border { border: 2px solid #0c1c58; }
.transparent { background-color: rgb(12 28 88 / 50%); }
.gradient { background: linear-gradient(to right, #0c1c58, #220c58); }
Background
Text color
Border

Similar colors

Closest common color name: Midnight Blue.

Questions

What color is #0C1C58?
#0C1C58 is a very dark, moderate blue, closest to the named color Fibonacci Blue. It belongs to the blue family of colors.
What is the RGB value of #0C1C58?
The RGB value is 12, 28, 88: 12 red, 28 green and 88 blue on a 0 to 255 scale.
What is the complementary color of #0C1C58?
The complementary color is #58480C, found by rotating the hue 180° on the color wheel.
Is black or white text better on #0C1C58?
White text. Black text has a contrast ratio of 1.32:1 and white text 15.88:1. WCAG asks for at least 4.5:1 for normal text.