#051A42

Closest named color: Navy Blue (#001146). oklch(23% 0.081 261.2), rgb(5, 26, 66).

Aa

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

About this color

#051A42 is a very dark, moderately saturated blue. In OKLCH its lightness is 23%, its chroma 0.081 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Navy Blue (#001146), ΔE 0.029 away. White text reads best on it, at 17.03:1.

Hue familyBlues
Lightnessvery dark (23%)
Chromamoderately saturated (0.081)
Temperaturecool
Nearest nameNavy Blue (#001146)
Black text1.23:1
White text17.03:1

Values

HEX#051A42
RGBrgb(5, 26, 66)
HSLhsl(219, 86%, 14%)
OKLCHoklch(23% 0.081 261.2)

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 #051A42 17.03:1 AAA Lc -106.1 Preferred for body text
Black text on #051A42 1.23:1 Fails Lc 0.0 Not readable
#051A42 text on white 17.03:1 AAA Lc 103.6 Preferred for body text
#051A42 text on black 1.23: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 950.

  1. Step 50

    50

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E0EBFD

    oklch(93.7% 0.027 260.3)

  3. Step 200

    200

    #C6DAFD

    oklch(88.5% 0.053 261.7)

  4. Step 300

    300

    #9EC1FF

    oklch(80.8% 0.096 261.6)

  5. Step 400

    400

    #699FFF

    oklch(70.8% 0.152 261.1)

  6. Step 500

    500

    #3F83FE

    oklch(63.2% 0.196 261.1)

  7. Step 600

    600

    #1E68ED

    oklch(55.6% 0.213 261.2)

  8. Step 700

    700

    #1055CE

    oklch(49% 0.198 261.2)

  9. Step 800

    800

    #1147A7

    oklch(42.8% 0.164 261.1)

  10. Step 900

    900

    #163D84

    oklch(37.8% 0.128 261.2)

  11. Step 950

    950 (this color)

    #051A42

    oklch(23% 0.081 261.2)

Export this scale for Tailwind in the Tailwind colors tool

#051A42 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)#001F430.015
Deuteranopia (no green cones)#0019410.008
Tritanopia (no blue cones)#00242B0.062
Achromatopsia (no color)#1C1C1C0.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #051A42

    #051A42

    oklch(23% 0.081 261.2)

  • #281A00

    #281A00

    oklch(23% 0.047 81.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #051A42

    #051A42

    oklch(23% 0.081 261.2)

  • #00202F

    #00202F

    oklch(22.9% 0.047 232.8)

  • #1F123F

    #1F123F

    oklch(23% 0.082 292)

Open the analogous palette in the generator

Split complementary

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

  • #051A42

    #051A42

    oklch(23% 0.081 261.2)

  • #321300

    #321300

    oklch(23.1% 0.06 51.6)

  • #1E1F00

    #1E1F00

    oklch(23% 0.051 111.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #051A42

    #051A42

    oklch(23% 0.081 261.2)

  • #3B060B

    #3B060B

    oklch(23.1% 0.081 21.3)

  • #032500

    #032500

    oklch(23.1% 0.076 141)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #051A42

    #051A42

    oklch(23% 0.081 261.2)

  • #370721

    #370721

    oklch(23.1% 0.08 352.1)

  • #281A00

    #281A00

    oklch(23% 0.047 81.2)

  • #00241A

    #00241A

    oklch(23.2% 0.046 170.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #051A42 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.