#0C30AA color
The hex color #0C30AA is a dark, vivid blue.
In the RGB color model it is made of 4.7% red, 18.8% green and 66.7% blue (12, 48, 170).
Its hue angle is 226°, with 87% saturation and 36% lightness. For print, the CMYK equivalent is 93% cyan, 72% magenta, 0% yellow and 33% black.
The closest named color is International Klein Blue (#002FA6), a difference of 0.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 10.4:1).
#0C30AA color codes
| HEX | #0C30AA | |
|---|---|---|
| RGB | rgb(12, 48, 170) | |
| RGB percent | rgb(4.7%, 18.8%, 66.7%) | |
| HSL | hsl(226, 87%, 36%) | |
| HSV / HSB | hsv(226, 93%, 67%) | |
| CMYK | cmyk(93%, 72%, 0%, 33%) | |
| CIE LAB | lab(27, 37.92, -67.36) | |
| CIE LCH | lch(27, 77.3, 299.38) | |
| CIE XYZ | xyz(8.462, 5.093, 38.56) | |
| Decimal | 798890 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C30AA, 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 #0C30AA | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.02:1 | Fail | Fail | Fail |
| Sample text | 10.4:1 | Pass | Pass | Pass |
| #0C30AA as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.4:1 | Pass | Pass | Pass |
| Sample text | 2.02: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 #0C30AA looks to people with the most common types of color vision deficiency.
#0047aeProtanopia
no red cones#0038a8Deuteranopia
no green cones#005369Tritanopia
no blue cones#404040Achromatopsia
no color vision
CSS examples
.background { background-color: #0c30aa; }
.text { color: #0c30aa; }
.border { border: 2px solid #0c30aa; }
.transparent { background-color: rgb(12 48 170 / 50%); }
.gradient { background: linear-gradient(to right, #0c30aa, #370caa); }
Similar colors
#002fa6International Klein Blue#0034abBlue Hour#1034a6Egyptian Blue#2c319bDepths of Night#003399Smalt#1c39bbPersian Blue#082599Deepsea Kraken#333399Bluebell
Questions
- What color is #0C30AA?
- #0C30AA is a dark, vivid blue, closest to the named color International Klein Blue. It belongs to the blue family of colors.
- What is the RGB value of #0C30AA?
- The RGB value is 12, 48, 170: 12 red, 48 green and 170 blue on a 0 to 255 scale.
- What is the complementary color of #0C30AA?
- The complementary color is #AA860C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C30AA?
- White text. Black text has a contrast ratio of 2.02:1 and white text 10.4:1. WCAG asks for at least 4.5:1 for normal text.