#141828

Closest named color: Rich Black (#0D1B2A). oklch(21.3% 0.032 272.7), rgb(20, 24, 40).

Aa

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

About this color

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

Hue familyBlues
Lightnessvery dark (21%)
Chromamuted (0.032)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.19:1
White text17.63:1

Values

HEX#141828
RGBrgb(20, 24, 40)
HSLhsl(228, 33%, 12%)
OKLCHoklch(21.3% 0.032 272.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 #141828 17.63:1 AAA Lc -106.7 Preferred for body text
Black text on #141828 1.19:1 Fails Lc 0.0 Not readable
#141828 text on white 17.63:1 AAA Lc 104.4 Preferred for body text
#141828 text on black 1.19: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

    #E7E9F1

    oklch(93.5% 0.011 274.9)

  3. Step 200

    200

    #D4D9E8

    oklch(88.6% 0.021 271.2)

  4. Step 300

    300

    #B8C0DA

    oklch(81% 0.038 272)

  5. Step 400

    400

    #939FC7

    oklch(70.7% 0.06 271.8)

  6. Step 500

    500

    #7987B9

    oklch(63.2% 0.077 272)

  7. Step 600

    600

    #6270A5

    oklch(55.6% 0.084 272.1)

  8. Step 700

    700

    #525D8E

    oklch(49.1% 0.08 273.5)

  9. Step 800

    800

    #434C73

    oklch(42.6% 0.066 273.4)

  10. Step 900

    900

    #38405D

    oklch(37.7% 0.051 271.9)

  11. Step 950

    950 (this color)

    #141828

    oklch(21.3% 0.032 272.7)

Export this scale for Tailwind in the Tailwind colors tool

#141828 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)#131A290.007
Deuteranopia (no green cones)#1118280.005
Tritanopia (no blue cones)#0E1B1E0.028
Achromatopsia (no color)#1919190.032

Harmonies

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

Complementary

The opposite hue (180°).

  • #141828

    #141828

    oklch(21.3% 0.032 272.7)

  • #1E1907

    #1E1907

    oklch(21.4% 0.032 94.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #141828

    #141828

    oklch(21.3% 0.032 272.7)

  • #0B1B27

    #0B1B27

    oklch(21.5% 0.032 242.7)

  • #1C1525

    #1C1525

    oklch(21.2% 0.032 303.9)

Open the analogous palette in the generator

Split complementary

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

  • #141828

    #141828

    oklch(21.3% 0.032 272.7)

  • #241609

    #241609

    oklch(21.5% 0.032 62.7)

  • #161B0A

    #161B0A

    oklch(21.2% 0.032 122.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #141828

    #141828

    oklch(21.3% 0.032 272.7)

  • #26130F

    #26130F

    oklch(21.2% 0.033 32.7)

  • #0D1D12

    #0D1D12

    oklch(21.2% 0.031 153.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #141828

    #141828

    oklch(21.3% 0.032 272.7)

  • #251318

    #251318

    oklch(21.4% 0.031 2)

  • #1E1907

    #1E1907

    oklch(21.4% 0.032 94.3)

  • #051E1A

    #051E1A

    oklch(21.4% 0.032 181.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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