#021021

Closest named color: Rich Navy (#001219). oklch(17% 0.042 251.1), rgb(2, 16, 33).

Aa

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

About this color

#021021 is a very dark, muted blue. In OKLCH its lightness is 17%, its chroma 0.042 and its hue 251°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Navy (#001219), ΔE 0.021 away. White text reads best on it, at 19.11:1.

Hue familyBlues
Lightnessvery dark (17%)
Chromamuted (0.042)
Temperaturecool
Nearest nameRich Navy (#001219)
Black text1.09:1
White text19.11:1

Values

HEX#021021
RGBrgb(2, 16, 33)
HSLhsl(213, 89%, 7%)
OKLCHoklch(17% 0.042 251.1)

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 #021021 19.11:1 AAA Lc -107.4 Preferred for body text
Black text on #021021 1.09:1 Fails Lc 0.0 Not readable
#021021 text on white 19.11:1 AAA Lc 105.4 Preferred for body text
#021021 text on black 1.09: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

    #F2F6FA

    oklch(97.1% 0.007 247.9)

  2. Step 100

    100

    #E3EBF3

    oklch(93.6% 0.014 248)

  3. Step 200

    200

    #CCDBEB

    oklch(88.5% 0.027 249.9)

  4. Step 300

    300

    #A9C4E1

    oklch(81% 0.051 250.3)

  5. Step 400

    400

    #7BA4D1

    oklch(70.6% 0.08 251.3)

  6. Step 500

    500

    #588DC5

    oklch(63% 0.102 251)

  7. Step 600

    600

    #3D76B2

    oklch(55.5% 0.111 251.5)

  8. Step 700

    700

    #2F6399

    oklch(49% 0.103 251.5)

  9. Step 800

    800

    #28517C

    oklch(42.7% 0.085 251.5)

  10. Step 900

    900

    #254464

    oklch(37.8% 0.066 250.7)

  11. Step 950

    950 (this color)

    #021021

    oklch(17% 0.042 251.1)

Export this scale for Tailwind in the Tailwind colors tool

#021021 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)#0811220.013
Deuteranopia (no green cones)#040E210.008
Tritanopia (no blue cones)#0014160.032
Achromatopsia (no color)#0F0F0F0.042

Harmonies

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

Complementary

The opposite hue (180°).

  • #021021

    #021021

    oklch(17% 0.042 251.1)

  • #190C00

    #190C00

    oklch(16.9% 0.036 70.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #021021

    #021021

    oklch(17% 0.042 251.1)

  • #001219

    #001219

    oklch(16.9% 0.031 222.7)

  • #0D0D21

    #0D0D21

    oklch(17.2% 0.041 281.2)

Open the analogous palette in the generator

Split complementary

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

  • #021021

    #021021

    oklch(17% 0.042 251.1)

  • #1E0802

    #1E0802

    oklch(17% 0.042 42.3)

  • #131000

    #131000

    oklch(17.1% 0.036 101.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #021021

    #021021

    oklch(17% 0.042 251.1)

  • #1E070B

    #1E070B

    oklch(17.1% 0.041 11.1)

  • #091301

    #091301

    oklch(17.1% 0.042 130.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #021021

    #021021

    oklch(17% 0.042 251.1)

  • #1B0715

    #1B0715

    oklch(16.9% 0.043 340.1)

  • #190C00

    #190C00

    oklch(16.9% 0.036 70.9)

  • #00140A

    #00140A

    oklch(16.9% 0.037 161.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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