#0C0D32 color
The hex color #0C0D32 is a very dark, moderate blue.
In the RGB color model it is made of 4.7% red, 5.1% green and 19.6% blue (12, 13, 50).
Its hue angle is 238°, with 61% saturation and 12% lightness. For print, the CMYK equivalent is 76% cyan, 74% magenta, 0% yellow and 80% black.
The closest named color is Infinite Night (#071037), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 18.76:1).
#0C0D32 color codes
| HEX | #0C0D32 | |
|---|---|---|
| RGB | rgb(12, 13, 50) | |
| RGB percent | rgb(4.7%, 5.1%, 19.6%) | |
| HSL | hsl(238, 61%, 12%) | |
| HSV / HSB | hsv(238, 76%, 20%) | |
| CMYK | cmyk(76%, 74%, 0%, 80%) | |
| CIE LAB | lab(5.39, 12.46, -24.11) | |
| CIE LCH | lch(5.39, 27.13, 297.32) | |
| CIE XYZ | xyz(0.871, 0.596, 3.086) | |
| Decimal | 789810 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C0D32, 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 #0C0D32 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.12:1 | Fail | Fail | Fail |
| Sample text | 18.76:1 | Pass | Pass | Pass |
| #0C0D32 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 18.76:1 | Pass | Pass | Pass |
| Sample text | 1.12: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 #0C0D32 looks to people with the most common types of color vision deficiency.
#001333Protanopia
no red cones#001031Deuteranopia
no green cones#00161dTritanopia
no blue cones#121212Achromatopsia
no color vision
CSS examples
.background { background-color: #0c0d32; }
.text { color: #0c0d32; }
.border { border: 2px solid #0c0d32; }
.transparent { background-color: rgb(12 13 50 / 50%); }
.gradient { background: linear-gradient(to right, #0c0d32, #1e0c32); }
Similar colors
#071037Infinite Night#03012dMidnight#00022eIllicit Darkness#060929Mysterious Depths#000435Oblivion#111144Deadly Depths#1c0f33Midnight Monarch#041330Squid’s Ink
Closest common color name: Oxford Blue.
Questions
- What color is #0C0D32?
- #0C0D32 is a very dark, moderate blue, closest to the named color Infinite Night. It belongs to the black family of colors.
- What is the RGB value of #0C0D32?
- The RGB value is 12, 13, 50: 12 red, 13 green and 50 blue on a 0 to 255 scale.
- What is the complementary color of #0C0D32?
- The complementary color is #32310C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C0D32?
- White text. Black text has a contrast ratio of 1.12:1 and white text 18.76:1. WCAG asks for at least 4.5:1 for normal text.