#0C262F color
The hex color #0C262F is a very dark, moderate azure.
In the RGB color model it is made of 4.7% red, 14.9% green and 18.4% blue (12, 38, 47).
Its hue angle is 195°, with 59% saturation and 12% lightness. For print, the CMYK equivalent is 74% cyan, 19% magenta, 0% yellow and 82% black.
The closest named color is Black Box (#0F282F), a difference of 1.4 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 15.74:1).
#0C262F color codes
| HEX | #0C262F | |
|---|---|---|
| RGB | rgb(12, 38, 47) | |
| RGB percent | rgb(4.7%, 14.9%, 18.4%) | |
| HSL | hsl(195, 59%, 12%) | |
| HSV / HSB | hsv(195, 74%, 18%) | |
| CMYK | cmyk(74%, 19%, 0%, 82%) | |
| CIE LAB | lab(13.65, -6.47, -8.88) | |
| CIE LCH | lch(13.65, 10.99, 233.91) | |
| CIE XYZ | xyz(1.358, 1.669, 2.939) | |
| Decimal | 796207 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C262F, 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 #0C262F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.33:1 | Fail | Fail | Fail |
| Sample text | 15.74:1 | Pass | Pass | Pass |
| #0C262F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 15.74:1 | Pass | Pass | Pass |
| Sample text | 1.33: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 #0C262F looks to people with the most common types of color vision deficiency.
#21252fProtanopia
no red cones#1c212fDeuteranopia
no green cones#002929Tritanopia
no blue cones#232323Achromatopsia
no color vision
CSS examples
.background { background-color: #0c262f; }
.text { color: #0c262f; }
.border { border: 2px solid #0c262f; }
.transparent { background-color: rgb(12 38 47 / 50%); }
.gradient { background: linear-gradient(to right, #0c262f, #0c142f); }
Similar colors
#0f282fBlack Box#10252aSunken Ship#172b36Oceanic Noir#002233Midnight Dreams#1e272cBlack Pearl#1e3642Into the Night#003344Nordic Noir#1e3442Blue Whale
Closest common color name: Gunmetal.
Questions
- What color is #0C262F?
- #0C262F is a very dark, moderate azure, closest to the named color Black Box. It belongs to the black family of colors.
- What is the RGB value of #0C262F?
- The RGB value is 12, 38, 47: 12 red, 38 green and 47 blue on a 0 to 255 scale.
- What is the complementary color of #0C262F?
- The complementary color is #2F150C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C262F?
- White text. Black text has a contrast ratio of 1.33:1 and white text 15.74:1. WCAG asks for at least 4.5:1 for normal text.