#0C193C color
The hex color #0C193C is a very dark, moderate blue.
In the RGB color model it is made of 4.7% red, 9.8% green and 23.5% blue (12, 25, 60).
Its hue angle is 224°, with 67% saturation and 14% lightness. For print, the CMYK equivalent is 80% cyan, 58% magenta, 0% yellow and 76% black.
The closest named color is Nightwalker (#161D3B), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.21:1).
#0C193C color codes
| HEX | #0C193C | |
|---|---|---|
| RGB | rgb(12, 25, 60) | |
| RGB percent | rgb(4.7%, 9.8%, 23.5%) | |
| HSL | hsl(224, 67%, 14%) | |
| HSV / HSB | hsv(224, 80%, 24%) | |
| CMYK | cmyk(80%, 58%, 0%, 76%) | |
| CIE LAB | lab(9.79, 8.84, -24.25) | |
| CIE LCH | lch(9.79, 25.81, 290.02) | |
| CIE XYZ | xyz(1.315, 1.1, 4.417) | |
| Decimal | 792892 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C193C, 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 #0C193C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.22:1 | Fail | Fail | Fail |
| Sample text | 17.21:1 | Pass | Pass | Pass |
| #0C193C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.21:1 | Pass | Pass | Pass |
| Sample text | 1.22: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 #0C193C looks to people with the most common types of color vision deficiency.
#051d3dProtanopia
no red cones#00193bDeuteranopia
no green cones#002127Tritanopia
no blue cones#1b1b1bAchromatopsia
no color vision
CSS examples
.background { background-color: #0c193c; }
.text { color: #0c193c; }
.border { border: 2px solid #0c193c; }
.transparent { background-color: rgb(12 25 60 / 50%); }
.gradient { background: linear-gradient(to right, #0c193c, #170c3c); }
Similar colors
#161d3bNightwalker#041330Squid’s Ink#071037Infinite Night#112244Dark Eclipse#151931Dark Knight#1c1e4dFly-by-Night#060929Mysterious Depths#002147Oxford Blue
Questions
- What color is #0C193C?
- #0C193C is a very dark, moderate blue, closest to the named color Nightwalker. It belongs to the black family of colors.
- What is the RGB value of #0C193C?
- The RGB value is 12, 25, 60: 12 red, 25 green and 60 blue on a 0 to 255 scale.
- What is the complementary color of #0C193C?
- The complementary color is #3C2F0C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C193C?
- White text. Black text has a contrast ratio of 1.22:1 and white text 17.21:1. WCAG asks for at least 4.5:1 for normal text.