#051D3C

Closest named color: Rich Black (#0D1B2A). oklch(23.2% 0.067 256), rgb(5, 29, 60).

Aa

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

About this color

#051D3C is a very dark, muted blue. In OKLCH its lightness is 23%, its chroma 0.067 and its hue 256°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.035 away. White text reads best on it, at 16.83:1.

Hue familyBlues
Lightnessvery dark (23%)
Chromamuted (0.067)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.24:1
White text16.83:1

Values

HEX#051D3C
RGBrgb(5, 29, 60)
HSLhsl(214, 85%, 13%)
OKLCHoklch(23.2% 0.067 256)

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 #051D3C 16.83:1 AAA Lc -106.0 Preferred for body text
Black text on #051D3C 1.24:1 Fails Lc 0.0 Not readable
#051D3C text on white 16.83:1 AAA Lc 103.5 Preferred for body text
#051D3C text on black 1.24: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

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E0EBF9

    oklch(93.6% 0.022 254.4)

  3. Step 200

    200

    #C7DBF7

    oklch(88.5% 0.044 256.8)

  4. Step 300

    300

    #9FC3F4

    oklch(80.8% 0.08 256.2)

  5. Step 400

    400

    #6AA3EE

    oklch(70.8% 0.126 255.7)

  6. Step 500

    500

    #3F89E9

    oklch(63.1% 0.162 256.2)

  7. Step 600

    600

    #1871D7

    oklch(55.7% 0.176 255.9)

  8. Step 700

    700

    #075EBA

    oklch(49.1% 0.163 255.8)

  9. Step 800

    800

    #0D4D97

    oklch(42.7% 0.136 256)

  10. Step 900

    900

    #154178

    oklch(37.7% 0.105 256)

  11. Step 950

    950 (this color)

    #051D3C

    oklch(23.2% 0.067 256)

Export this scale for Tailwind in the Tailwind colors tool

#051D3C 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)#0D203D0.014
Deuteranopia (no green cones)#031B3B0.008
Tritanopia (no blue cones)#0024290.050
Achromatopsia (no color)#1D1D1D0.067

Harmonies

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

Complementary

The opposite hue (180°).

  • #051D3C

    #051D3C

    oklch(23.2% 0.067 256)

  • #2A1A00

    #2A1A00

    oklch(23.3% 0.049 77.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #051D3C

    #051D3C

    oklch(23.2% 0.067 256)

  • #00212D

    #00212D

    oklch(23.1% 0.044 226.4)

  • #1C173B

    #1C173B

    oklch(23.3% 0.067 286.3)

Open the analogous palette in the generator

Split complementary

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

  • #051D3C

    #051D3C

    oklch(23.2% 0.067 256)

  • #351100

    #351100

    oklch(23.3% 0.065 46.3)

  • #211F00

    #211F00

    oklch(23.4% 0.05 106.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #051D3C

    #051D3C

    oklch(23.2% 0.067 256)

  • #370D12

    #370D12

    oklch(23.4% 0.067 17)

  • #0D2401

    #0D2401

    oklch(23.2% 0.067 136)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #051D3C

    #051D3C

    oklch(23.2% 0.067 256)

  • #320E24

    #320E24

    oklch(23.2% 0.066 345.8)

  • #2A1A00

    #2A1A00

    oklch(23.3% 0.049 77.5)

  • #002418

    #002418

    oklch(23.1% 0.048 166.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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