#12212D

Closest named color: Dark (#1B2431). oklch(24% 0.031 243.7), rgb(18, 33, 45).

Aa

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

About this color

#12212D is a very dark, muted blue. In OKLCH its lightness is 24%, its chroma 0.031 and its hue 244°. Its hue sits on the cool side of the wheel. The nearest named color is Dark (#1B2431), ΔE 0.019 away. White text reads best on it, at 16.39:1.

Hue familyBlues
Lightnessvery dark (24%)
Chromamuted (0.031)
Temperaturecool
Nearest nameDark (#1B2431)
Black text1.28:1
White text16.39:1

Values

HEX#12212D
RGBrgb(18, 33, 45)
HSLhsl(207, 43%, 12%)
OKLCHoklch(24% 0.031 243.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 #12212D 16.39:1 AAA Lc -105.8 Preferred for body text
Black text on #12212D 1.28:1 Fails Lc 0.0 Not readable
#12212D text on white 16.39:1 AAA Lc 103.3 Preferred for body text
#12212D text on black 1.28: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

    #F3F6F8

    oklch(97.1% 0.004 236.5)

  2. Step 100

    100

    #E4EBF1

    oklch(93.6% 0.011 243.7)

  3. Step 200

    200

    #CEDBE6

    oklch(88.5% 0.021 243.4)

  4. Step 300

    300

    #ADC4D7

    oklch(80.9% 0.037 243.1)

  5. Step 400

    400

    #82A5C3

    oklch(70.7% 0.059 244.6)

  6. Step 500

    500

    #618FB4

    oklch(63.2% 0.075 243.6)

  7. Step 600

    600

    #4779A0

    oklch(55.7% 0.082 243.5)

  8. Step 700

    700

    #386589

    oklch(49.1% 0.076 244.4)

  9. Step 800

    800

    #2F536F

    oklch(42.8% 0.063 243.5)

  10. Step 900

    900

    #2A455A

    oklch(37.8% 0.049 243)

  11. Step 950

    950 (this color)

    #12212D

    oklch(24% 0.031 243.7)

Export this scale for Tailwind in the Tailwind colors tool

#12212D 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)#1C212E0.016
Deuteranopia (no green cones)#181E2D0.013
Tritanopia (no blue cones)#0624250.026
Achromatopsia (no color)#1F1F1F0.031

Harmonies

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

Complementary

The opposite hue (180°).

  • #12212D

    #12212D

    oklch(24% 0.031 243.7)

  • #2A1C0F

    #2A1C0F

    oklch(24% 0.032 63.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12212D

    #12212D

    oklch(24% 0.031 243.7)

  • #0B2328

    #0B2328

    oklch(24% 0.031 213.3)

  • #1B1E2E

    #1B1E2E

    oklch(24% 0.031 275.6)

Open the analogous palette in the generator

Split complementary

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

  • #12212D

    #12212D

    oklch(24% 0.031 243.7)

  • #2C1A16

    #2C1A16

    oklch(24% 0.03 33.1)

  • #241F0D

    #241F0D

    oklch(24% 0.031 94.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12212D

    #12212D

    oklch(24% 0.031 243.7)

  • #2C191E

    #2C191E

    oklch(24.1% 0.031 2.6)

  • #1C2211

    #1C2211

    oklch(24.1% 0.032 124.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12212D

    #12212D

    oklch(24% 0.031 243.7)

  • #281A25

    #281A25

    oklch(24% 0.029 334.3)

  • #2A1C0F

    #2A1C0F

    oklch(24% 0.032 63.3)

  • #132418

    #132418

    oklch(24.1% 0.032 152.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #12212D 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.