#0C105F color
The hex color #0C105F is a dark, moderate blue.
In the RGB color model it is made of 4.7% red, 6.3% green and 37.3% blue (12, 16, 95).
Its hue angle is 237°, with 78% saturation and 21% lightness. For print, the CMYK equivalent is 87% cyan, 83% magenta, 0% yellow and 63% black.
The closest named color is Space Colonisation (#150F5B), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 16.73:1).
#0C105F color codes
| HEX | #0C105F | |
|---|---|---|
| RGB | rgb(12, 16, 95) | |
| RGB percent | rgb(4.7%, 6.3%, 37.3%) | |
| HSL | hsl(237, 78%, 21%) | |
| HSV / HSB | hsv(237, 87%, 37%) | |
| CMYK | cmyk(87%, 83%, 0%, 63%) | |
| CIE LAB | lab(11.1, 29.93, -46.27) | |
| CIE LCH | lch(11.1, 55.1, 302.89) | |
| CIE XYZ | xyz(2.402, 1.275, 10.944) | |
| Decimal | 790623 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C105F, 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 #0C105F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.25:1 | Fail | Fail | Fail |
| Sample text | 16.73:1 | Pass | Pass | Pass |
| #0C105F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.73:1 | Pass | Pass | Pass |
| Sample text | 1.25: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 #0C105F looks to people with the most common types of color vision deficiency.
#002261Protanopia
no red cones#00195eDeuteranopia
no green cones#002837Tritanopia
no blue cones#1e1e1eAchromatopsia
no color vision
CSS examples
.background { background-color: #0c105f; }
.text { color: #0c105f; }
.border { border: 2px solid #0c105f; }
.transparent { background-color: rgb(12 16 95 / 50%); }
.gradient { background: linear-gradient(to right, #0c105f, #320c5f); }
Similar colors
#150f5bSpace Colonisation#111166Dying Storm Blue#001155Interstellar Blue#0a0555Ravenclaw#191970Midnight Blue#19197020000 Leagues Under the Sea#0f084bSilent Twilight#000066Alone in the Dark
Questions
- What color is #0C105F?
- #0C105F is a dark, moderate blue, closest to the named color Space Colonisation. It belongs to the black family of colors.
- What is the RGB value of #0C105F?
- The RGB value is 12, 16, 95: 12 red, 16 green and 95 blue on a 0 to 255 scale.
- What is the complementary color of #0C105F?
- The complementary color is #5F5B0C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C105F?
- White text. Black text has a contrast ratio of 1.25:1 and white text 16.73:1. WCAG asks for at least 4.5:1 for normal text.