#020C22

Closest named color: Rich Navy (#001219). oklch(15.9% 0.05 259.6), rgb(2, 12, 34).

Aa

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

About this color

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

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

Values

HEX#020C22
RGBrgb(2, 12, 34)
HSLhsl(221, 89%, 7%)
OKLCHoklch(15.9% 0.05 259.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 #020C22 19.47:1 AAA Lc -107.5 Preferred for body text
Black text on #020C22 1.07:1 Fails Lc 0.0 Not readable
#020C22 text on white 19.47:1 AAA Lc 105.6 Preferred for body text
#020C22 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

    #F2F6FB

    oklch(97.2% 0.008 253.9)

  2. Step 100

    100

    #E3EAF6

    oklch(93.5% 0.018 261.3)

  3. Step 200

    200

    #CDDAEF

    oklch(88.5% 0.032 260)

  4. Step 300

    300

    #AAC2E8

    oklch(80.9% 0.06 259.5)

  5. Step 400

    400

    #7DA2DC

    oklch(70.8% 0.095 259.2)

  6. Step 500

    500

    #5C89D2

    oklch(63% 0.121 259.7)

  7. Step 600

    600

    #4272BF

    oklch(55.6% 0.131 259.4)

  8. Step 700

    700

    #345FA5

    oklch(49.1% 0.122 259.7)

  9. Step 800

    800

    #2B4E86

    oklch(42.7% 0.102 259.4)

  10. Step 900

    900

    #27416B

    oklch(37.6% 0.079 259.6)

  11. Step 950

    950 (this color)

    #020C22

    oklch(15.9% 0.05 259.6)

Export this scale for Tailwind in the Tailwind colors tool

#020C22 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)#020E230.007
Deuteranopia (no green cones)#000B220.007
Tritanopia (no blue cones)#0011150.037
Achromatopsia (no color)#0D0D0D0.050

Harmonies

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

Complementary

The opposite hue (180°).

  • #020C22

    #020C22

    oklch(15.9% 0.05 259.6)

  • #140B00

    #140B00

    oklch(15.8% 0.033 80.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #020C22

    #020C22

    oklch(15.9% 0.05 259.6)

  • #000F18

    #000F18

    oklch(15.8% 0.032 231.5)

  • #0D0821

    #0D0821

    oklch(15.9% 0.051 288.7)

Open the analogous palette in the generator

Split complementary

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

  • #020C22

    #020C22

    oklch(15.9% 0.05 259.6)

  • #1B0700

    #1B0700

    oklch(16.1% 0.042 50.5)

  • #0E0E00

    #0E0E00

    oklch(15.9% 0.035 109.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #020C22

    #020C22

    oklch(15.9% 0.05 259.6)

  • #1E0305

    #1E0305

    oklch(15.8% 0.051 18.8)

  • #021200

    #021200

    oklch(16% 0.051 139.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #020C22

    #020C22

    oklch(15.9% 0.05 259.6)

  • #1C0310

    #1C0310

    oklch(15.9% 0.052 350)

  • #140B00

    #140B00

    oklch(15.8% 0.033 80.4)

  • #00110B

    #00110B

    oklch(15.8% 0.031 170.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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