Cobalt color: hex code #030AA7

#030AA7 rgb(3, 10, 167)
Shades of blue

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
RGBrgb(3, 10, 167)
RGB percentrgb(1.2%, 3.9%, 65.5%)
HSLhsl(237, 96%, 33%)
HSV / HSBhsv(237, 98%, 65%)
CMYKcmyk(98%, 94%, 0%, 35%)
CIE LABlab(20.15, 54.96, -76.94)
CIE LCHlch(20.15, 94.56, 305.54)
CIE XYZxyz(7.119, 3.025, 36.76)
Decimal199335
Short hexNone (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 #030AA7RatioAAAAAAA large
Sample text1.61:1FailFailFail
Sample text13.08:1PassPassPass
#030AA7 as text onRatioAAAAAAA large
Sample text13.08:1PassPassPass
Sample text1.61:1FailFailFail

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.

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

Similar colors

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.