#121338

Closest named color: Navy Blue (#001146). oklch(21.2% 0.07 277.4), rgb(18, 19, 56).

Aa

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

About this color

#121338 is a very dark, moderately saturated blue. In OKLCH its lightness is 21%, its chroma 0.070 and its hue 277°. Its hue sits on the cool side of the wheel. The nearest named color is Navy Blue (#001146), ΔE 0.039 away. White text reads best on it, at 17.85:1.

Hue familyBlues
Lightnessvery dark (21%)
Chromamoderately saturated (0.070)
Temperaturecool
Nearest nameNavy Blue (#001146)
Black text1.17:1
White text17.85:1

Values

HEX#121338
RGBrgb(18, 19, 56)
HSLhsl(238, 51%, 15%)
OKLCHoklch(21.2% 0.07 277.4)

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 #121338 17.85:1 AAA Lc -106.7 Preferred for body text
Black text on #121338 1.17:1 Fails Lc 0.0 Not readable
#121338 text on white 17.85:1 AAA Lc 104.5 Preferred for body text
#121338 text on black 1.17: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

    #E5E9FA

    oklch(93.6% 0.023 275.4)

  3. Step 200

    200

    #D1D7F8

    oklch(88.5% 0.046 277.3)

  4. Step 300

    300

    #B3BCF7

    oklch(80.9% 0.084 277.6)

  5. Step 400

    400

    #8D97F3

    oklch(70.7% 0.134 277.7)

  6. Step 500

    500

    #737BEE

    oklch(63.2% 0.17 277.4)

  7. Step 600

    600

    #5D60DC

    oklch(55.5% 0.185 277.5)

  8. Step 700

    700

    #4D4FBF

    oklch(49.1% 0.172 277.2)

  9. Step 800

    800

    #3F419B

    oklch(42.7% 0.143 277.5)

  10. Step 900

    900

    #35387B

    oklch(37.6% 0.112 277.7)

  11. Step 950

    950 (this color)

    #121338

    oklch(21.2% 0.07 277.4)

Export this scale for Tailwind in the Tailwind colors tool

#121338 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)#0019390.028
Deuteranopia (no green cones)#0016370.026
Tritanopia (no blue cones)#001C230.061
Achromatopsia (no color)#1717170.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #121338

    #121338

    oklch(21.2% 0.07 277.4)

  • #1E1800

    #1E1800

    oklch(21% 0.043 96.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #121338

    #121338

    oklch(21.2% 0.07 277.4)

  • #001A31

    #001A31

    oklch(21.2% 0.056 247.4)

  • #210D31

    #210D31

    oklch(21.1% 0.07 307)

Open the analogous palette in the generator

Split complementary

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

  • #121338

    #121338

    oklch(21.2% 0.07 277.4)

  • #271400

    #271400

    oklch(21.3% 0.047 67.4)

  • #121D00

    #121D00

    oklch(21.2% 0.055 126.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #121338

    #121338

    oklch(21.2% 0.07 277.4)

  • #320800

    #320800

    oklch(21.2% 0.071 37.2)

  • #001F0F

    #001F0F

    oklch(21.1% 0.05 157.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #121338

    #121338

    oklch(21.2% 0.07 277.4)

  • #310613

    #310613

    oklch(21.2% 0.07 7.1)

  • #1E1800

    #1E1800

    oklch(21% 0.043 96.8)

  • #001E1C

    #001E1C

    oklch(21.2% 0.037 188.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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