#0C008A color
The hex color #0C008A is a dark, vivid blue.
In the RGB color model it is made of 4.7% red, 0% green and 54.1% blue (12, 0, 138).
Its hue angle is 245°, with 100% saturation and 27% lightness. For print, the CMYK equivalent is 91% cyan, 100% magenta, 0% yellow and 46% black.
The closest named color is Dark Blue (#00008B), a difference of 0.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 15.19:1).
#0C008A color codes
| HEX | #0C008A | |
|---|---|---|
| RGB | rgb(12, 0, 138) | |
| RGB percent | rgb(4.7%, 0%, 54.1%) | |
| HSL | hsl(245, 100%, 27%) | |
| HSV / HSB | hsv(245, 100%, 54%) | |
| CMYK | cmyk(91%, 100%, 0%, 46%) | |
| CIE LAB | lab(15.02, 50.3, -67.59) | |
| CIE LCH | lch(15.02, 84.25, 306.65) | |
| CIE XYZ | xyz(4.737, 1.913, 24.159) | |
| Decimal | 786570 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C008A, 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 #0C008A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.38:1 | Fail | Fail | Fail |
| Sample text | 15.19:1 | Pass | Pass | Pass |
| #0C008A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.19:1 | Pass | Pass | Pass |
| Sample text | 1.38:1 | Fail | Fail | Fail |
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 #0C008A looks to people with the most common types of color vision deficiency.
#002c8dProtanopia
no red cones#001e88Deuteranopia
no green cones#00364fTritanopia
no blue cones#262626Achromatopsia
no color vision
CSS examples
.background { background-color: #0c008a; }
.text { color: #0c008a; }
.border { border: 2px solid #0c008a; }
.transparent { background-color: rgb(12 0 138 / 50%); }
.gradient { background: linear-gradient(to right, #0c008a, #51008a); }
Similar colors
#00008bDark Blue#000088Midnight in Tokyo#220088Orbital Kingdom#000080Navy Blue#000080Navy#120a8fUltramarine#000099Everlasting Night#240093Dramatic Blue
Questions
- What color is #0C008A?
- #0C008A is a dark, vivid blue, closest to the named color Dark Blue. It belongs to the blue family of colors.
- What is the RGB value of #0C008A?
- The RGB value is 12, 0, 138: 12 red, 0 green and 138 blue on a 0 to 255 scale.
- What is the complementary color of #0C008A?
- The complementary color is #7E8A00, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C008A?
- White text. Black text has a contrast ratio of 1.38:1 and white text 15.19:1. WCAG asks for at least 4.5:1 for normal text.