#0C2968 color
The hex color #0C2968 is a dark, moderate blue.
In the RGB color model it is made of 4.7% red, 16.1% green and 40.8% blue (12, 41, 104).
Its hue angle is 221°, with 79% saturation and 23% lightness. For print, the CMYK equivalent is 88% cyan, 61% magenta, 0% yellow and 59% black.
The closest named color is Dark Sapphire (#082567), a difference of 1.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 13.7:1).
#0C2968 color codes
| HEX | #0C2968 | |
|---|---|---|
| RGB | rgb(12, 41, 104) | |
| RGB percent | rgb(4.7%, 16.1%, 40.8%) | |
| HSL | hsl(221, 79%, 23%) | |
| HSV / HSB | hsv(221, 88%, 41%) | |
| CMYK | cmyk(88%, 61%, 0%, 59%) | |
| CIE LAB | lab(18.64, 16.11, -39.82) | |
| CIE LCH | lch(18.64, 42.96, 292.03) | |
| CIE XYZ | xyz(3.442, 2.663, 13.427) | |
| Decimal | 797032 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C2968, 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 #0C2968 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.53:1 | Fail | Fail | Fail |
| Sample text | 13.7:1 | Pass | Pass | Pass |
| #0C2968 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.7:1 | Pass | Pass | Pass |
| Sample text | 1.53: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 #0C2968 looks to people with the most common types of color vision deficiency.
#00326aProtanopia
no red cones#002967Deuteranopia
no green cones#003944Tritanopia
no blue cones#2d2d2dAchromatopsia
no color vision
CSS examples
.background { background-color: #0c2968; }
.text { color: #0c2968; }
.border { border: 2px solid #0c2968; }
.transparent { background-color: rgb(12 41 104 / 50%); }
.gradient { background: linear-gradient(to right, #0c2968, #1d0c68); }
Similar colors
#082567Dark Sapphire#052462Black Sea Night#002366Deep Sea Nightmare#002266Midnight Melancholia#1c2e63Mythical Night#112358Fibonacci Blue#13336fAtlantic Navy#0a2f7cBelow the Surface
Closest common color name: Oxford Blue.
Questions
- What color is #0C2968?
- #0C2968 is a dark, moderate blue, closest to the named color Dark Sapphire. It belongs to the blue family of colors.
- What is the RGB value of #0C2968?
- The RGB value is 12, 41, 104: 12 red, 41 green and 104 blue on a 0 to 255 scale.
- What is the complementary color of #0C2968?
- The complementary color is #684B0C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C2968?
- White text. Black text has a contrast ratio of 1.53:1 and white text 13.7:1. WCAG asks for at least 4.5:1 for normal text.