#0C242F color
The hex color #0C242F is a very dark, moderate azure.
In the RGB color model it is made of 4.7% red, 14.1% green and 18.4% blue (12, 36, 47).
Its hue angle is 199°, with 59% saturation and 12% lightness. For print, the CMYK equivalent is 74% cyan, 23% magenta, 0% yellow and 82% black.
The closest named color is Oceanic Noir (#172B36), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 16.04:1).
#0C242F color codes
| HEX | #0C242F | |
|---|---|---|
| RGB | rgb(12, 36, 47) | |
| RGB percent | rgb(4.7%, 14.1%, 18.4%) | |
| HSL | hsl(199, 59%, 12%) | |
| HSV / HSB | hsv(199, 74%, 18%) | |
| CMYK | cmyk(74%, 23%, 0%, 82%) | |
| CIE LAB | lab(12.89, -5.1, -10.04) | |
| CIE LCH | lch(12.89, 11.26, 243.08) | |
| CIE XYZ | xyz(1.295, 1.545, 2.919) | |
| Decimal | 795695 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C242F, 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 #0C242F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.31:1 | Fail | Fail | Fail |
| Sample text | 16.04:1 | Pass | Pass | Pass |
| #0C242F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 16.04:1 | Pass | Pass | Pass |
| Sample text | 1.31: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 #0C242F looks to people with the most common types of color vision deficiency.
#1e2330Protanopia
no red cones#1a202fDeuteranopia
no green cones#002728Tritanopia
no blue cones#212121Achromatopsia
no color vision
CSS examples
.background { background-color: #0c242f; }
.text { color: #0c242f; }
.border { border: 2px solid #0c242f; }
.transparent { background-color: rgb(12 36 47 / 50%); }
.gradient { background: linear-gradient(to right, #0c242f, #0c122f); }
Similar colors
#172b36Oceanic Noir#002233Midnight Dreams#0f282fBlack Box#10252aSunken Ship#1e272cBlack Pearl#1e3442Blue Whale#102030The Count’s Black#1e3642Into the Night
Closest common color name: Gunmetal.
Questions
- What color is #0C242F?
- #0C242F is a very dark, moderate azure, closest to the named color Oceanic Noir. It belongs to the black family of colors.
- What is the RGB value of #0C242F?
- The RGB value is 12, 36, 47: 12 red, 36 green and 47 blue on a 0 to 255 scale.
- What is the complementary color of #0C242F?
- The complementary color is #2F170C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C242F?
- White text. Black text has a contrast ratio of 1.31:1 and white text 16.04:1. WCAG asks for at least 4.5:1 for normal text.