#121729

Closest named color: Rich Black (#0D1B2A). oklch(20.9% 0.037 271.2), rgb(18, 23, 41).

Aa

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

About this color

#121729 is a very dark, muted blue. In OKLCH its lightness is 21%, its chroma 0.037 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.015 away. White text reads best on it, at 17.79:1.

Hue familyBlues
Lightnessvery dark (21%)
Chromamuted (0.037)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.18:1
White text17.79:1

Values

HEX#121729
RGBrgb(18, 23, 41)
HSLhsl(227, 39%, 12%)
OKLCHoklch(20.9% 0.037 271.2)

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 #121729 17.79:1 AAA Lc -106.8 Preferred for body text
Black text on #121729 1.18:1 Fails Lc 0.0 Not readable
#121729 text on white 17.79:1 AAA Lc 104.5 Preferred for body text
#121729 text on black 1.18: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

    #E7EAF3

    oklch(93.7% 0.013 271.3)

  3. Step 200

    200

    #D3D9EA

    oklch(88.6% 0.024 270.3)

  4. Step 300

    300

    #B6C0DD

    oklch(80.9% 0.042 270.4)

  5. Step 400

    400

    #909FCD

    oklch(70.7% 0.07 270.5)

  6. Step 500

    500

    #7686C0

    oklch(63.1% 0.09 271.8)

  7. Step 600

    600

    #5F6FAC

    oklch(55.5% 0.097 271.8)

  8. Step 700

    700

    #4E5D94

    oklch(49.1% 0.09 271.2)

  9. Step 800

    800

    #404C78

    oklch(42.7% 0.075 271.4)

  10. Step 900

    900

    #364060

    oklch(37.7% 0.057 270.3)

  11. Step 950

    950 (this color)

    #121729

    oklch(20.9% 0.037 271.2)

Export this scale for Tailwind in the Tailwind colors tool

#121729 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)#11192A0.007
Deuteranopia (no green cones)#0E17290.006
Tritanopia (no blue cones)#0A1B1E0.033
Achromatopsia (no color)#1818180.037

Harmonies

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

Complementary

The opposite hue (180°).

  • #121729

    #121729

    oklch(20.9% 0.037 271.2)

  • #1E1703

    #1E1703

    oklch(20.8% 0.037 91.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #121729

    #121729

    oklch(20.9% 0.037 271.2)

  • #071A27

    #071A27

    oklch(20.9% 0.036 240.9)

  • #1B1426

    #1B1426

    oklch(20.9% 0.036 301.2)

Open the analogous palette in the generator

Split complementary

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

  • #121729

    #121729

    oklch(20.9% 0.037 271.2)

  • #241406

    #241406

    oklch(20.9% 0.036 61.1)

  • #161B07

    #161B07

    oklch(21.1% 0.036 121.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #121729

    #121729

    oklch(20.9% 0.037 271.2)

  • #27110E

    #27110E

    oklch(20.9% 0.038 28.8)

  • #0A1D0F

    #0A1D0F

    oklch(21% 0.037 150.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #121729

    #121729

    oklch(20.9% 0.037 271.2)

  • #261117

    #261117

    oklch(21.1% 0.036 2.3)

  • #1E1703

    #1E1703

    oklch(20.8% 0.037 91.2)

  • #011E19

    #011E19

    oklch(21.1% 0.037 179.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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