#121839

Closest named color: Rich Black (#0D1B2A). oklch(22.4% 0.064 272.5), rgb(18, 24, 57).

Aa

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

About this color

#121839 is a very dark, muted blue. In OKLCH its lightness is 22%, its chroma 0.064 and its hue 272°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.034 away. White text reads best on it, at 17.27:1.

Hue familyBlues
Lightnessvery dark (22%)
Chromamuted (0.064)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.21:1
White text17.27:1

Values

HEX#121839
RGBrgb(18, 24, 57)
HSLhsl(231, 52%, 15%)
OKLCHoklch(22.4% 0.064 272.5)

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 #121839 17.27:1 AAA Lc -106.4 Preferred for body text
Black text on #121839 1.21:1 Fails Lc 0.0 Not readable
#121839 text on white 17.27:1 AAA Lc 104.0 Preferred for body text
#121839 text on black 1.21: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

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E5E9F9

    oklch(93.6% 0.022 274.7)

  3. Step 200

    200

    #CFD8F6

    oklch(88.5% 0.042 272.3)

  4. Step 300

    300

    #B0BEF2

    oklch(80.9% 0.075 272.9)

  5. Step 400

    400

    #879BEC

    oklch(70.7% 0.121 272.4)

  6. Step 500

    500

    #6B80E6

    oklch(63.2% 0.154 272.5)

  7. Step 600

    600

    #5467D4

    oklch(55.7% 0.168 272.4)

  8. Step 700

    700

    #4555B8

    oklch(49.2% 0.156 272.4)

  9. Step 800

    800

    #384695

    oklch(42.7% 0.13 272.2)

  10. Step 900

    900

    #303B77

    oklch(37.6% 0.103 272.7)

  11. Step 950

    950 (this color)

    #121839

    oklch(22.4% 0.064 272.5)

Export this scale for Tailwind in the Tailwind colors tool

#121839 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)#071C3A0.017
Deuteranopia (no green cones)#0219380.021
Tritanopia (no blue cones)#001F250.056
Achromatopsia (no color)#1B1B1B0.064

Harmonies

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

Complementary

The opposite hue (180°).

  • #121839

    #121839

    oklch(22.4% 0.064 272.5)

  • #231B00

    #231B00

    oklch(22.5% 0.046 93.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #121839

    #121839

    oklch(22.4% 0.064 272.5)

  • #001E32

    #001E32

    oklch(22.5% 0.053 241.6)

  • #221334

    #221334

    oklch(22.6% 0.063 302.6)

Open the analogous palette in the generator

Split complementary

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

  • #121839

    #121839

    oklch(22.4% 0.064 272.5)

  • #2C1500

    #2C1500

    oklch(22.4% 0.051 62.3)

  • #171F00

    #171F00

    oklch(22.3% 0.054 122.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #121839

    #121839

    oklch(22.4% 0.064 272.5)

  • #340D07

    #340D07

    oklch(22.5% 0.064 31.6)

  • #00230D

    #00230D

    oklch(22.4% 0.059 152.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #121839

    #121839

    oklch(22.4% 0.064 272.5)

  • #320C19

    #320C19

    oklch(22.4% 0.063 2.5)

  • #231B00

    #231B00

    oklch(22.5% 0.046 93.6)

  • #00221D

    #00221D

    oklch(22.6% 0.041 181)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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