#121840

Closest named color: Navy Blue (#001146). oklch(23.1% 0.076 272.6), rgb(18, 24, 64).

Aa

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

About this color

#121840 is a very dark, moderately saturated blue. In OKLCH its lightness is 23%, its chroma 0.076 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is Navy Blue (#001146), ΔE 0.037 away. White text reads best on it, at 17.06:1.

Hue familyBlues
Lightnessvery dark (23%)
Chromamoderately saturated (0.076)
Temperaturecool
Nearest nameNavy Blue (#001146)
Black text1.23:1
White text17.06:1

Values

HEX#121840
RGBrgb(18, 24, 64)
HSLhsl(232, 56%, 16%)
OKLCHoklch(23.1% 0.076 272.6)

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 #121840 17.06:1 AAA Lc -106.2 Preferred for body text
Black text on #121840 1.23:1 Fails Lc 0.0 Not readable
#121840 text on white 17.06:1 AAA Lc 103.8 Preferred for body text
#121840 text on black 1.23: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

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E4E9FC

    oklch(93.6% 0.026 274.1)

  3. Step 200

    200

    #CED8FB

    oklch(88.6% 0.049 272.8)

  4. Step 300

    300

    #ADBDFB

    oklch(80.8% 0.09 273.1)

  5. Step 400

    400

    #8399FA

    oklch(70.8% 0.144 272.6)

  6. Step 500

    500

    #667CF7

    oklch(63.2% 0.184 272.5)

  7. Step 600

    600

    #5061E6

    oklch(55.6% 0.2 272.6)

  8. Step 700

    700

    #414FC8

    oklch(49.1% 0.187 272.4)

  9. Step 800

    800

    #3642A1

    oklch(42.8% 0.153 272.7)

  10. Step 900

    900

    #2E3980

    oklch(37.7% 0.12 272.7)

  11. Step 950

    950 (this color)

    #121840

    oklch(23.1% 0.076 272.6)

Export this scale for Tailwind in the Tailwind colors tool

#121840 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)#001E410.025
Deuteranopia (no green cones)#001A3F0.022
Tritanopia (no blue cones)#0021290.063
Achromatopsia (no color)#1C1C1C0.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #121840

    #121840

    oklch(23.1% 0.076 272.6)

  • #251C00

    #251C00

    oklch(23.1% 0.047 92)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #121840

    #121840

    oklch(23.1% 0.076 272.6)

  • #001F35

    #001F35

    oklch(23% 0.056 243.5)

  • #24113A

    #24113A

    oklch(23% 0.077 302)

Open the analogous palette in the generator

Split complementary

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

  • #121840

    #121840

    oklch(23.1% 0.076 272.6)

  • #2E1600

    #2E1600

    oklch(23% 0.053 61.8)

  • #182100

    #182100

    oklch(23.1% 0.057 123.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #121840

    #121840

    oklch(23.1% 0.076 272.6)

  • #390A03

    #390A03

    oklch(23.1% 0.076 33.1)

  • #00250E

    #00250E

    oklch(23.2% 0.061 152.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #121840

    #121840

    oklch(23.1% 0.076 272.6)

  • #38081A

    #38081A

    oklch(23.2% 0.077 2.6)

  • #251C00

    #251C00

    oklch(23.1% 0.047 92)

  • #00231F

    #00231F

    oklch(23% 0.041 183.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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