#020718

Closest named color: Almost Black (#070D0D). oklch(13.4% 0.04 262.7), rgb(2, 7, 24).

Aa

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

About this color

#020718 is a very dark, muted blue. In OKLCH its lightness is 13%, its chroma 0.040 and its hue 263°. Its hue sits on the cool side of the wheel. The nearest named color is Almost Black (#070D0D), ΔE 0.042 away. White text reads best on it, at 20.07:1.

Hue familyBlues
Lightnessvery dark (13%)
Chromamuted (0.040)
Temperaturecool
Nearest nameAlmost Black (#070D0D)
Black text1.04:1
White text20.07:1

Values

HEX#020718
RGBrgb(2, 7, 24)
HSLhsl(226, 85%, 5%)
OKLCHoklch(13.4% 0.04 262.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 #020718 20.07:1 AAA Lc -107.8 Preferred for body text
Black text on #020718 1.04:1 Fails Lc 0.0 Not readable
#020718 text on white 20.07:1 AAA Lc 105.9 Preferred for body text
#020718 text on black 1.04: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

    #F3F5FA

    oklch(97% 0.007 268.5)

  2. Step 100

    100

    #E5EAF3

    oklch(93.6% 0.013 262.4)

  3. Step 200

    200

    #D0DAEB

    oklch(88.6% 0.026 261.1)

  4. Step 300

    300

    #B0C1E0

    oklch(80.8% 0.048 262.5)

  5. Step 400

    400

    #87A1D1

    oklch(70.7% 0.077 262.4)

  6. Step 500

    500

    #6A89C5

    oklch(63.1% 0.098 263)

  7. Step 600

    600

    #5172B1

    oklch(55.6% 0.106 262.5)

  8. Step 700

    700

    #425F99

    oklch(49.1% 0.1 263.1)

  9. Step 800

    800

    #364E7C

    oklch(42.7% 0.082 262.5)

  10. Step 900

    900

    #2F4163

    oklch(37.6% 0.063 262.4)

  11. Step 950

    950 (this color)

    #020718

    oklch(13.4% 0.04 262.7)

Export this scale for Tailwind in the Tailwind colors tool

#020718 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)#0209190.009
Deuteranopia (no green cones)#0007180.007
Tritanopia (no blue cones)#000B0E0.032
Achromatopsia (no color)#0808080.040

Harmonies

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

Complementary

The opposite hue (180°).

  • #020718

    #020718

    oklch(13.4% 0.04 262.7)

  • #0D0700

    #0D0700

    oklch(13.4% 0.027 84.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #020718

    #020718

    oklch(13.4% 0.04 262.7)

  • #000911

    #000911

    oklch(13.2% 0.028 234.6)

  • #090516

    #090516

    oklch(13.5% 0.038 293.3)

Open the analogous palette in the generator

Split complementary

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

  • #020718

    #020718

    oklch(13.4% 0.04 262.7)

  • #120400

    #120400

    oklch(13.2% 0.034 51.2)

  • #080900

    #080900

    oklch(13.4% 0.03 113.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #020718

    #020718

    oklch(13.4% 0.04 262.7)

  • #150203

    #150203

    oklch(13.3% 0.041 19.3)

  • #010C01

    #010C01

    oklch(13.6% 0.039 143)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #020718

    #020718

    oklch(13.4% 0.04 262.7)

  • #130209

    #130209

    oklch(13.2% 0.041 352.3)

  • #0D0700

    #0D0700

    oklch(13.4% 0.027 84.6)

  • #000B07

    #000B07

    oklch(13.3% 0.026 173.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #020718 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.