#020C1E

Closest named color: Rich Navy (#001219). oklch(15.5% 0.043 256.6), rgb(2, 12, 30).

Aa

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

About this color

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

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

Values

HEX#020C1E
RGBrgb(2, 12, 30)
HSLhsl(219, 88%, 6%)
OKLCHoklch(15.5% 0.043 256.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 #020C1E 19.55:1 AAA Lc -107.6 Preferred for body text
Black text on #020C1E 1.07:1 Fails Lc 0.0 Not readable
#020C1E text on white 19.55:1 AAA Lc 105.6 Preferred for body text
#020C1E 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

    #F3F6FA

    oklch(97.2% 0.006 255.5)

  2. Step 100

    100

    #E4EAF4

    oklch(93.5% 0.015 260.7)

  3. Step 200

    200

    #CDDAEC

    oklch(88.4% 0.029 256.5)

  4. Step 300

    300

    #ACC2E2

    oklch(80.8% 0.051 257.7)

  5. Step 400

    400

    #80A3D3

    oklch(70.8% 0.081 256.4)

  6. Step 500

    500

    #5F8BC8

    oklch(63.1% 0.105 256.7)

  7. Step 600

    600

    #4574B4

    oklch(55.5% 0.113 256.5)

  8. Step 700

    700

    #37619B

    oklch(49.1% 0.105 256.8)

  9. Step 800

    800

    #2E507E

    oklch(42.8% 0.087 256.4)

  10. Step 900

    900

    #294265

    oklch(37.6% 0.068 257)

  11. Step 950

    950 (this color)

    #020C1E

    oklch(15.5% 0.043 256.6)

Export this scale for Tailwind in the Tailwind colors tool

#020C1E 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)#040E1F0.010
Deuteranopia (no green cones)#010B1E0.005
Tritanopia (no blue cones)#0010130.032
Achromatopsia (no color)#0C0C0C0.043

Harmonies

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

Complementary

The opposite hue (180°).

  • #020C1E

    #020C1E

    oklch(15.5% 0.043 256.6)

  • #140A00

    #140A00

    oklch(15.5% 0.033 76.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #020C1E

    #020C1E

    oklch(15.5% 0.043 256.6)

  • #000F16

    #000F16

    oklch(15.7% 0.03 225)

  • #0B091D

    #0B091D

    oklch(15.6% 0.041 285.1)

Open the analogous palette in the generator

Split complementary

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

  • #020C1E

    #020C1E

    oklch(15.5% 0.043 256.6)

  • #1A0600

    #1A0600

    oklch(15.6% 0.042 48.4)

  • #0E0D00

    #0E0D00

    oklch(15.5% 0.033 106.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #020C1E

    #020C1E

    oklch(15.5% 0.043 256.6)

  • #1B0406

    #1B0406

    oklch(15.5% 0.043 16.6)

  • #041001

    #041001

    oklch(15.5% 0.042 137.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #020C1E

    #020C1E

    oklch(15.5% 0.043 256.6)

  • #190510

    #190510

    oklch(15.8% 0.042 347.6)

  • #140A00

    #140A00

    oklch(15.5% 0.033 76.4)

  • #001009

    #001009

    oklch(15.4% 0.032 166.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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