AfoliOpen Afoli →

Cobalt Blue color #030AA7

Cobalt Blue is a color name from the xkcd color survey for the hex code #030AA7 — RGB 3, 10, 167, HSL 237°, 96%, 33%.

Open in Afoli Colour tools →

#030AA7Cobalt Blue

Color codes

HEX
#030AA7
RGB
rgb(3, 10, 167)
HSL
hsl(237, 96%, 33%)
CMYK
98%, 94%, 0%, 35%
OKLCH
oklch(33.6% 0.223 264.6)

Tints and shades

#F0F5FF#C8DAFF#A0BFFF#79A3FF#5184FF#3064F5#1A49D8#072ABB#03009C#010067#000036

Color harmonies

Complementary
#030AA7#473300
Analogous
#003C56#030AA7#430089
Triadic
#030AA7#6D000D#00440B
Split complementary
#030AA7#572800#363B00
Tetradic
#030AA7#67003B#473300#004135

Contrast with text

PairWCAG 2.x ratioAPCA LcResult
Cobalt Blue text on white13.08 : 197AAA — any text
Cobalt Blue text on black1.61 : 10Fails for text
White text on Cobalt Blue13.08 : 1-101AAA — any text
Black text on Cobalt Blue1.61 : 10Fails for text

WCAG 2.x needs 4.5 : 1 for body text and 3 : 1 for large text; APCA asks for |Lc| 75 for body text and 60 for large text.

Frequently asked questions

What is the hex code of Cobalt Blue?

Cobalt Blue has the hex code #030AA7, which is RGB 3, 10, 167 and HSL 237°, 96%, 33%.

Which text color reads best on Cobalt Blue?

White text: contrast 13.08 : 1 (black text: 1.61 : 1).

Which colors go well with Cobalt Blue?

Its complementary color is #473300; analogous colors are #003C56 and #430089; a triadic set adds #6D000D and #00440B.

Similar colors

Sources and licences

Updated November 21, 2026