#0C25A1 color
The hex color #0C25A1 is a dark, vivid blue.
In the RGB color model it is made of 4.7% red, 14.5% green and 63.1% blue (12, 37, 161).
Its hue angle is 230°, with 86% saturation and 34% lightness. For print, the CMYK equivalent is 93% cyan, 77% magenta, 0% yellow and 37% black.
The closest named color is Deepsea Kraken (#082599), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 11.7:1).
#0C25A1 color codes
| HEX | #0C25A1 | |
|---|---|---|
| RGB | rgb(12, 37, 161) | |
| RGB percent | rgb(4.7%, 14.5%, 63.1%) | |
| HSL | hsl(230, 86%, 34%) | |
| HSV / HSB | hsv(230, 93%, 63%) | |
| CMYK | cmyk(93%, 77%, 0%, 37%) | |
| CIE LAB | lab(23.58, 41.37, -67.57) | |
| CIE LCH | lch(23.58, 79.23, 301.48) | |
| CIE XYZ | xyz(7.244, 3.974, 34.096) | |
| Decimal | 796065 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #0C25A1, 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 #0C25A1 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.79:1 | Fail | Fail | Fail |
| Sample text | 11.7:1 | Pass | Pass | Pass |
| #0C25A1 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.7:1 | Pass | Pass | Pass |
| Sample text | 1.79: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 #0C25A1 looks to people with the most common types of color vision deficiency.
#003fa5Protanopia
no red cones#00319fDeuteranopia
no green cones#004b62Tritanopia
no blue cones#383838Achromatopsia
no color vision
CSS examples
.background { background-color: #0c25a1; }
.text { color: #0c25a1; }
.border { border: 2px solid #0c25a1; }
.transparent { background-color: rgb(12 37 161 / 50%); }
.gradient { background: linear-gradient(to right, #0c25a1, #3e0ca1); }
Similar colors
#082599Deepsea Kraken#002299Space Dust#002fa6International Klein Blue#0018a8Dark Galaxy#312297Gentian Blue#2c319bDepths of Night#0c1793Royal#002489Lost in Heaven
Closest common color name: Egyptian Blue.
Questions
- What color is #0C25A1?
- #0C25A1 is a dark, vivid blue, closest to the named color Deepsea Kraken. It belongs to the blue family of colors.
- What is the RGB value of #0C25A1?
- The RGB value is 12, 37, 161: 12 red, 37 green and 161 blue on a 0 to 255 scale.
- What is the complementary color of #0C25A1?
- The complementary color is #A1880C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #0C25A1?
- White text. Black text has a contrast ratio of 1.79:1 and white text 11.7:1. WCAG asks for at least 4.5:1 for normal text.