#021D45

Closest named color: Navy Blue (#001146). oklch(23.9% 0.083 257.9), rgb(2, 29, 69).

Aa

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

About this color

#021D45 is a very dark, moderately saturated blue. In OKLCH its lightness is 24%, its chroma 0.083 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Navy Blue (#001146), ΔE 0.036 away. White text reads best on it, at 16.61:1.

Hue familyBlues
Lightnessvery dark (24%)
Chromamoderately saturated (0.083)
Temperaturecool
Nearest nameNavy Blue (#001146)
Black text1.26:1
White text16.61:1

Values

HEX#021D45
RGBrgb(2, 29, 69)
HSLhsl(216, 94%, 14%)
OKLCHoklch(23.9% 0.083 257.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 #021D45 16.61:1 AAA Lc -105.7 Preferred for body text
Black text on #021D45 1.26:1 Fails Lc 0.0 Not readable
#021D45 text on white 16.61:1 AAA Lc 103.2 Preferred for body text
#021D45 text on black 1.26: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

    #F0F6FE

    oklch(97.1% 0.012 255.5)

  2. Step 100

    100

    #DEEBFD

    oklch(93.6% 0.028 256.5)

  3. Step 200

    200

    #C3DBFE

    oklch(88.5% 0.055 257.7)

  4. Step 300

    300

    #9AC3FF

    oklch(81% 0.096 257.8)

  5. Step 400

    400

    #60A1FF

    oklch(70.8% 0.154 257.7)

  6. Step 500

    500

    #2D85FF

    oklch(63.2% 0.199 257.9)

  7. Step 600

    600

    #006CE8

    oklch(55.6% 0.205 258)

  8. Step 700

    700

    #005AC4

    oklch(49% 0.181 258)

  9. Step 800

    800

    #004AA3

    oklch(42.8% 0.158 257.9)

  10. Step 900

    900

    #083E85

    oklch(37.7% 0.131 258)

  11. Step 950

    950 (this color)

    #021D45

    oklch(23.9% 0.083 257.9)

Export this scale for Tailwind in the Tailwind colors tool

#021D45 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)#0322460.016
Deuteranopia (no green cones)#001B440.007
Tritanopia (no blue cones)#00272D0.063
Achromatopsia (no color)#1E1E1E0.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #021D45

    #021D45

    oklch(23.9% 0.083 257.9)

  • #2C1B00

    #2C1B00

    oklch(23.8% 0.05 76.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #021D45

    #021D45

    oklch(23.9% 0.083 257.9)

  • #002330

    #002330

    oklch(23.9% 0.046 227.4)

  • #1F1543

    #1F1543

    oklch(23.9% 0.083 288.5)

Open the analogous palette in the generator

Split complementary

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

  • #021D45

    #021D45

    oklch(23.9% 0.083 257.9)

  • #371300

    #371300

    oklch(24% 0.066 47.8)

  • #222000

    #222000

    oklch(23.8% 0.051 106.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #021D45

    #021D45

    oklch(23.9% 0.083 257.9)

  • #3E070F

    #3E070F

    oklch(24% 0.083 18.5)

  • #0A2600

    #0A2600

    oklch(23.8% 0.073 137.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #021D45

    #021D45

    oklch(23.9% 0.083 257.9)

  • #390926

    #390926

    oklch(24% 0.082 348)

  • #2C1B00

    #2C1B00

    oklch(23.8% 0.05 76.5)

  • #00261A

    #00261A

    oklch(23.8% 0.049 167.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #021D45 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.