#0C5FB4 color

#0C5FB4 rgb(12, 95, 180)
Shades of blue

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
RGBrgb(12, 95, 180)
RGB percentrgb(4.7%, 37.3%, 70.6%)
HSLhsl(210, 88%, 38%)
HSV / HSBhsv(210, 93%, 71%)
CMYKcmyk(93%, 47%, 0%, 29%)
CIE LABlab(40.5, 10.58, -51.28)
CIE LCHlch(40.5, 52.36, 281.66)
CIE XYZxyz(12.479, 11.556, 44.744)
Decimal810932
Short hexNone (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 #0C5FB4RatioAAAAAAA large
Sample text3.31:1FailFailPass
Sample text6.34:1PassFailPass
#0C5FB4 as text onRatioAAAAAAA large
Sample text6.34:1PassFailPass
Sample text3.31:1FailFailPass

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.

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); }
Background
Text color
Border

Similar colors

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.