#020412

Closest named color: Almost Black (#070D0D). oklch(11.5% 0.036 268.9), rgb(2, 4, 18).

Aa

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

About this color

#020412 is a very dark, muted blue. In OKLCH its lightness is 11%, its chroma 0.036 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Almost Black (#070D0D), ΔE 0.051 away. White text reads best on it, at 20.41:1.

Hue familyBlues
Lightnessvery dark (11%)
Chromamuted (0.036)
Temperaturecool
Nearest nameAlmost Black (#070D0D)
Black text1.02:1
White text20.41:1

Values

HEX#020412
RGBrgb(2, 4, 18)
HSLhsl(233, 80%, 4%)
OKLCHoklch(11.5% 0.036 268.9)

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 #020412 20.41:1 AAA Lc -107.8 Preferred for body text
Black text on #020412 1.02:1 Fails Lc 0.0 Not readable
#020412 text on white 20.41:1 AAA Lc 106.0 Preferred for body text
#020412 text on black 1.02: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

    #F4F5F9

    oklch(97.1% 0.005 275)

  2. Step 100

    100

    #E6EAF2

    oklch(93.6% 0.012 264.5)

  3. Step 200

    200

    #D2D9E9

    oklch(88.5% 0.023 266.9)

  4. Step 300

    300

    #B5C0DD

    oklch(80.9% 0.043 269)

  5. Step 400

    400

    #8F9FCC

    oklch(70.6% 0.069 269.4)

  6. Step 500

    500

    #7487BF

    oklch(63.1% 0.088 269.4)

  7. Step 600

    600

    #5C70AB

    oklch(55.5% 0.095 268.9)

  8. Step 700

    700

    #4C5E93

    oklch(49.1% 0.088 268.8)

  9. Step 800

    800

    #3E4D77

    oklch(42.7% 0.073 268.3)

  10. Step 900

    900

    #354060

    oklch(37.7% 0.057 269.1)

  11. Step 950

    950 (this color)

    #020412

    oklch(11.5% 0.036 268.9)

Export this scale for Tailwind in the Tailwind colors tool

#020412 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)#0005130.010
Deuteranopia (no green cones)#0004120.009
Tritanopia (no blue cones)#0007090.031
Achromatopsia (no color)#0505050.036

Harmonies

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

Complementary

The opposite hue (180°).

  • #020412

    #020412

    oklch(11.5% 0.036 268.9)

  • #080500

    #080500

    oklch(11.7% 0.024 91.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #020412

    #020412

    oklch(11.5% 0.036 268.9)

  • #00060D

    #00060D

    oklch(11.6% 0.026 237.7)

  • #070310

    #070310

    oklch(11.7% 0.035 299.4)

Open the analogous palette in the generator

Split complementary

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

  • #020412

    #020412

    oklch(11.5% 0.036 268.9)

  • #0C0300

    #0C0300

    oklch(11.5% 0.028 56.6)

  • #040600

    #040600

    oklch(11.4% 0.027 121)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #020412

    #020412

    oklch(11.5% 0.036 268.9)

  • #0F0101

    #0F0101

    oklch(11.2% 0.037 25.5)

  • #000701

    #000701

    oklch(11.2% 0.032 148.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #020412

    #020412

    oklch(11.5% 0.036 268.9)

  • #0E0105

    #0E0105

    oklch(11.3% 0.037 356.3)

  • #080500

    #080500

    oklch(11.7% 0.024 91.8)

  • #000705

    #000705

    oklch(11.5% 0.021 177.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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