#0C407B color
The hex color #0C407B is a dark, vivid azure.
In the RGB color model it is made of 4.7% red, 25.1% green and 48.2% blue (12, 64, 123).
Its hue angle is 212°, with 82% saturation and 26% lightness. For print, the CMYK equivalent is 90% cyan, 48% magenta, 0% yellow and 52% black.
The closest named color is Aegean Blue (#1B416F), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 10.32:1).
#0C407B color codes
| HEX | #0C407B | |
|---|---|---|
| RGB | rgb(12, 64, 123) | |
| RGB percent | rgb(4.7%, 25.1%, 48.2%) | |
| HSL | hsl(212, 82%, 26%) | |
| HSV / HSB | hsv(212, 90%, 48%) | |
| CMYK | cmyk(90%, 48%, 0%, 52%) | |
| CIE LAB | lab(27.23, 7.76, -38.09) | |
| CIE LCH | lch(27.23, 38.88, 281.52) | |
| CIE XYZ | xyz(5.559, 5.174, 19.441) | |
| Decimal | 802939 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C407B, 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 #0C407B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.04:1 | Fail | Fail | Fail |
| Sample text | 10.32:1 | Pass | Pass | Pass |
| #0C407B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.32:1 | Pass | Pass | Pass |
| Sample text | 2.04: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 #0C407B looks to people with the most common types of color vision deficiency.
#1f467dProtanopia
no red cones#013c7aDeuteranopia
no green cones#004e57Tritanopia
no blue cones#404040Achromatopsia
no color vision
CSS examples
.background { background-color: #0c407b; }
.text { color: #0c407b; }
.border { border: 2px solid #0c407b; }
.transparent { background-color: rgb(12 64 123 / 50%); }
.gradient { background: linear-gradient(to right, #0c407b, #0f0c7b); }
Similar colors
#1b416fAegean Blue#004488Pacific Depths#1e4581Maritime Outpost#003b6fTardis Blue#004477Mermaid Blues#03386aLost in Space#254770Pretty Twilight Night#27426bNightlife
Closest common color name: Cobalt Blue.
Questions
- What color is #0C407B?
- #0C407B is a dark, vivid azure, closest to the named color Aegean Blue. It belongs to the blue family of colors.
- What is the RGB value of #0C407B?
- The RGB value is 12, 64, 123: 12 red, 64 green and 123 blue on a 0 to 255 scale.
- What is the complementary color of #0C407B?
- The complementary color is #7B470C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C407B?
- White text. Black text has a contrast ratio of 2.04:1 and white text 10.32:1. WCAG asks for at least 4.5:1 for normal text.