#010212

Closest named color: Midnight (#03012D). oklch(10.1% 0.045 269.3), rgb(1, 2, 18).

Aa

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

About this color

#010212 is a very dark, muted blue. In OKLCH its lightness is 10%, its chroma 0.045 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight (#03012D), ΔE 0.060 away. White text reads best on it, at 20.61:1.

Hue familyBlues
Lightnessvery dark (10%)
Chromamuted (0.045)
Temperaturecool
Nearest nameMidnight (#03012D)
Black text1.01:1
White text20.61:1

Values

HEX#010212
RGBrgb(1, 2, 18)
HSLhsl(236, 89%, 4%)
OKLCHoklch(10.1% 0.045 269.3)

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 #010212 20.61:1 AAA Lc -107.8 Preferred for body text
Black text on #010212 1.01:1 Fails Lc 0.0 Not readable
#010212 text on white 20.61:1 AAA Lc 106.0 Preferred for body text
#010212 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

    #F3F5FA

    oklch(97% 0.007 268.5)

  2. Step 100

    100

    #E6EAF4

    oklch(93.7% 0.014 268.5)

  3. Step 200

    200

    #D1D9ED

    oklch(88.5% 0.029 268.3)

  4. Step 300

    300

    #B3C0E4

    oklch(81% 0.053 269.6)

  5. Step 400

    400

    #8B9FD6

    oklch(70.8% 0.084 268.8)

  6. Step 500

    500

    #6F86CB

    oklch(63.1% 0.108 269.2)

  7. Step 600

    600

    #586EB8

    oklch(55.5% 0.118 269.8)

  8. Step 700

    700

    #485C9E

    oklch(49.1% 0.109 269.4)

  9. Step 800

    800

    #3B4B80

    oklch(42.6% 0.09 269.6)

  10. Step 900

    900

    #323F67

    oklch(37.6% 0.071 269.2)

  11. Step 950

    950 (this color)

    #010212

    oklch(10.1% 0.045 269.3)

Export this scale for Tailwind in the Tailwind colors tool

#010212 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)#0004130.014
Deuteranopia (no green cones)#0003120.008
Tritanopia (no blue cones)#0005070.037
Achromatopsia (no color)#0303030.045

Harmonies

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

Complementary

The opposite hue (180°).

  • #010212

    #010212

    oklch(10.1% 0.045 269.3)

  • #050300

    #050300

    oklch(9.9% 0.02 90.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #010212

    #010212

    oklch(10.1% 0.045 269.3)

  • #000409

    #000409

    oklch(10.1% 0.023 238.4)

  • #05010F

    #05010F

    oklch(10.1% 0.043 298.6)

Open the analogous palette in the generator

Split complementary

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

  • #010212

    #010212

    oklch(10.1% 0.045 269.3)

  • #080200

    #080200

    oklch(10% 0.024 56.9)

  • #030400

    #030400

    oklch(10.1% 0.023 118.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #010212

    #010212

    oklch(10.1% 0.045 269.3)

  • #0D0000

    #0D0000

    oklch(10% 0.041 29.2)

  • #000501

    #000501

    oklch(10% 0.027 150.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #010212

    #010212

    oklch(10.1% 0.045 269.3)

  • #0C0003

    #0C0003

    oklch(10% 0.041 359.9)

  • #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 #010212, closest first.

Similar named colors

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

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