#0C274D color
The hex color #0C274D is a very dark, moderate azure.
In the RGB color model it is made of 4.7% red, 15.3% green and 30.2% blue (12, 39, 77).
Its hue angle is 215°, with 73% saturation and 17% lightness. For print, the CMYK equivalent is 84% cyan, 49% magenta, 0% yellow and 70% black.
The closest named color is Oxford Blue (#002147), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 14.86:1).
#0C274D color codes
| HEX | #0C274D | |
|---|---|---|
| RGB | rgb(12, 39, 77) | |
| RGB percent | rgb(4.7%, 15.3%, 30.2%) | |
| HSL | hsl(215, 73%, 17%) | |
| HSV / HSB | hsv(215, 84%, 30%) | |
| CMYK | cmyk(84%, 49%, 0%, 70%) | |
| CIE LAB | lab(15.82, 5.67, -26.39) | |
| CIE LCH | lch(15.82, 26.99, 282.13) | |
| CIE XYZ | xyz(2.216, 2.065, 7.301) | |
| Decimal | 796493 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C274D, 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 #0C274D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.41:1 | Fail | Fail | Fail |
| Sample text | 14.86:1 | Pass | Pass | Pass |
| #0C274D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 14.86:1 | Pass | Pass | Pass |
| Sample text | 1.41: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 #0C274D looks to people with the most common types of color vision deficiency.
#132b4eProtanopia
no red cones#06254cDeuteranopia
no green cones#003036Tritanopia
no blue cones#272727Achromatopsia
no color vision
CSS examples
.background { background-color: #0c274d; }
.text { color: #0c274d; }
.border { border: 2px solid #0c274d; }
.transparent { background-color: rgb(12 39 77 / 50%); }
.gradient { background: linear-gradient(to right, #0c274d, #120c4d); }
Similar colors
#002147Oxford Blue#112244Dark Eclipse#012253Subnautical#0f2d4dMidnight Ocean#001f3fMidnight Mirage#1d2951Space Cadet#042e60Marine#112255Dark Soul
Questions
- What color is #0C274D?
- #0C274D is a very dark, moderate azure, closest to the named color Oxford Blue. It belongs to the blue family of colors.
- What is the RGB value of #0C274D?
- The RGB value is 12, 39, 77: 12 red, 39 green and 77 blue on a 0 to 255 scale.
- What is the complementary color of #0C274D?
- The complementary color is #4D320C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C274D?
- White text. Black text has a contrast ratio of 1.41:1 and white text 14.86:1. WCAG asks for at least 4.5:1 for normal text.