#0047A4

Closest named color: Cobalt (#1E488F). oklch(42.2% 0.163 258.9), rgb(0, 71, 164).

Aa

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

About this color

#0047A4 is a dark, vivid blue. In OKLCH its lightness is 42%, its chroma 0.163 and its hue 259°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.037 away. White text reads best on it, at 8.61:1.

Hue familyBlues
Lightnessdark (42%)
Chromavivid (0.163)
Temperaturecool
Nearest nameCobalt (#1E488F)
Black text2.43:1
White text8.61:1

Values

HEX#0047A4
RGBrgb(0, 71, 164)
HSLhsl(214, 100%, 32%)
OKLCHoklch(42.2% 0.163 258.9)

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 #0047A4 8.61:1 AAA Lc -93.3 Preferred for body text
Black text on #0047A4 2.43:1 Fails Lc 15.2 Dividers and decoration only
#0047A4 text on white 8.61:1 AAA Lc 88.7 Fine for body text
#0047A4 text on black 2.43:1 Fails Lc -13.4 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 800.

  1. Step 50

    50

    #F0F6FE

    oklch(97.1% 0.012 255.5)

  2. Step 100

    100

    #DFEBFD

    oklch(93.6% 0.028 258.4)

  3. Step 200

    200

    #C5DBFD

    oklch(88.6% 0.053 259)

  4. Step 300

    300

    #9BC2FE

    oklch(80.8% 0.095 258.8)

  5. Step 400

    400

    #63A0FE

    oklch(70.7% 0.152 258.8)

  6. Step 500

    500

    #3585FC

    oklch(63.2% 0.194 258.7)

  7. Step 600

    600

    #056AEB

    oklch(55.5% 0.211 258.9)

  8. Step 700

    700

    #0059C9

    oklch(49.2% 0.189 258.8)

  9. Step 800

    800 (this color)

    #0047A4

    oklch(42.2% 0.163 258.9)

  10. Step 900

    900

    #0F3E83

    oklch(37.7% 0.126 258.9)

  11. Step 950

    950

    #0B254D

    oklch(27% 0.081 259)

Export this scale for Tailwind in the Tailwind colors tool

#0047A4 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)#0053A70.032
Deuteranopia (no green cones)#0045A20.006
Tritanopia (no blue cones)#005F6E0.124
Achromatopsia (no color)#4C4C4C0.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #0047A4

    #0047A4

    oklch(42.2% 0.163 258.9)

  • #674700

    #674700

    oklch(42.3% 0.088 79.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0047A4

    #0047A4

    oklch(42.2% 0.163 258.9)

  • #005672

    #005672

    oklch(42.4% 0.083 228.8)

  • #4F359F

    #4F359F

    oklch(42.3% 0.163 288.7)

Open the analogous palette in the generator

Split complementary

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

  • #0047A4

    #0047A4

    oklch(42.2% 0.163 258.9)

  • #7D3600

    #7D3600

    oklch(42.3% 0.114 48.9)

  • #525100

    #525100

    oklch(42.2% 0.092 108.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0047A4

    #0047A4

    oklch(42.2% 0.163 258.9)

  • #920B28

    #920B28

    oklch(42.3% 0.163 18.8)

  • #1E5D00

    #1E5D00

    oklch(42.1% 0.133 138.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0047A4

    #0047A4

    oklch(42.2% 0.163 258.9)

  • #88135C

    #88135C

    oklch(42.3% 0.163 348.8)

  • #674700

    #674700

    oklch(42.3% 0.088 79.2)

  • #005C45

    #005C45

    oklch(42.2% 0.085 168.5)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #0047A4.

Similar named colors

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

Use #0047A4 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.