#020A21

Closest named color: Rich Navy (#001219). oklch(15.2% 0.051 262), rgb(2, 10, 33).

Aa

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

About this color

#020A21 is a very dark, muted blue. In OKLCH its lightness is 15%, its chroma 0.051 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Navy (#001219), ΔE 0.038 away. White text reads best on it, at 19.66:1.

Hue familyBlues
Lightnessvery dark (15%)
Chromamuted (0.051)
Temperaturecool
Nearest nameRich Navy (#001219)
Black text1.06:1
White text19.66:1

Values

HEX#020A21
RGBrgb(2, 10, 33)
HSLhsl(225, 89%, 7%)
OKLCHoklch(15.2% 0.051 262)

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 #020A21 19.66:1 AAA Lc -107.6 Preferred for body text
Black text on #020A21 1.06:1 Fails Lc 0.0 Not readable
#020A21 text on white 19.66:1 AAA Lc 105.7 Preferred for body text
#020A21 text on black 1.06: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

    #F2F6FB

    oklch(97.2% 0.008 253.9)

  2. Step 100

    100

    #E3EAF6

    oklch(93.5% 0.018 261.3)

  3. Step 200

    200

    #CDDAF0

    oklch(88.5% 0.033 261)

  4. Step 300

    300

    #ABC1E9

    oklch(80.8% 0.062 262.3)

  5. Step 400

    400

    #7FA1DE

    oklch(70.8% 0.098 261.7)

  6. Step 500

    500

    #5F88D5

    oklch(63.1% 0.125 262.1)

  7. Step 600

    600

    #4670C2

    oklch(55.5% 0.136 262.4)

  8. Step 700

    700

    #375EA7

    oklch(49.1% 0.125 261.7)

  9. Step 800

    800

    #2E4D88

    oklch(42.8% 0.105 262)

  10. Step 900

    900

    #29406C

    oklch(37.6% 0.081 262.3)

  11. Step 950

    950 (this color)

    #020A21

    oklch(15.2% 0.051 262)

Export this scale for Tailwind in the Tailwind colors tool

#020A21 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)#010D220.010
Deuteranopia (no green cones)#000A210.005
Tritanopia (no blue cones)#0010130.042
Achromatopsia (no color)#0B0B0B0.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #020A21

    #020A21

    oklch(15.2% 0.051 262)

  • #120A00

    #120A00

    oklch(15.2% 0.031 82.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #020A21

    #020A21

    oklch(15.2% 0.051 262)

  • #000E16

    #000E16

    oklch(15.3% 0.03 229.3)

  • #0D061F

    #0D061F

    oklch(15.2% 0.052 292.9)

Open the analogous palette in the generator

Split complementary

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

  • #020A21

    #020A21

    oklch(15.2% 0.051 262)

  • #180600

    #180600

    oklch(15.2% 0.039 51.1)

  • #0C0D00

    #0C0D00

    oklch(15.3% 0.034 112.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #020A21

    #020A21

    oklch(15.2% 0.051 262)

  • #1D0203

    #1D0203

    oklch(15.2% 0.052 22.5)

  • #001100

    #001100

    oklch(15.4% 0.052 142.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #020A21

    #020A21

    oklch(15.2% 0.051 262)

  • #1B020E

    #1B020E

    oklch(15.3% 0.053 351.9)

  • #120A00

    #120A00

    oklch(15.2% 0.031 82.5)

  • #00100A

    #00100A

    oklch(15.4% 0.03 170.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #020A21 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.