#051F37

Closest named color: Rich Black (#0D1B2A). oklch(23.4% 0.056 249.6), rgb(5, 31, 55).

Aa

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

About this color

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

Hue familyBlues
Lightnessvery dark (23%)
Chromamuted (0.056)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.25:1
White text16.69:1

Values

HEX#051F37
RGBrgb(5, 31, 55)
HSLhsl(209, 83%, 12%)
OKLCHoklch(23.4% 0.056 249.6)

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 #051F37 16.69:1 AAA Lc -105.9 Preferred for body text
Black text on #051F37 1.25:1 Fails Lc 0.0 Not readable
#051F37 text on white 16.69:1 AAA Lc 103.4 Preferred for body text
#051F37 text on black 1.25: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

    #F1F6FB

    oklch(97.1% 0.009 247.9)

  2. Step 100

    100

    #E0EBF7

    oklch(93.5% 0.02 250.4)

  3. Step 200

    200

    #C7DCF1

    oklch(88.5% 0.037 248.2)

  4. Step 300

    300

    #A0C5EB

    oklch(81% 0.067 249.3)

  5. Step 400

    400

    #6BA5E0

    oklch(70.6% 0.106 249.9)

  6. Step 500

    500

    #3E8ED8

    oklch(63.2% 0.136 249.4)

  7. Step 600

    600

    #1476C5

    oklch(55.5% 0.148 249.6)

  8. Step 700

    700

    #0063AA

    oklch(49.1% 0.137 249.4)

  9. Step 800

    800

    #0A518A

    oklch(42.7% 0.114 249.6)

  10. Step 900

    900

    #14446E

    oklch(37.8% 0.088 249)

  11. Step 950

    950 (this color)

    #051F37

    oklch(23.4% 0.056 249.6)

Export this scale for Tailwind in the Tailwind colors tool

#051F37 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)#1420380.019
Deuteranopia (no green cones)#0C1C370.012
Tritanopia (no blue cones)#0025280.042
Achromatopsia (no color)#1E1E1E0.056

Harmonies

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

Complementary

The opposite hue (180°).

  • #051F37

    #051F37

    oklch(23.4% 0.056 249.6)

  • #2D1900

    #2D1900

    oklch(23.5% 0.051 70.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #051F37

    #051F37

    oklch(23.4% 0.056 249.6)

  • #00222C

    #00222C

    oklch(23.3% 0.043 221.5)

  • #191A38

    #191A38

    oklch(23.5% 0.057 279.6)

Open the analogous palette in the generator

Split complementary

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

  • #051F37

    #051F37

    oklch(23.4% 0.056 249.6)

  • #331308

    #331308

    oklch(23.4% 0.055 39.3)

  • #231E00

    #231E00

    oklch(23.4% 0.049 100.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #051F37

    #051F37

    oklch(23.4% 0.056 249.6)

  • #331118

    #331118

    oklch(23.4% 0.055 9.6)

  • #152303

    #152303

    oklch(23.5% 0.057 129.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #051F37

    #051F37

    oklch(23.4% 0.056 249.6)

  • #2F1226

    #2F1226

    oklch(23.5% 0.056 340.6)

  • #2D1900

    #2D1900

    oklch(23.5% 0.051 70.1)

  • #002515

    #002515

    oklch(23.3% 0.053 160.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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