#0C5FB4 color
The hex color #0C5FB4 is a dark, vivid azure.
In the RGB color model it is made of 4.7% red, 37.3% green and 70.6% blue (12, 95, 180).
Its hue angle is 210°, with 88% saturation and 38% lightness. For print, the CMYK equivalent is 93% cyan, 47% magenta, 0% yellow and 29% black.
The closest named color is Denim (#1560BD), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 6.34:1).
#0C5FB4 color codes
| HEX | #0C5FB4 | |
|---|---|---|
| RGB | rgb(12, 95, 180) | |
| RGB percent | rgb(4.7%, 37.3%, 70.6%) | |
| HSL | hsl(210, 88%, 38%) | |
| HSV / HSB | hsv(210, 93%, 71%) | |
| CMYK | cmyk(93%, 47%, 0%, 29%) | |
| CIE LAB | lab(40.5, 10.58, -51.28) | |
| CIE LCH | lch(40.5, 52.36, 281.66) | |
| CIE XYZ | xyz(12.479, 11.556, 44.744) | |
| Decimal | 810932 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C5FB4, 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 #0C5FB4 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.31:1 | Fail | Fail | Pass |
| Sample text | 6.34:1 | Pass | Fail | Pass |
| #0C5FB4 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.34:1 | Pass | Fail | Pass |
| Sample text | 3.31:1 | Fail | Fail | Pass |
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 #0C5FB4 looks to people with the most common types of color vision deficiency.
#2e67b7Protanopia
no red cones#0059b2Deuteranopia
no green cones#007481Tritanopia
no blue cones#5f5f5fAchromatopsia
no color vision
CSS examples
.background { background-color: #0c5fb4; }
.text { color: #0c5fb4; }
.border { border: 2px solid #0c5fb4; }
.transparent { background-color: rgb(12 95 180 / 50%); }
.gradient { background: linear-gradient(to right, #0c5fb4, #0d0cb4); }
Similar colors
#1560bdDenim#0065acWing Commander#1d5699Blue Chip#225599Fist of the North Star#015f97Hyper Blue#0f52baSapphire#3356aaBlasphemous Blue#4664a5Starstruck
Questions
- What color is #0C5FB4?
- #0C5FB4 is a dark, vivid azure, closest to the named color Denim. It belongs to the blue family of colors.
- What is the RGB value of #0C5FB4?
- The RGB value is 12, 95, 180: 12 red, 95 green and 180 blue on a 0 to 255 scale.
- What is the complementary color of #0C5FB4?
- The complementary color is #B4610C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C5FB4?
- White text. Black text has a contrast ratio of 3.31:1 and white text 6.34:1. WCAG asks for at least 4.5:1 for normal text.