#0C3278 color
The hex color #0C3278 is a dark, vivid azure.
In the RGB color model it is made of 4.7% red, 19.6% green and 47.1% blue (12, 50, 120).
Its hue angle is 219°, with 82% saturation and 26% lightness. For print, the CMYK equivalent is 90% cyan, 58% magenta, 0% yellow and 53% black.
The closest named color is Below the Surface (#0A2F7C), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.05:1).
#0C3278 color codes
| HEX | #0C3278 | |
|---|---|---|
| RGB | rgb(12, 50, 120) | |
| RGB percent | rgb(4.7%, 19.6%, 47.1%) | |
| HSL | hsl(219, 82%, 26%) | |
| HSV / HSB | hsv(219, 90%, 47%) | |
| CMYK | cmyk(90%, 58%, 0%, 53%) | |
| CIE LAB | lab(22.71, 16.44, -43.51) | |
| CIE LCH | lch(22.71, 46.51, 290.7) | |
| CIE XYZ | xyz(4.681, 3.715, 18.236) | |
| Decimal | 799352 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C3278, 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 #0C3278 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.74:1 | Fail | Fail | Fail |
| Sample text | 12.05:1 | Pass | Pass | Pass |
| #0C3278 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.05:1 | Pass | Pass | Pass |
| Sample text | 1.74: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 #0C3278 looks to people with the most common types of color vision deficiency.
#003b7aProtanopia
no red cones#003277Deuteranopia
no green cones#00444fTritanopia
no blue cones#363636Achromatopsia
no color vision
CSS examples
.background { background-color: #0c3278; }
.text { color: #0c3278; }
.border { border: 2px solid #0c3278; }
.transparent { background-color: rgb(12 50 120 / 50%); }
.gradient { background: linear-gradient(to right, #0c3278, #1c0c78); }
Similar colors
#0a2f7cBelow the Surface#1c3378Twilight Express#13336fAtlantic Navy#003388One Minute to Midnight#223382Deep Space Royal#003368Neptune’s Dream#042e60Marine#1c2e63Mythical Night
Closest common color name: Prussian Blue.
Questions
- What color is #0C3278?
- #0C3278 is a dark, vivid azure, closest to the named color Below the Surface. It belongs to the blue family of colors.
- What is the RGB value of #0C3278?
- The RGB value is 12, 50, 120: 12 red, 50 green and 120 blue on a 0 to 255 scale.
- What is the complementary color of #0C3278?
- The complementary color is #78520C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C3278?
- White text. Black text has a contrast ratio of 1.74:1 and white text 12.05:1. WCAG asks for at least 4.5:1 for normal text.