Cobalt Color

#030AA7 · rgb(3, 10, 167)

Cobalt is a dark vivid blue color with the hex code #030AA7. It is not a CSS keyword, so use the hex value in code; the closest CSS named color is Dark Blue (#00008B). In RGB it is made of 1% red, 4% green and 65% blue.

HEX#030AA7
RGBrgb(3, 10, 167)
HSLhsl(237, 96%, 33%)
HSV / HSBhsv(237, 98%, 65%)
CMYKcmyk(98%, 94%, 0%, 35%)
Decimal199335
Closest CSS nameDark Blue
Luminance3.0%
Closest Tailwindindigo-800 (#3730A3)

Open in converter Make a gradient Check contrast Pick colors from an image

Contrast & text

White text · 13.08:1 · AAA
Black text · 1.61:1 · fails
#030AA7 on white · 13.08:1
#030AA7 on black · 1.61:1

CSS

.text   { color: #030AA7; }
.bg     { background-color: #030AA7; }
.border { border: 2px solid #030AA7; }
.grad   { background: linear-gradient(135deg, #030AA7, #A59D03); }

Other Cobalt values

Color names are not a standard, so sources give slightly different codes. This page uses the most widely used value.

Tints of Cobalt

#1C23B0 · #353BB9 · #4F54C1 · #686CCA · #8185D3 · #9A9DDC · #B3B6E5 · #CDCEED · #E6E7F6

Shades of Cobalt

#030996 · #020886 · #020775 · #020664 · #020554 · #010443 · #010332 · #010221 · #000111

Color combinations

Complementary

#030AA7 · #A59D03

Analogous

#035CA5 · #030AA7 · #4C03A5

Triadic

#030AA7 · #A5030B · #0BA503

Split complementary

#030AA7 · #A54C03 · #5CA503

Tetradic

#030AA7 · #A5035C · #A59D03 · #03A54C

Colors similar to Cobalt

Cobalt: questions & answers

What color is #030AA7?

#030AA7 is a dark vivid blue. In the RGB model it is made of 1% red, 4% green and 65% blue.

Is Cobalt a CSS color name?

No. Cobalt is a common color name, not a CSS keyword, so write it as #030AA7 (or rgb(3, 10, 167)) in CSS. The closest CSS keyword is darkblue (#00008B).

Why do sites list different hex codes for Cobalt?

Color names are not standardized. #030AA7 is the most widely used value; in the XKCD color survey, where people named colors in a large online experiment, Cobalt came out as #1e488f.

What is Cobalt in RGB?

rgb(3, 10, 167). In HSL it is hsl(237, 96%, 33%), and in CMYK it is approximately cmyk(98%, 94%, 0%, 35%).

What colors go with Cobalt?

Its complementary color is #A59D03. For a calmer scheme, try the analogous colors #035CA5 and #4C03A5.

Should I use white or black text on Cobalt?

White text reads better: contrast is 13.08:1 (WCAG AAA).