#0C275B color
The hex color #0C275B is a dark, moderate azure.
In the RGB color model it is made of 4.7% red, 15.3% green and 35.7% blue (12, 39, 91).
Its hue angle is 219°, with 77% saturation and 20% lightness. For print, the CMYK equivalent is 87% cyan, 57% magenta, 0% yellow and 64% black.
The closest named color is Subnautical (#012253), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.41:1).
#0C275B color codes
| HEX | #0C275B | |
|---|---|---|
| RGB | rgb(12, 39, 91) | |
| RGB percent | rgb(4.7%, 15.3%, 35.7%) | |
| HSL | hsl(219, 77%, 20%) | |
| HSV / HSB | hsv(219, 87%, 36%) | |
| CMYK | cmyk(87%, 57%, 0%, 64%) | |
| CIE LAB | lab(16.91, 11.91, -34.06) | |
| CIE LCH | lch(16.91, 36.08, 289.27) | |
| CIE XYZ | xyz(2.765, 2.284, 10.191) | |
| Decimal | 796507 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C275B, 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 #0C275B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.46:1 | Fail | Fail | Fail |
| Sample text | 14.41:1 | Pass | Pass | Pass |
| #0C275B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.41:1 | Pass | Pass | Pass |
| Sample text | 1.46: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 #0C275B looks to people with the most common types of color vision deficiency.
#022d5dProtanopia
no red cones#00265aDeuteranopia
no green cones#00343cTritanopia
no blue cones#2a2a2aAchromatopsia
no color vision
CSS examples
.background { background-color: #0c275b; }
.text { color: #0c275b; }
.border { border: 2px solid #0c275b; }
.transparent { background-color: rgb(12 39 91 / 50%); }
.gradient { background: linear-gradient(to right, #0c275b, #180c5b); }
Similar colors
#012253Subnautical#112358Fibonacci Blue#052462Black Sea Night#112255Dark Soul#1c2e63Mythical Night#082567Dark Sapphire#002366Deep Sea Nightmare#042e60Marine
Closest common color name: Oxford Blue.
Questions
- What color is #0C275B?
- #0C275B is a dark, moderate azure, closest to the named color Subnautical. It belongs to the blue family of colors.
- What is the RGB value of #0C275B?
- The RGB value is 12, 39, 91: 12 red, 39 green and 91 blue on a 0 to 255 scale.
- What is the complementary color of #0C275B?
- The complementary color is #5B400C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C275B?
- White text. Black text has a contrast ratio of 1.46:1 and white text 14.41:1. WCAG asks for at least 4.5:1 for normal text.