#121B52

Closest named color: Dark Indigo (#1F0954). oklch(25.5% 0.1 270.4), rgb(18, 27, 82).

Aa

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

About this color

#121B52 is a dark, moderately saturated blue. In OKLCH its lightness is 25%, its chroma 0.100 and its hue 270°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Indigo (#1F0954), ΔE 0.040 away. White text reads best on it, at 16.10:1.

Hue familyBlues
Lightnessdark (25%)
Chromamoderately saturated (0.100)
Temperaturecool
Nearest nameDark Indigo (#1F0954)
Black text1.30:1
White text16.10:1

Values

HEX#121B52
RGBrgb(18, 27, 82)
HSLhsl(232, 64%, 20%)
OKLCHoklch(25.5% 0.1 270.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 #121B52 16.10:1 AAA Lc -105.3 Preferred for body text
Black text on #121B52 1.30:1 Fails Lc 0.0 Not readable
#121B52 text on white 16.10:1 AAA Lc 102.7 Preferred for body text
#121B52 text on black 1.30: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

    #F2F5FF

    oklch(97.1% 0.014 272.7)

  2. Step 100

    100

    #E2E9FF

    oklch(93.5% 0.031 271.7)

  3. Step 200

    200

    #CBD8FF

    oklch(88.5% 0.056 270.7)

  4. Step 300

    300

    #A9BEFF

    oklch(80.9% 0.095 270.4)

  5. Step 400

    400

    #7D99FF

    oklch(70.7% 0.152 270.5)

  6. Step 500

    500

    #5E7BFF

    oklch(63.1% 0.198 270.4)

  7. Step 600

    600

    #4458FF

    oklch(55.5% 0.245 270.5)

  8. Step 700

    700

    #3540E8

    oklch(49% 0.246 270.3)

  9. Step 800

    800

    #2B37BB

    oklch(42.6% 0.203 270.3)

  10. Step 900

    900

    #253394

    oklch(37.8% 0.159 270.3)

  11. Step 950

    950 (this color)

    #121B52

    oklch(25.5% 0.1 270.4)

Export this scale for Tailwind in the Tailwind colors tool

#121B52 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)#0024540.028
Deuteranopia (no green cones)#001E510.019
Tritanopia (no blue cones)#0029330.081
Achromatopsia (no color)#2121210.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #121B52

    #121B52

    oklch(25.5% 0.1 270.4)

  • #2C2100

    #2C2100

    oklch(25.4% 0.052 90.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #121B52

    #121B52

    oklch(25.5% 0.1 270.4)

  • #00263C

    #00263C

    oklch(25.6% 0.058 239.7)

  • #2C114A

    #2C114A

    oklch(25.5% 0.1 301.2)

Open the analogous palette in the generator

Split complementary

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

  • #121B52

    #121B52

    oklch(25.5% 0.1 270.4)

  • #371B00

    #371B00

    oklch(25.6% 0.059 61.1)

  • #1F2700

    #1F2700

    oklch(25.6% 0.061 120.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #121B52

    #121B52

    oklch(25.5% 0.1 270.4)

  • #480300

    #480300

    oklch(25.5% 0.101 30.7)

  • #002C0F

    #002C0F

    oklch(25.6% 0.07 150)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #121B52

    #121B52

    oklch(25.5% 0.1 270.4)

  • #450220

    #450220

    oklch(25.5% 0.1 0.9)

  • #2C2100

    #2C2100

    oklch(25.4% 0.052 90.4)

  • #002A24

    #002A24

    oklch(25.5% 0.046 180.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #121B52 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.