#0C335F color
The hex color #0C335F is a dark, moderate azure.
In the RGB color model it is made of 4.7% red, 20% green and 37.3% blue (12, 51, 95).
Its hue angle is 212°, with 78% saturation and 21% lightness. For print, the CMYK equivalent is 87% cyan, 46% magenta, 0% yellow and 63% black.
The closest named color is Neptune’s Dream (#003368), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.69:1).
#0C335F color codes
| HEX | #0C335F | |
|---|---|---|
| RGB | rgb(12, 51, 95) | |
| RGB percent | rgb(4.7%, 20%, 37.3%) | |
| HSL | hsl(212, 78%, 21%) | |
| HSV / HSB | hsv(212, 87%, 37%) | |
| CMYK | cmyk(87%, 46%, 0%, 63%) | |
| CIE LAB | lab(21.1, 4.83, -29.96) | |
| CIE LCH | lch(21.1, 30.34, 279.17) | |
| CIE XYZ | xyz(3.4, 3.272, 11.277) | |
| Decimal | 799583 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C335F, 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 #0C335F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.65:1 | Fail | Fail | Fail |
| Sample text | 12.69:1 | Pass | Pass | Pass |
| #0C335F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.69:1 | Pass | Pass | Pass |
| Sample text | 1.65: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 #0C335F looks to people with the most common types of color vision deficiency.
#1d3761Protanopia
no red cones#0c2f5eDeuteranopia
no green cones#003e44Tritanopia
no blue cones#333333Achromatopsia
no color vision
CSS examples
.background { background-color: #0c335f; }
.text { color: #0c335f; }
.border { border: 2px solid #0c335f; }
.transparent { background-color: rgb(12 51 95 / 50%); }
.gradient { background: linear-gradient(to right, #0c335f, #0f0c5f); }
Similar colors
#003368Neptune’s Dream#042e60Marine#03386aLost in Space#13336fAtlantic Navy#0f2d4dMidnight Ocean#003153Prussian Blue#003b6fTardis Blue#0a3251Beyond the Stars
Questions
- What color is #0C335F?
- #0C335F is a dark, moderate azure, closest to the named color Neptune’s Dream. It belongs to the blue family of colors.
- What is the RGB value of #0C335F?
- The RGB value is 12, 51, 95: 12 red, 51 green and 95 blue on a 0 to 255 scale.
- What is the complementary color of #0C335F?
- The complementary color is #5F380C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C335F?
- White text. Black text has a contrast ratio of 1.65:1 and white text 12.69:1. WCAG asks for at least 4.5:1 for normal text.