#021D44

Closest named color: Navy Blue (#001146). oklch(23.8% 0.081 257.6), rgb(2, 29, 68).

Aa

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

About this color

#021D44 is a very dark, moderately saturated blue. In OKLCH its lightness is 24%, its chroma 0.081 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.64:1.

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

Values

HEX#021D44
RGBrgb(2, 29, 68)
HSLhsl(215, 94%, 14%)
OKLCHoklch(23.8% 0.081 257.6)

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 #021D44 16.64:1 AAA Lc -105.7 Preferred for body text
Black text on #021D44 1.26:1 Fails Lc 0.0 Not readable
#021D44 text on white 16.64:1 AAA Lc 103.2 Preferred for body text
#021D44 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

    #DFEBFD

    oklch(93.6% 0.028 258.4)

  3. Step 200

    200

    #C4DBFD

    oklch(88.5% 0.053 258)

  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

    #2D85FD

    oklch(63% 0.197 257.7)

  7. Step 600

    600

    #006DE6

    oklch(55.7% 0.202 257.5)

  8. Step 700

    700

    #005BC3

    oklch(49.1% 0.179 257.6)

  9. Step 800

    800

    #004AA1

    oklch(42.6% 0.155 257.6)

  10. Step 900

    900

    #083E83

    oklch(37.6% 0.128 257.6)

  11. Step 950

    950 (this color)

    #021D44

    oklch(23.8% 0.081 257.6)

Export this scale for Tailwind in the Tailwind colors tool

#021D44 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)#0421450.014
Deuteranopia (no green cones)#001B430.007
Tritanopia (no blue cones)#00272D0.062
Achromatopsia (no color)#1E1E1E0.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #021D44

    #021D44

    oklch(23.8% 0.081 257.6)

  • #2C1B00

    #2C1B00

    oklch(23.8% 0.05 76.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #021D44

    #021D44

    oklch(23.8% 0.081 257.6)

  • #002330

    #002330

    oklch(23.9% 0.046 227.4)

  • #1E1542

    #1E1542

    oklch(23.7% 0.081 287.7)

Open the analogous palette in the generator

Split complementary

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

  • #021D44

    #021D44

    oklch(23.8% 0.081 257.6)

  • #361300

    #361300

    oklch(23.8% 0.064 48.5)

  • #212000

    #212000

    oklch(23.7% 0.051 108)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #021D44

    #021D44

    oklch(23.8% 0.081 257.6)

  • #3D0810

    #3D0810

    oklch(23.9% 0.081 17.8)

  • #0A2600

    #0A2600

    oklch(23.8% 0.073 137.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #021D44

    #021D44

    oklch(23.8% 0.081 257.6)

  • #380926

    #380926

    oklch(23.8% 0.081 347.2)

  • #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 #021D44, closest first.

Similar named colors

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

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