#051837

Closest named color: Rich Black (#0D1B2A). oklch(21.5% 0.066 259.2), rgb(5, 24, 55).

Aa

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

About this color

#051837 is a very dark, muted blue. In OKLCH its lightness is 21%, its chroma 0.066 and its hue 259°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.031 away. White text reads best on it, at 17.61:1.

Hue familyBlues
Lightnessvery dark (21%)
Chromamuted (0.066)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.19:1
White text17.61:1

Values

HEX#051837
RGBrgb(5, 24, 55)
HSLhsl(217, 83%, 12%)
OKLCHoklch(21.5% 0.066 259.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 #051837 17.61:1 AAA Lc -106.5 Preferred for body text
Black text on #051837 1.19:1 Fails Lc 0.0 Not readable
#051837 text on white 17.61:1 AAA Lc 104.2 Preferred for body text
#051837 text on black 1.19: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

    #E1EBF9

    oklch(93.7% 0.022 256.7)

  3. Step 200

    200

    #C8DAF6

    oklch(88.4% 0.043 259.2)

  4. Step 300

    300

    #A3C2F3

    oklch(80.9% 0.077 259.4)

  5. Step 400

    400

    #70A1EE

    oklch(70.7% 0.125 259.1)

  6. Step 500

    500

    #4A87E8

    oklch(63% 0.16 259.3)

  7. Step 600

    600

    #2C6FD6

    oklch(55.6% 0.172 259.1)

  8. Step 700

    700

    #1E5CBA

    oklch(49.1% 0.161 259.1)

  9. Step 800

    800

    #1B4C96

    oklch(42.7% 0.133 258.9)

  10. Step 900

    900

    #1C4078

    oklch(37.7% 0.104 259.1)

  11. Step 950

    950 (this color)

    #051837

    oklch(21.5% 0.066 259.2)

Export this scale for Tailwind in the Tailwind colors tool

#051837 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)#071B380.011
Deuteranopia (no green cones)#0017360.009
Tritanopia (no blue cones)#001F240.050
Achromatopsia (no color)#1919190.066

Harmonies

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

Complementary

The opposite hue (180°).

  • #051837

    #051837

    oklch(21.5% 0.066 259.2)

  • #241600

    #241600

    oklch(21.3% 0.044 78.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #051837

    #051837

    oklch(21.5% 0.066 259.2)

  • #001D29

    #001D29

    oklch(21.6% 0.042 228.7)

  • #191235

    #191235

    oklch(21.4% 0.066 288.8)

Open the analogous palette in the generator

Split complementary

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

  • #051837

    #051837

    oklch(21.5% 0.066 259.2)

  • #2D0F00

    #2D0F00

    oklch(21.3% 0.057 49.1)

  • #1B1B00

    #1B1B00

    oklch(21.5% 0.047 109.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #051837

    #051837

    oklch(21.5% 0.066 259.2)

  • #32090D

    #32090D

    oklch(21.6% 0.066 19.1)

  • #062001

    #062001

    oklch(21.5% 0.065 139.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #051837

    #051837

    oklch(21.5% 0.066 259.2)

  • #2E091E

    #2E091E

    oklch(21.4% 0.066 349.1)

  • #241600

    #241600

    oklch(21.3% 0.044 78.3)

  • #001F16

    #001F16

    oklch(21.3% 0.042 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 #051837, closest first.

Similar named colors

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

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