#030AA7

Named color: Cobalt Blue. oklch(33.6% 0.223 264.6), rgb(3, 10, 167).

Aa

White text reads best on this color (13.08:1).

About this color

#030AA7 is a dark, vivid blue. In OKLCH its lightness is 34%, its chroma 0.223 and its hue 265°. Its hue sits on the cool side of the wheel. It is the named color Cobalt Blue. White text reads best on it, at 13.08:1.

Hue familyBlues
Lightnessdark (34%)
Chromavivid (0.223)
Temperaturecool
Nearest nameCobalt Blue
Black text1.60:1
White text13.08:1

Values

HEX#030AA7
RGBrgb(3, 10, 167)
HSLhsl(237, 96%, 33%)
OKLCHoklch(33.6% 0.223 264.6)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #030AA7 13.08:1 AAA Lc -100.6 Preferred for body text
Black text on #030AA7 1.60:1 Fails Lc 0.0 Not readable
#030AA7 text on white 13.08:1 AAA Lc 96.9 Preferred for body text
#030AA7 text on black 1.60:1 Fails Lc 0.0 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 900.

  1. Step 50

    50

    #F1F6FF

    oklch(97.2% 0.013 262.4)

  2. Step 100

    100

    #E0EAFF

    oklch(93.6% 0.03 265.3)

  3. Step 200

    200

    #C7D9FF

    oklch(88.4% 0.056 265.2)

  4. Step 300

    300

    #A2C0FF

    oklch(80.9% 0.096 264.7)

  5. Step 400

    400

    #719DFF

    oklch(70.8% 0.152 264.6)

  6. Step 500

    500

    #4C80FF

    oklch(63.2% 0.197 264.6)

  7. Step 600

    600

    #275FFF

    oklch(55.7% 0.244 264.5)

  8. Step 700

    700

    #0B37FF

    oklch(49.1% 0.287 264.7)

  9. Step 800

    800

    #060EE8

    oklch(42.7% 0.287 264.6)

  10. Step 900

    900 (this color)

    #030AA7

    oklch(33.6% 0.223 264.6)

  11. Step 950

    950

    #03196A

    oklch(27.1% 0.141 264.4)

Export this scale for Tailwind in the Tailwind colors tool

#030AA7 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#0039AB0.074
Deuteranopia (no green cones)#0027A50.035
Tritanopia (no blue cones)#0045610.166
Achromatopsia (no color)#3131310.225

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #030AA7

    #030AA7

    oklch(33.6% 0.223 264.6)

  • #473300

    #473300

    oklch(33.5% 0.069 84.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #030AA7

    #030AA7

    oklch(33.6% 0.223 264.6)

  • #003C56

    #003C56

    oklch(33.6% 0.071 234.8)

  • #430089

    #430089

    oklch(33.6% 0.185 294.7)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #030AA7

    #030AA7

    oklch(33.6% 0.223 264.6)

  • #572900

    #572900

    oklch(33.7% 0.084 54.9)

  • #363B00

    #363B00

    oklch(33.6% 0.076 115)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #030AA7

    #030AA7

    oklch(33.6% 0.223 264.6)

  • #6D000D

    #6D000D

    oklch(33.7% 0.137 24.7)

  • #00440B

    #00440B

    oklch(33.6% 0.107 144.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #030AA7

    #030AA7

    oklch(33.6% 0.223 264.6)

  • #67003B

    #67003B

    oklch(33.6% 0.138 354.5)

  • #473300

    #473300

    oklch(33.5% 0.069 84.4)

  • #004135

    #004135

    oklch(33.5% 0.063 175.4)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #030AA7, closest first.

No curated palette has a color within ΔE 0.04 of #030AA7.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #030AA7 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.