#020C24

Closest named color: Rich Navy (#001219). oklch(16.1% 0.054 260.7), rgb(2, 12, 36).

Aa

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

About this color

#020C24 is a very dark, muted blue. In OKLCH its lightness is 16%, its chroma 0.054 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Navy (#001219), ΔE 0.036 away. White text reads best on it, at 19.43:1.

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

Values

HEX#020C24
RGBrgb(2, 12, 36)
HSLhsl(222, 89%, 7%)
OKLCHoklch(16.1% 0.054 260.7)

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 #020C24 19.43:1 AAA Lc -107.5 Preferred for body text
Black text on #020C24 1.08:1 Fails Lc 0.0 Not readable
#020C24 text on white 19.43:1 AAA Lc 105.5 Preferred for body text
#020C24 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

    #F2F6FB

    oklch(97.2% 0.008 253.9)

  2. Step 100

    100

    #E3EAF7

    oklch(93.6% 0.019 263)

  3. Step 200

    200

    #CCDAF1

    oklch(88.5% 0.035 260.4)

  4. Step 300

    300

    #AAC2EA

    oklch(81% 0.063 260.6)

  5. Step 400

    400

    #7CA1E0

    oklch(70.7% 0.102 260.7)

  6. Step 500

    500

    #5B88D7

    oklch(63% 0.13 261)

  7. Step 600

    600

    #4071C5

    oklch(55.7% 0.141 260.5)

  8. Step 700

    700

    #325EAA

    oklch(49.1% 0.131 260.5)

  9. Step 800

    800

    #2A4D8A

    oklch(42.7% 0.109 260.7)

  10. Step 900

    900

    #26416E

    oklch(37.8% 0.084 260.1)

  11. Step 950

    950 (this color)

    #020C24

    oklch(16.1% 0.054 260.7)

Export this scale for Tailwind in the Tailwind colors tool

#020C24 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)#010F250.010
Deuteranopia (no green cones)#000B240.007
Tritanopia (no blue cones)#0012160.041
Achromatopsia (no color)#0D0D0D0.054

Harmonies

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

Complementary

The opposite hue (180°).

  • #020C24

    #020C24

    oklch(16.1% 0.054 260.7)

  • #150C00

    #150C00

    oklch(16.3% 0.034 81.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #020C24

    #020C24

    oklch(16.1% 0.054 260.7)

  • #001019

    #001019

    oklch(16.2% 0.033 230.6)

  • #0E0822

    #0E0822

    oklch(16.1% 0.052 290.1)

Open the analogous palette in the generator

Split complementary

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

  • #020C24

    #020C24

    oklch(16.1% 0.054 260.7)

  • #1B0700

    #1B0700

    oklch(16.1% 0.042 50.5)

  • #0E0F00

    #0E0F00

    oklch(16.2% 0.036 112.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #020C24

    #020C24

    oklch(16.1% 0.054 260.7)

  • #200304

    #200304

    oklch(16.3% 0.053 22.5)

  • #011300

    #011300

    oklch(16.3% 0.054 141.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #020C24

    #020C24

    oklch(16.1% 0.054 260.7)

  • #1D0310

    #1D0310

    oklch(16.1% 0.053 351.4)

  • #150C00

    #150C00

    oklch(16.3% 0.034 81.5)

  • #00120C

    #00120C

    oklch(16.2% 0.032 171.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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