#051C38

Closest named color: Rich Black (#0D1B2A). oklch(22.6% 0.062 254.8), rgb(5, 28, 56).

Aa

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

About this color

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

Hue familyBlues
Lightnessvery dark (23%)
Chromamuted (0.062)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.22:1
White text17.07:1

Values

HEX#051C38
RGBrgb(5, 28, 56)
HSLhsl(213, 84%, 12%)
OKLCHoklch(22.6% 0.062 254.8)

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 #051C38 17.07:1 AAA Lc -106.2 Preferred for body text
Black text on #051C38 1.22:1 Fails Lc 0.0 Not readable
#051C38 text on white 17.07:1 AAA Lc 103.8 Preferred for body text
#051C38 text on black 1.22: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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E1EBF8

    oklch(93.6% 0.021 254.9)

  3. Step 200

    200

    #C8DBF4

    oklch(88.5% 0.04 255.3)

  4. Step 300

    300

    #A1C3F0

    oklch(80.8% 0.074 255.6)

  5. Step 400

    400

    #6DA3E8

    oklch(70.6% 0.117 255.1)

  6. Step 500

    500

    #438BE1

    oklch(63.2% 0.149 254.5)

  7. Step 600

    600

    #2072CF

    oklch(55.5% 0.163 255)

  8. Step 700

    700

    #105FB3

    oklch(49% 0.151 254.9)

  9. Step 800

    800

    #124E91

    oklch(42.6% 0.125 254.9)

  10. Step 900

    900

    #184274

    oklch(37.8% 0.097 254.8)

  11. Step 950

    950 (this color)

    #051C38

    oklch(22.6% 0.062 254.8)

Export this scale for Tailwind in the Tailwind colors tool

#051C38 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)#0E1E390.013
Deuteranopia (no green cones)#051A370.007
Tritanopia (no blue cones)#0023270.047
Achromatopsia (no color)#1C1C1C0.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #051C38

    #051C38

    oklch(22.6% 0.062 254.8)

  • #291800

    #291800

    oklch(22.6% 0.048 74.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #051C38

    #051C38

    oklch(22.6% 0.062 254.8)

  • #00202B

    #00202B

    oklch(22.6% 0.043 224.8)

  • #1A1637

    #1A1637

    oklch(22.5% 0.062 285.8)

Open the analogous palette in the generator

Split complementary

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

  • #051C38

    #051C38

    oklch(22.6% 0.062 254.8)

  • #321001

    #321001

    oklch(22.5% 0.062 45.3)

  • #201D00

    #201D00

    oklch(22.7% 0.048 104.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #051C38

    #051C38

    oklch(22.6% 0.062 254.8)

  • #330D13

    #330D13

    oklch(22.6% 0.061 14)

  • #0E2202

    #0E2202

    oklch(22.6% 0.062 135.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #051C38

    #051C38

    oklch(22.6% 0.062 254.8)

  • #2F0E23

    #2F0E23

    oklch(22.6% 0.062 344.1)

  • #291800

    #291800

    oklch(22.6% 0.048 74.2)

  • #002316

    #002316

    oklch(22.7% 0.048 164.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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