#051535

Closest named color: Rich Black (#0D1B2A). oklch(20.5% 0.067 261.5), rgb(5, 21, 53).

Aa

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

About this color

#051535 is a very dark, muted blue. In OKLCH its lightness is 20%, its chroma 0.067 and its hue 262°. 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 18.02:1.

Hue familyBlues
Lightnessvery dark (20%)
Chromamuted (0.067)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.16:1
White text18.02:1

Values

HEX#051535
RGBrgb(5, 21, 53)
HSLhsl(220, 83%, 11%)
OKLCHoklch(20.5% 0.067 261.5)

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 #051535 18.02:1 AAA Lc -106.8 Preferred for body text
Black text on #051535 1.16:1 Fails Lc 0.0 Not readable
#051535 text on white 18.02:1 AAA Lc 104.5 Preferred for body text
#051535 text on black 1.16: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

    #E1EAFA

    oklch(93.5% 0.024 262.1)

  3. Step 200

    200

    #C9DAF7

    oklch(88.5% 0.044 261.2)

  4. Step 300

    300

    #A4C1F5

    oklch(80.8% 0.081 261.9)

  5. Step 400

    400

    #74A0F0

    oklch(70.8% 0.127 261.7)

  6. Step 500

    500

    #4F86EA

    oklch(63.1% 0.162 261.3)

  7. Step 600

    600

    #336DD9

    oklch(55.7% 0.177 261.4)

  8. Step 700

    700

    #265ABC

    oklch(49.1% 0.164 261.6)

  9. Step 800

    800

    #214A98

    oklch(42.7% 0.136 261.7)

  10. Step 900

    900

    #203F79

    oklch(37.8% 0.106 261.6)

  11. Step 950

    950 (this color)

    #051535

    oklch(20.5% 0.067 261.5)

Export this scale for Tailwind in the Tailwind colors tool

#051535 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)#0319360.013
Deuteranopia (no green cones)#0014340.009
Tritanopia (no blue cones)#001D220.053
Achromatopsia (no color)#1616160.067

Harmonies

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

Complementary

The opposite hue (180°).

  • #051535

    #051535

    oklch(20.5% 0.067 261.5)

  • #211500

    #211500

    oklch(20.6% 0.042 81.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #051535

    #051535

    oklch(20.5% 0.067 261.5)

  • #001A27

    #001A27

    oklch(20.5% 0.042 232.7)

  • #180F32

    #180F32

    oklch(20.4% 0.066 291.2)

Open the analogous palette in the generator

Split complementary

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

  • #051535

    #051535

    oklch(20.5% 0.067 261.5)

  • #290E00

    #290E00

    oklch(20.4% 0.053 50.9)

  • #181900

    #181900

    oklch(20.5% 0.045 111.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #051535

    #051535

    oklch(20.5% 0.067 261.5)

  • #2F0609

    #2F0609

    oklch(20.4% 0.067 20.9)

  • #021E00

    #021E00

    oklch(20.5% 0.068 141.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #051535

    #051535

    oklch(20.5% 0.067 261.5)

  • #2C061A

    #2C061A

    oklch(20.4% 0.067 352)

  • #211500

    #211500

    oklch(20.6% 0.042 81.7)

  • #001D15

    #001D15

    oklch(20.5% 0.04 171.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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