#0C1F43 color
The hex color #0C1F43 is a very dark, moderate azure.
In the RGB color model it is made of 4.7% red, 12.2% green and 26.3% blue (12, 31, 67).
Its hue angle is 219°, with 70% saturation and 15% lightness. For print, the CMYK equivalent is 82% cyan, 54% magenta, 0% yellow and 74% black.
The closest named color is Dark Eclipse (#112244), a difference of 1.1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 16.25:1).
#0C1F43 color codes
| HEX | #0C1F43 | |
|---|---|---|
| RGB | rgb(12, 31, 67) | |
| RGB percent | rgb(4.7%, 12.2%, 26.3%) | |
| HSL | hsl(219, 70%, 15%) | |
| HSV / HSB | hsv(219, 82%, 26%) | |
| CMYK | cmyk(82%, 54%, 0%, 74%) | |
| CIE LAB | lab(12.37, 7.28, -25.03) | |
| CIE LCH | lch(12.37, 26.07, 286.23) | |
| CIE XYZ | xyz(1.654, 1.463, 5.504) | |
| Decimal | 794435 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C1F43, 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 #0C1F43 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.29:1 | Fail | Fail | Fail |
| Sample text | 16.25:1 | Pass | Pass | Pass |
| #0C1F43 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.25:1 | Pass | Pass | Pass |
| Sample text | 1.29: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 #0C1F43 looks to people with the most common types of color vision deficiency.
#0b2344Protanopia
no red cones#011e42Deuteranopia
no green cones#00272dTritanopia
no blue cones#202020Achromatopsia
no color vision
CSS examples
.background { background-color: #0c1f43; }
.text { color: #0c1f43; }
.border { border: 2px solid #0c1f43; }
.transparent { background-color: rgb(12 31 67 / 50%); }
.gradient { background: linear-gradient(to right, #0c1f43, #140c43); }
Similar colors
#112244Dark Eclipse#002147Oxford Blue#001f3fMidnight Mirage#161d3bNightwalker#011c39Naval Night#012253Subnautical#1d2951Space Cadet#112255Dark Soul
Questions
- What color is #0C1F43?
- #0C1F43 is a very dark, moderate azure, closest to the named color Dark Eclipse. It belongs to the blue family of colors.
- What is the RGB value of #0C1F43?
- The RGB value is 12, 31, 67: 12 red, 31 green and 67 blue on a 0 to 255 scale.
- What is the complementary color of #0C1F43?
- The complementary color is #43300C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C1F43?
- White text. Black text has a contrast ratio of 1.29:1 and white text 16.25:1. WCAG asks for at least 4.5:1 for normal text.