#0C3145 color
The hex color #0C3145 is a very dark, moderate azure.
In the RGB color model it is made of 4.7% red, 19.2% green and 27.1% blue (12, 49, 69).
Its hue angle is 201°, with 70% saturation and 16% lightness. For print, the CMYK equivalent is 83% cyan, 29% magenta, 0% yellow and 73% black.
The closest named color is Sea of Stars (#0B334D), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 13.63:1).
#0C3145 color codes
| HEX | #0C3145 | |
|---|---|---|
| RGB | rgb(12, 49, 69) | |
| RGB percent | rgb(4.7%, 19.2%, 27.1%) | |
| HSL | hsl(201, 70%, 16%) | |
| HSV / HSB | hsv(201, 83%, 27%) | |
| CMYK | cmyk(83%, 29%, 0%, 73%) | |
| CIE LAB | lab(18.82, -4.96, -16.2) | |
| CIE LCH | lch(18.82, 16.94, 252.97) | |
| CIE XYZ | xyz(2.324, 2.704, 6.029) | |
| Decimal | 799045 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C3145, 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 #0C3145 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.54:1 | Fail | Fail | Fail |
| Sample text | 13.63:1 | Pass | Pass | Pass |
| #0C3145 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.63:1 | Pass | Pass | Pass |
| Sample text | 1.54: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 #0C3145 looks to people with the most common types of color vision deficiency.
#273146Protanopia
no red cones#202b45Deuteranopia
no green cones#003638Tritanopia
no blue cones#2e2e2eAchromatopsia
no color vision
CSS examples
.background { background-color: #0c3145; }
.text { color: #0c3145; }
.border { border: 2px solid #0c3145; }
.transparent { background-color: rgb(12 49 69 / 50%); }
.gradient { background: linear-gradient(to right, #0c3145, #0c1545); }
Similar colors
#0b334dSea of Stars#1e3442Blue Whale#003344Nordic Noir#1e3642Into the Night#172b36Oceanic Noir#002233Midnight Dreams#0a3251Beyond the Stars#1a4157Capital Blue
Closest common color name: Prussian Blue.
Questions
- What color is #0C3145?
- #0C3145 is a very dark, moderate azure, closest to the named color Sea of Stars. It belongs to the blue family of colors.
- What is the RGB value of #0C3145?
- The RGB value is 12, 49, 69: 12 red, 49 green and 69 blue on a 0 to 255 scale.
- What is the complementary color of #0C3145?
- The complementary color is #45200C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C3145?
- White text. Black text has a contrast ratio of 1.54:1 and white text 13.63:1. WCAG asks for at least 4.5:1 for normal text.