#121B3E

Closest named color: Rich Black (#0D1B2A). oklch(23.6% 0.068 269.7), rgb(18, 27, 62).

Aa

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

About this color

#121B3E is a very dark, muted blue. In OKLCH its lightness is 24%, its chroma 0.068 and its hue 270°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.040 away. White text reads best on it, at 16.77:1.

Hue familyBlues
Lightnessvery dark (24%)
Chromamuted (0.068)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.25:1
White text16.77:1

Values

HEX#121B3E
RGBrgb(18, 27, 62)
HSLhsl(228, 55%, 16%)
OKLCHoklch(23.6% 0.068 269.7)

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 #121B3E 16.77:1 AAA Lc -106.0 Preferred for body text
Black text on #121B3E 1.25:1 Fails Lc 0.0 Not readable
#121B3E text on white 16.77:1 AAA Lc 103.6 Preferred for body text
#121B3E text on black 1.25: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

    #F2F5FD

    oklch(97% 0.011 269.6)

  2. Step 100

    100

    #E3EAFA

    oklch(93.6% 0.023 266.9)

  3. Step 200

    200

    #CDD8F8

    oklch(88.4% 0.046 270.4)

  4. Step 300

    300

    #ACBFF5

    oklch(80.9% 0.079 269.5)

  5. Step 400

    400

    #819CF1

    oklch(70.8% 0.128 269.6)

  6. Step 500

    500

    #6380EC

    oklch(63% 0.165 269.9)

  7. Step 600

    600

    #4C67DA

    oklch(55.6% 0.178 269.8)

  8. Step 700

    700

    #3D55BD

    oklch(49.1% 0.165 269.6)

  9. Step 800

    800

    #324699

    oklch(42.7% 0.137 269.5)

  10. Step 900

    900

    #2C3C7A

    oklch(37.8% 0.107 269.8)

  11. Step 950

    950 (this color)

    #121B3E

    oklch(23.6% 0.068 269.7)

Export this scale for Tailwind in the Tailwind colors tool

#121B3E 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)#09203F0.017
Deuteranopia (no green cones)#021C3D0.019
Tritanopia (no blue cones)#0023290.058
Achromatopsia (no color)#1D1D1D0.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #121B3E

    #121B3E

    oklch(23.6% 0.068 269.7)

  • #271D00

    #271D00

    oklch(23.6% 0.048 90.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #121B3E

    #121B3E

    oklch(23.6% 0.068 269.7)

  • #002135

    #002135

    oklch(23.6% 0.054 239.9)

  • #241539

    #241539

    oklch(23.6% 0.068 300.5)

Open the analogous palette in the generator

Split complementary

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

  • #121B3E

    #121B3E

    oklch(23.6% 0.068 269.7)

  • #311700

    #311700

    oklch(23.7% 0.056 60.2)

  • #1B2200

    #1B2200

    oklch(23.7% 0.056 120.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #121B3E

    #121B3E

    oklch(23.6% 0.068 269.7)

  • #380E09

    #380E09

    oklch(23.5% 0.068 29.8)

  • #00260C

    #00260C

    oklch(23.5% 0.065 150)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #121B3E

    #121B3E

    oklch(23.6% 0.068 269.7)

  • #360D1D

    #360D1D

    oklch(23.5% 0.068 359.6)

  • #271D00

    #271D00

    oklch(23.6% 0.048 90.5)

  • #00251F

    #00251F

    oklch(23.7% 0.043 179.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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