Cobalt color: hex code #030AA7
Cobalt has the hex code #030AA7. It is a dark, vivid blue.
In the RGB color model it is made of 1.2% red, 3.9% green and 65.5% blue (3, 10, 167).
Its hue angle is 237°, with 96% saturation and 33% lightness. For print, the CMYK equivalent is 98% cyan, 94% magenta, 0% yellow and 35% black.
White text is the more readable choice on this background (contrast 13.08:1).
Cobalt (#030AA7) color codes
| HEX | #030AA7 | |
|---|---|---|
| RGB | rgb(3, 10, 167) | |
| RGB percent | rgb(1.2%, 3.9%, 65.5%) | |
| HSL | hsl(237, 96%, 33%) | |
| HSV / HSB | hsv(237, 98%, 65%) | |
| CMYK | cmyk(98%, 94%, 0%, 35%) | |
| CIE LAB | lab(20.15, 54.96, -76.94) | |
| CIE LCH | lch(20.15, 94.56, 305.54) | |
| CIE XYZ | xyz(7.119, 3.025, 36.76) | |
| Decimal | 199335 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Cobalt, 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 #030AA7 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.61:1 | Fail | Fail | Fail |
| Sample text | 13.08:1 | Pass | Pass | Pass |
| #030AA7 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.08:1 | Pass | Pass | Pass |
| Sample text | 1.61: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 #030AA7 looks to people with the most common types of color vision deficiency.
#0039abProtanopia
no red cones#0027a5Deuteranopia
no green cones#004561Tritanopia
no blue cones#313131Achromatopsia
no color vision
CSS examples
.background { background-color: #030aa7; }
.text { color: #030aa7; }
.border { border: 2px solid #030aa7; }
.transparent { background-color: rgb(3 10 167 / 50%); }
.gradient { background: linear-gradient(to right, #030aa7, #4e03a7); }
Similar colors
#0000aaBohemian Blue#0018a8Dark Galaxy#001199Space Exploration#000099Everlasting Night#0011bbToo Dark Tonight#0c1793Royal#120a8fUltramarine#240093Dramatic Blue
See #030AA7 on its hex code page
Questions
- What color is #030AA7?
- #030AA7 is a dark, vivid blue known as Cobalt. It belongs to the blue family of colors.
- What is the RGB value of Cobalt?
- The RGB value is 3, 10, 167: 3 red, 10 green and 167 blue on a 0 to 255 scale.
- What is the complementary color of Cobalt?
- The complementary color is #A7A003, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #030AA7?
- White text. Black text has a contrast ratio of 1.61:1 and white text 13.08:1. WCAG asks for at least 4.5:1 for normal text.