#051438

Closest named color: Navy Blue (#001146). oklch(20.5% 0.074 263.3), rgb(5, 20, 56).

Aa

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

About this color

#051438 is a very dark, moderately saturated blue. In OKLCH its lightness is 20%, its chroma 0.074 and its hue 263°. 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 18.04:1.

Hue familyBlues
Lightnessvery dark (20%)
Chromamoderately saturated (0.074)
Temperaturecool
Nearest nameNavy Blue (#001146)
Black text1.16:1
White text18.04:1

Values

HEX#051438
RGBrgb(5, 20, 56)
HSLhsl(222, 84%, 12%)
OKLCHoklch(20.5% 0.074 263.3)

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 #051438 18.04:1 AAA Lc -106.7 Preferred for body text
Black text on #051438 1.16:1 Fails Lc 0.0 Not readable
#051438 text on white 18.04:1 AAA Lc 104.5 Preferred for body text
#051438 text on black 1.16: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

    #E1EAFB

    oklch(93.5% 0.025 263.3)

  3. Step 200

    200

    #C9DAFA

    oklch(88.6% 0.048 263.1)

  4. Step 300

    300

    #A3C1FA

    oklch(80.9% 0.087 263)

  5. Step 400

    400

    #729EF7

    oklch(70.6% 0.14 263.3)

  6. Step 500

    500

    #4E83F4

    oklch(63.1% 0.179 263.3)

  7. Step 600

    600

    #3369E2

    oklch(55.5% 0.193 263.3)

  8. Step 700

    700

    #2657C5

    oklch(49.2% 0.18 263.2)

  9. Step 800

    800

    #21489F

    oklch(42.8% 0.149 263.3)

  10. Step 900

    900

    #1F3D7E

    oklch(37.6% 0.116 263.3)

  11. Step 950

    950 (this color)

    #051438

    oklch(20.5% 0.074 263.3)

Export this scale for Tailwind in the Tailwind colors tool

#051438 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)#0019390.016
Deuteranopia (no green cones)#0014370.008
Tritanopia (no blue cones)#001D230.058
Achromatopsia (no color)#1616160.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #051438

    #051438

    oklch(20.5% 0.074 263.3)

  • #201500

    #201500

    oklch(20.5% 0.042 83.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #051438

    #051438

    oklch(20.5% 0.074 263.3)

  • #001A27

    #001A27

    oklch(20.5% 0.042 232.7)

  • #1A0D35

    #1A0D35

    oklch(20.5% 0.075 293.7)

Open the analogous palette in the generator

Split complementary

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

  • #051438

    #051438

    oklch(20.5% 0.074 263.3)

  • #290F00

    #290F00

    oklch(20.6% 0.052 52.9)

  • #171900

    #171900

    oklch(20.4% 0.046 113.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #051438

    #051438

    oklch(20.5% 0.074 263.3)

  • #310406

    #310406

    oklch(20.5% 0.073 23.6)

  • #001E01

    #001E01

    oklch(20.4% 0.067 143.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #051438

    #051438

    oklch(20.5% 0.074 263.3)

  • #2E041A

    #2E041A

    oklch(20.5% 0.073 352.9)

  • #201500

    #201500

    oklch(20.5% 0.042 83.9)

  • #001D15

    #001D15

    oklch(20.5% 0.04 171.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #051438 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.