#0C3852 color
The hex color #0C3852 is a very dark, moderate azure.
In the RGB color model it is made of 4.7% red, 22% green and 32.2% blue (12, 56, 82).
Its hue angle is 202°, with 74% saturation and 18% lightness. For print, the CMYK equivalent is 85% cyan, 32% magenta, 0% yellow and 68% black.
The closest named color is Sea of Stars (#0B334D), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 12.33:1).
#0C3852 color codes
| HEX | #0C3852 | |
|---|---|---|
| RGB | rgb(12, 56, 82) | |
| RGB percent | rgb(4.7%, 22%, 32.2%) | |
| HSL | hsl(202, 74%, 18%) | |
| HSV / HSB | hsv(202, 85%, 32%) | |
| CMYK | cmyk(85%, 32%, 0%, 68%) | |
| CIE LAB | lab(22, -4.24, -19.95) | |
| CIE LCH | lch(22, 20.4, 257.99) | |
| CIE XYZ | xyz(3.088, 3.515, 8.497) | |
| Decimal | 800850 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C3852, 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 #0C3852 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.7:1 | Fail | Fail | Fail |
| Sample text | 12.33:1 | Pass | Pass | Pass |
| #0C3852 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 12.33:1 | Pass | Pass | Pass |
| Sample text | 1.7: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 #0C3852 looks to people with the most common types of color vision deficiency.
#2c3853Protanopia
no red cones#223252Deuteranopia
no green cones#003f41Tritanopia
no blue cones#353535Achromatopsia
no color vision
CSS examples
.background { background-color: #0c3852; }
.text { color: #0c3852; }
.border { border: 2px solid #0c3852; }
.transparent { background-color: rgb(12 56 82 / 50%); }
.gradient { background: linear-gradient(to right, #0c3852, #0c1552); }
Similar colors
#0b334dSea of Stars#143c5dPoseidon#1a4157Capital Blue#0a3251Beyond the Stars#003153Prussian Blue#004058Maniac Mansion#1e3442Blue Whale#29465bOne Year of Rain
Questions
- What color is #0C3852?
- #0C3852 is a very dark, moderate azure, closest to the named color Sea of Stars. It belongs to the blue family of colors.
- What is the RGB value of #0C3852?
- The RGB value is 12, 56, 82: 12 red, 56 green and 82 blue on a 0 to 255 scale.
- What is the complementary color of #0C3852?
- The complementary color is #52260C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C3852?
- White text. Black text has a contrast ratio of 1.7:1 and white text 12.33:1. WCAG asks for at least 4.5:1 for normal text.