#0C328F color
The hex color #0C328F is a dark, vivid blue.
In the RGB color model it is made of 4.7% red, 19.6% green and 56.1% blue (12, 50, 143).
Its hue angle is 223°, with 85% saturation and 30% lightness. For print, the CMYK equivalent is 92% cyan, 65% magenta, 0% yellow and 44% black.
The closest named color is Smalt (#003399), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.24:1).
#0C328F color codes
| HEX | #0C328F | |
|---|---|---|
| RGB | rgb(12, 50, 143) | |
| RGB percent | rgb(4.7%, 19.6%, 56.1%) | |
| HSL | hsl(223, 85%, 30%) | |
| HSV / HSB | hsv(223, 92%, 56%) | |
| CMYK | cmyk(92%, 65%, 0%, 44%) | |
| CIE LAB | lab(24.77, 26.06, -54.56) | |
| CIE LCH | lch(24.77, 60.47, 295.53) | |
| CIE XYZ | xyz(6.248, 4.342, 26.49) | |
| Decimal | 799375 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C328F, 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 #0C328F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.87:1 | Fail | Fail | Fail |
| Sample text | 11.24:1 | Pass | Pass | Pass |
| #0C328F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.24:1 | Pass | Pass | Pass |
| Sample text | 1.87: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 #0C328F looks to people with the most common types of color vision deficiency.
#004192Protanopia
no red cones#00358dDeuteranopia
no green cones#004b5bTritanopia
no blue cones#3b3b3bAchromatopsia
no color vision
CSS examples
.background { background-color: #0c328f; }
.text { color: #0c328f; }
.border { border: 2px solid #0c328f; }
.transparent { background-color: rgb(12 50 143 / 50%); }
.gradient { background: linear-gradient(to right, #0c328f, #280c8f); }
Similar colors
#003399Smalt#003388One Minute to Midnight#223382Deep Space Royal#273287Intergalactic Highway#0a2f7cBelow the Surface#2b3191Royal Night#2d3796Liquid Denim#1034a6Egyptian Blue
Questions
- What color is #0C328F?
- #0C328F is a dark, vivid blue, closest to the named color Smalt. It belongs to the blue family of colors.
- What is the RGB value of #0C328F?
- The RGB value is 12, 50, 143: 12 red, 50 green and 143 blue on a 0 to 255 scale.
- What is the complementary color of #0C328F?
- The complementary color is #8F690C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C328F?
- White text. Black text has a contrast ratio of 1.87:1 and white text 11.24:1. WCAG asks for at least 4.5:1 for normal text.