#0C313E color
The hex color #0C313E is a very dark, moderate azure.
In the RGB color model it is made of 4.7% red, 19.2% green and 24.3% blue (12, 49, 62).
Its hue angle is 196°, with 68% saturation and 15% lightness. For print, the CMYK equivalent is 81% cyan, 21% magenta, 0% yellow and 76% black.
The closest named color is Nordic Noir (#003344), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.77:1).
#0C313E color codes
| HEX | #0C313E | |
|---|---|---|
| RGB | rgb(12, 49, 62) | |
| RGB percent | rgb(4.7%, 19.2%, 24.3%) | |
| HSL | hsl(196, 68%, 15%) | |
| HSV / HSB | hsv(196, 81%, 24%) | |
| CMYK | cmyk(81%, 21%, 0%, 76%) | |
| CIE LAB | lab(18.46, -7.82, -11.97) | |
| CIE LCH | lch(18.46, 14.3, 236.83) | |
| CIE XYZ | xyz(2.119, 2.622, 4.951) | |
| Decimal | 799038 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C313E, 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 #0C313E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.52:1 | Fail | Fail | Fail |
| Sample text | 13.77:1 | Pass | Pass | Pass |
| #0C313E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.77:1 | Pass | Pass | Pass |
| Sample text | 1.52: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 #0C313E looks to people with the most common types of color vision deficiency.
#2a303fProtanopia
no red cones#232b3eDeuteranopia
no green cones#003535Tritanopia
no blue cones#2d2d2dAchromatopsia
no color vision
CSS examples
.background { background-color: #0c313e; }
.text { color: #0c313e; }
.border { border: 2px solid #0c313e; }
.transparent { background-color: rgb(12 49 62 / 50%); }
.gradient { background: linear-gradient(to right, #0c313e, #0c183e); }
Similar colors
#003344Nordic Noir#1e3642Into the Night#203943Astral Nomad#172b36Oceanic Noir#0f282fBlack Box#1e3442Blue Whale#243640Petrol Slumber#1c3b42Royal Neptune
Closest common color name: Gunmetal.
Questions
- What color is #0C313E?
- #0C313E is a very dark, moderate azure, closest to the named color Nordic Noir. It belongs to the blue family of colors.
- What is the RGB value of #0C313E?
- The RGB value is 12, 49, 62: 12 red, 49 green and 62 blue on a 0 to 255 scale.
- What is the complementary color of #0C313E?
- The complementary color is #3E190C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C313E?
- White text. Black text has a contrast ratio of 1.52:1 and white text 13.77:1. WCAG asks for at least 4.5:1 for normal text.