#0C305F color
The hex color #0C305F is a dark, moderate azure.
In the RGB color model it is made of 4.7% red, 18.8% green and 37.3% blue (12, 48, 95).
Its hue angle is 214°, with 78% saturation and 21% lightness. For print, the CMYK equivalent is 87% cyan, 49% magenta, 0% yellow and 63% black.
The closest named color is Marine (#042E60), a difference of 0.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.1:1).
#0C305F color codes
| HEX | #0C305F | |
|---|---|---|
| RGB | rgb(12, 48, 95) | |
| RGB percent | rgb(4.7%, 18.8%, 37.3%) | |
| HSL | hsl(214, 78%, 21%) | |
| HSV / HSB | hsv(214, 87%, 37%) | |
| CMYK | cmyk(87%, 49%, 0%, 63%) | |
| CIE LAB | lab(20.12, 7.01, -31.54) | |
| CIE LCH | lch(20.12, 32.31, 282.52) | |
| CIE XYZ | xyz(3.273, 3.018, 11.234) | |
| Decimal | 798815 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C305F, 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 #0C305F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.6:1 | Fail | Fail | Fail |
| Sample text | 13.1:1 | Pass | Pass | Pass |
| #0C305F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.1:1 | Pass | Pass | Pass |
| Sample text | 1.6: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 #0C305F looks to people with the most common types of color vision deficiency.
#163561Protanopia
no red cones#022d5eDeuteranopia
no green cones#003b42Tritanopia
no blue cones#313131Achromatopsia
no color vision
CSS examples
.background { background-color: #0c305f; }
.text { color: #0c305f; }
.border { border: 2px solid #0c305f; }
.transparent { background-color: rgb(12 48 95 / 50%); }
.gradient { background: linear-gradient(to right, #0c305f, #110c5f); }
Similar colors
#042e60Marine#003368Neptune’s Dream#13336fAtlantic Navy#1c2e63Mythical Night#03386aLost in Space#0f2d4dMidnight Ocean#003153Prussian Blue#0a3251Beyond the Stars
Questions
- What color is #0C305F?
- #0C305F is a dark, moderate azure, closest to the named color Marine. It belongs to the blue family of colors.
- What is the RGB value of #0C305F?
- The RGB value is 12, 48, 95: 12 red, 48 green and 95 blue on a 0 to 255 scale.
- What is the complementary color of #0C305F?
- The complementary color is #5F3B0C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C305F?
- White text. Black text has a contrast ratio of 1.6:1 and white text 13.1:1. WCAG asks for at least 4.5:1 for normal text.