#051328

Closest named color: Rich Black (#0D1B2A). oklch(18.8% 0.048 257.3), rgb(5, 19, 40).

Aa

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

About this color

#051328 is a very dark, muted blue. In OKLCH its lightness is 19%, its chroma 0.048 and its hue 257°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.033 away. White text reads best on it, at 18.58:1.

Hue familyBlues
Lightnessvery dark (19%)
Chromamuted (0.048)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.13:1
White text18.58:1

Values

HEX#051328
RGBrgb(5, 19, 40)
HSLhsl(216, 78%, 9%)
OKLCHoklch(18.8% 0.048 257.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 #051328 18.58:1 AAA Lc -107.1 Preferred for body text
Black text on #051328 1.13:1 Fails Lc 0.0 Not readable
#051328 text on white 18.58:1 AAA Lc 105.0 Preferred for body text
#051328 text on black 1.13: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

    #F2F6FB

    oklch(97.2% 0.008 253.9)

  2. Step 100

    100

    #E3EAF5

    oklch(93.5% 0.017 259.4)

  3. Step 200

    200

    #CCDAEE

    oklch(88.4% 0.031 257.2)

  4. Step 300

    300

    #AAC2E5

    oklch(80.8% 0.056 257.7)

  5. Step 400

    400

    #7DA3D9

    oklch(70.8% 0.09 257.2)

  6. Step 500

    500

    #5B8BCE

    oklch(63.2% 0.114 256.9)

  7. Step 600

    600

    #4073BB

    oklch(55.5% 0.125 257.3)

  8. Step 700

    700

    #3260A2

    oklch(49% 0.118 257.6)

  9. Step 800

    800

    #2A4F83

    oklch(42.7% 0.097 257.2)

  10. Step 900

    900

    #274269

    oklch(37.7% 0.075 257.6)

  11. Step 950

    950 (this color)

    #051328

    oklch(18.8% 0.048 257.3)

Export this scale for Tailwind in the Tailwind colors tool

#051328 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)#0915290.010
Deuteranopia (no green cones)#0411280.008
Tritanopia (no blue cones)#00181B0.038
Achromatopsia (no color)#1313130.048

Harmonies

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

Complementary

The opposite hue (180°).

  • #051328

    #051328

    oklch(18.8% 0.048 257.3)

  • #1D1100

    #1D1100

    oklch(18.9% 0.039 78.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #051328

    #051328

    oklch(18.8% 0.048 257.3)

  • #001620

    #001620

    oklch(18.7% 0.037 228.6)

  • #120F27

    #120F27

    oklch(18.7% 0.048 286.6)

Open the analogous palette in the generator

Split complementary

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

  • #051328

    #051328

    oklch(18.8% 0.048 257.3)

  • #240B01

    #240B01

    oklch(18.8% 0.048 47.2)

  • #151400

    #151400

    oklch(18.6% 0.04 107.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #051328

    #051328

    oklch(18.8% 0.048 257.3)

  • #25090B

    #25090B

    oklch(18.9% 0.048 18.5)

  • #081803

    #081803

    oklch(18.8% 0.047 137.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #051328

    #051328

    oklch(18.8% 0.048 257.3)

  • #220917

    #220917

    oklch(18.8% 0.048 347.9)

  • #1D1100

    #1D1100

    oklch(18.9% 0.039 78.4)

  • #001910

    #001910

    oklch(18.9% 0.039 167.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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