#121842

Closest named color: Navy Blue (#001146). oklch(23.3% 0.079 272.5), rgb(18, 24, 66).

Aa

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

About this color

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

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

Values

HEX#121842
RGBrgb(18, 24, 66)
HSLhsl(233, 57%, 16%)
OKLCHoklch(23.3% 0.079 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 #121842 17.00:1 AAA Lc -106.1 Preferred for body text
Black text on #121842 1.23:1 Fails Lc 0.0 Not readable
#121842 text on white 17.00:1 AAA Lc 103.7 Preferred for body text
#121842 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

    #E3E9FD

    oklch(93.5% 0.028 272.5)

  3. Step 200

    200

    #CDD8FD

    oklch(88.6% 0.052 272.2)

  4. Step 300

    300

    #ACBDFE

    oklch(80.9% 0.094 272.8)

  5. Step 400

    400

    #8198FD

    oklch(70.6% 0.15 272.4)

  6. Step 500

    500

    #657AFB

    oklch(63% 0.192 272.7)

  7. Step 600

    600

    #4F5FEB

    oklch(55.6% 0.209 272.6)

  8. Step 700

    700

    #414DCC

    oklch(49.1% 0.194 272.8)

  9. Step 800

    800

    #3540A5

    oklch(42.6% 0.161 272.8)

  10. Step 900

    900

    #2D3883

    oklch(37.7% 0.126 272.6)

  11. Step 950

    950 (this color)

    #121842

    oklch(23.3% 0.079 272.5)

Export this scale for Tailwind in the Tailwind colors tool

#121842 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)#001E430.025
Deuteranopia (no green cones)#001A410.022
Tritanopia (no blue cones)#00222A0.066
Achromatopsia (no color)#1C1C1C0.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #121842

    #121842

    oklch(23.3% 0.079 272.5)

  • #251D00

    #251D00

    oklch(23.3% 0.048 94.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #121842

    #121842

    oklch(23.3% 0.079 272.5)

  • #002035

    #002035

    oklch(23.3% 0.055 241.7)

  • #25113C

    #25113C

    oklch(23.3% 0.08 301.9)

Open the analogous palette in the generator

Split complementary

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

  • #121842

    #121842

    oklch(23.3% 0.079 272.5)

  • #2F1700

    #2F1700

    oklch(23.4% 0.053 62.7)

  • #192100

    #192100

    oklch(23.1% 0.056 121.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #121842

    #121842

    oklch(23.3% 0.079 272.5)

  • #3B0902

    #3B0902

    oklch(23.3% 0.08 33.3)

  • #00250F

    #00250F

    oklch(23.2% 0.06 153.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #121842

    #121842

    oklch(23.3% 0.079 272.5)

  • #39071A

    #39071A

    oklch(23.2% 0.079 2.8)

  • #251D00

    #251D00

    oklch(23.3% 0.048 94.4)

  • #00241F

    #00241F

    oklch(23.3% 0.042 181.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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