#020C20

Closest named color: Rich Navy (#001219). oklch(15.7% 0.046 258.3), rgb(2, 12, 32).

Aa

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

About this color

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

Hue familyBlues
Lightnessvery dark (16%)
Chromamuted (0.046)
Temperaturecool
Nearest nameRich Navy (#001219)
Black text1.07:1
White text19.51:1

Values

HEX#020C20
RGBrgb(2, 12, 32)
HSLhsl(220, 88%, 7%)
OKLCHoklch(15.7% 0.046 258.3)

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 #020C20 19.51:1 AAA Lc -107.6 Preferred for body text
Black text on #020C20 1.07:1 Fails Lc 0.0 Not readable
#020C20 text on white 19.51:1 AAA Lc 105.6 Preferred for body text
#020C20 text on black 1.07: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

    #E3EAF5

    oklch(93.5% 0.017 259.4)

  3. Step 200

    200

    #CDDAEE

    oklch(88.5% 0.031 258.9)

  4. Step 300

    300

    #ABC2E5

    oklch(80.9% 0.056 258.7)

  5. Step 400

    400

    #7FA2D8

    oklch(70.7% 0.089 258.9)

  6. Step 500

    500

    #5E8ACD

    oklch(63.1% 0.113 258.6)

  7. Step 600

    600

    #4473BA

    oklch(55.6% 0.122 258.4)

  8. Step 700

    700

    #3560A0

    oklch(49% 0.114 258.2)

  9. Step 800

    800

    #2D4F82

    oklch(42.8% 0.094 258.3)

  10. Step 900

    900

    #284268

    oklch(37.7% 0.073 257.8)

  11. Step 950

    950 (this color)

    #020C20

    oklch(15.7% 0.046 258.3)

Export this scale for Tailwind in the Tailwind colors tool

#020C20 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)#030E210.008
Deuteranopia (no green cones)#000B200.007
Tritanopia (no blue cones)#0011140.036
Achromatopsia (no color)#0C0C0C0.047

Harmonies

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

Complementary

The opposite hue (180°).

  • #020C20

    #020C20

    oklch(15.7% 0.046 258.3)

  • #140B00

    #140B00

    oklch(15.8% 0.033 80.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #020C20

    #020C20

    oklch(15.7% 0.046 258.3)

  • #000F17

    #000F17

    oklch(15.7% 0.031 228.4)

  • #0C081F

    #0C081F

    oklch(15.6% 0.047 287.9)

Open the analogous palette in the generator

Split complementary

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

  • #020C20

    #020C20

    oklch(15.7% 0.046 258.3)

  • #1B0600

    #1B0600

    oklch(15.8% 0.043 47.3)

  • #0E0E00

    #0E0E00

    oklch(15.9% 0.035 109.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #020C20

    #020C20

    oklch(15.7% 0.046 258.3)

  • #1D0406

    #1D0406

    oklch(15.9% 0.046 17.7)

  • #031100

    #031100

    oklch(15.7% 0.048 137.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #020C20

    #020C20

    oklch(15.7% 0.046 258.3)

  • #1A0410

    #1A0410

    oklch(15.7% 0.046 348.1)

  • #140B00

    #140B00

    oklch(15.8% 0.033 80.4)

  • #00110A

    #00110A

    oklch(15.8% 0.032 167.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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