#050D21

Closest named color: Rich Navy (#001219). oklch(16.4% 0.044 263.9), rgb(5, 13, 33).

Aa

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

About this color

#050D21 is a very dark, muted blue. In OKLCH its lightness is 16%, its chroma 0.044 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Navy (#001219), ΔE 0.030 away. White text reads best on it, at 19.33:1.

Hue familyBlues
Lightnessvery dark (16%)
Chromamuted (0.044)
Temperaturecool
Nearest nameRich Navy (#001219)
Black text1.08:1
White text19.33:1

Values

HEX#050D21
RGBrgb(5, 13, 33)
HSLhsl(223, 74%, 7%)
OKLCHoklch(16.4% 0.044 263.9)

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 #050D21 19.33:1 AAA Lc -107.5 Preferred for body text
Black text on #050D21 1.08:1 Fails Lc 0.0 Not readable
#050D21 text on white 19.33:1 AAA Lc 105.5 Preferred for body text
#050D21 text on black 1.08: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

    #F3F5FA

    oklch(97% 0.007 268.5)

  2. Step 100

    100

    #E5EAF4

    oklch(93.6% 0.015 264.5)

  3. Step 200

    200

    #CFD9ED

    oklch(88.4% 0.03 264.4)

  4. Step 300

    300

    #B0C1E3

    oklch(80.9% 0.052 264.2)

  5. Step 400

    400

    #86A0D6

    oklch(70.6% 0.085 264.4)

  6. Step 500

    500

    #6888CA

    oklch(63.1% 0.107 263.9)

  7. Step 600

    600

    #5071B7

    oklch(55.6% 0.116 263.9)

  8. Step 700

    700

    #405E9E

    oklch(49% 0.109 263.9)

  9. Step 800

    800

    #354D80

    oklch(42.6% 0.09 263.9)

  10. Step 900

    900

    #2E4167

    oklch(37.8% 0.07 263.2)

  11. Step 950

    950 (this color)

    #050D21

    oklch(16.4% 0.044 263.9)

Export this scale for Tailwind in the Tailwind colors tool

#050D21 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)#040F220.007
Deuteranopia (no green cones)#020D210.007
Tritanopia (no blue cones)#0012150.037
Achromatopsia (no color)#0E0E0E0.044

Harmonies

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

Complementary

The opposite hue (180°).

  • #050D21

    #050D21

    oklch(16.4% 0.044 263.9)

  • #150D00

    #150D00

    oklch(16.5% 0.034 85.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #050D21

    #050D21

    oklch(16.4% 0.044 263.9)

  • #00101B

    #00101B

    oklch(16.4% 0.035 235.9)

  • #0F091F

    #0F091F

    oklch(16.2% 0.045 293.4)

Open the analogous palette in the generator

Split complementary

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

  • #050D21

    #050D21

    oklch(16.4% 0.044 263.9)

  • #1B0800

    #1B0800

    oklch(16.3% 0.041 53.6)

  • #0E1000

    #0E1000

    oklch(16.5% 0.037 114.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #050D21

    #050D21

    oklch(16.4% 0.044 263.9)

  • #1E0505

    #1E0505

    oklch(16.4% 0.046 23.6)

  • #021303

    #021303

    oklch(16.5% 0.044 144.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #050D21

    #050D21

    oklch(16.4% 0.044 263.9)

  • #1C050F

    #1C050F

    oklch(16.3% 0.045 354.7)

  • #150D00

    #150D00

    oklch(16.5% 0.034 85.3)

  • #00120D

    #00120D

    oklch(16.3% 0.031 174.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #050D21 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.