#020309

Closest named color: Almost Black (#070D0D). oklch(10% 0.021 271), rgb(2, 3, 9).

Aa

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

About this color

#020309 is a very dark close to neutral grey. In OKLCH its lightness is 10%, its chroma 0.021. It has too little chroma to lean warm or cool. The nearest named color is Almost Black (#070D0D), ΔE 0.056 away. White text reads best on it, at 20.59:1.

Hue familyNeutrals
Lightnessvery dark (10%)
Chromaclose to neutral grey (0.021)
Temperatureneutral
Nearest nameAlmost Black (#070D0D)
Black text1.01:1
White text20.59:1

Values

HEX#020309
RGBrgb(2, 3, 9)
HSLhsl(231, 64%, 2%)
OKLCHoklch(10% 0.021 271)

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 #020309 20.59:1 AAA Lc -107.9 Preferred for body text
Black text on #020309 1.01:1 Fails Lc 0.0 Not readable
#020309 text on white 20.59:1 AAA Lc 106.0 Preferred for body text
#020309 text on black 1.01: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

    #F4F5F8

    oklch(97% 0.004 271.4)

  2. Step 100

    100

    #E8EAEF

    oklch(93.7% 0.007 268.5)

  3. Step 200

    200

    #D6D9E2

    oklch(88.6% 0.013 271.3)

  4. Step 300

    300

    #BAC0D1

    oklch(80.8% 0.025 270.3)

  5. Step 400

    400

    #97A0BA

    oklch(70.7% 0.039 270.3)

  6. Step 500

    500

    #7E88A8

    oklch(63% 0.05 271.4)

  7. Step 600

    600

    #677294

    oklch(55.6% 0.055 270.6)

  8. Step 700

    700

    #565F7E

    oklch(49% 0.051 271.9)

  9. Step 800

    800

    #464E66

    oklch(42.7% 0.041 270.3)

  10. Step 900

    900

    #3B4153

    oklch(37.7% 0.032 270.4)

  11. Step 950

    950 (this color)

    #020309

    oklch(10% 0.021 271)

Export this scale for Tailwind in the Tailwind colors tool

#020309 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)#0203090.000
Deuteranopia (no green cones)#0103090.005
Tritanopia (no blue cones)#0104050.017
Achromatopsia (no color)#0303030.021

Harmonies

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

Complementary

The opposite hue (180°).

  • #020309

    #020309

    oklch(10% 0.021 271)

  • #050300

    #050300

    oklch(9.9% 0.02 90.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #020309

    #020309

    oklch(10% 0.021 271)

  • #000408

    #000408

    oklch(10% 0.021 233.5)

  • #040208

    #040208

    oklch(9.8% 0.023 302.1)

Open the analogous palette in the generator

Split complementary

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

  • #020309

    #020309

    oklch(10% 0.021 271)

  • #070200

    #070200

    oklch(9.8% 0.023 60.9)

  • #030400

    #030400

    oklch(10.1% 0.023 118.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #020309

    #020309

    oklch(10% 0.021 271)

  • #080201

    #080201

    oklch(10.1% 0.021 38.5)

  • #010502

    #010502

    oklch(10.4% 0.019 153.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #020309

    #020309

    oklch(10% 0.021 271)

  • #080203

    #080203

    oklch(10.3% 0.02 6.1)

  • #050300

    #050300

    oklch(9.9% 0.02 90.1)

  • #000504

    #000504

    oklch(10.3% 0.018 182.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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