#020C2E

Closest named color: Dark Navy (#000435). oklch(17.2% 0.071 263.7), rgb(2, 12, 46).

Aa

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

About this color

#020C2E is a very dark, moderately saturated blue. In OKLCH its lightness is 17%, its chroma 0.071 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Navy (#000435), ΔE 0.028 away. White text reads best on it, at 19.18:1.

Hue familyBlues
Lightnessvery dark (17%)
Chromamoderately saturated (0.071)
Temperaturecool
Nearest nameDark Navy (#000435)
Black text1.09:1
White text19.18:1

Values

HEX#020C2E
RGBrgb(2, 12, 46)
HSLhsl(226, 92%, 9%)
OKLCHoklch(17.2% 0.071 263.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 #020C2E 19.18:1 AAA Lc -107.3 Preferred for body text
Black text on #020C2E 1.09:1 Fails Lc 0.0 Not readable
#020C2E text on white 19.18:1 AAA Lc 105.3 Preferred for body text
#020C2E text on black 1.09: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

    #F2F6FD

    oklch(97.2% 0.01 261.8)

  2. Step 100

    100

    #E2EAFB

    oklch(93.6% 0.025 265.6)

  3. Step 200

    200

    #CADAF9

    oklch(88.6% 0.046 263.7)

  4. Step 300

    300

    #A5C1F8

    oklch(81% 0.084 263.6)

  5. Step 400

    400

    #759EF4

    oklch(70.6% 0.134 263.9)

  6. Step 500

    500

    #5283F0

    oklch(63% 0.172 263.9)

  7. Step 600

    600

    #376ADE

    oklch(55.5% 0.186 263.6)

  8. Step 700

    700

    #2A57C1

    oklch(49% 0.174 263.8)

  9. Step 800

    800

    #24489C

    oklch(42.6% 0.143 263.9)

  10. Step 900

    900

    #213D7C

    oklch(37.6% 0.112 263.8)

  11. Step 950

    950 (this color)

    #020C2E

    oklch(17.2% 0.071 263.7)

Export this scale for Tailwind in the Tailwind colors tool

#020C2E 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)#00112F0.015
Deuteranopia (no green cones)#000D2D0.005
Tritanopia (no blue cones)#00151B0.055
Achromatopsia (no color)#0F0F0F0.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #020C2E

    #020C2E

    oklch(17.2% 0.071 263.7)

  • #170E00

    #170E00

    oklch(17.1% 0.035 83.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #020C2E

    #020C2E

    oklch(17.2% 0.071 263.7)

  • #00121D

    #00121D

    oklch(17.2% 0.036 234.2)

  • #13062B

    #13062B

    oklch(17.2% 0.071 294.2)

Open the analogous palette in the generator

Split complementary

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

  • #020C2E

    #020C2E

    oklch(17.2% 0.071 263.7)

  • #1E0900

    #1E0900

    oklch(17.1% 0.044 52.4)

  • #101100

    #101100

    oklch(17.1% 0.038 112.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #020C2E

    #020C2E

    oklch(17.2% 0.071 263.7)

  • #270002

    #270002

    oklch(17.2% 0.07 24.1)

  • #001601

    #001601

    oklch(17.4% 0.057 143.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #020C2E

    #020C2E

    oklch(17.2% 0.071 263.7)

  • #250012

    #250012

    oklch(17.3% 0.071 354.2)

  • #170E00

    #170E00

    oklch(17.1% 0.035 83.4)

  • #00140F

    #00140F

    oklch(17.1% 0.032 175.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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