#121C31

Closest named color: Rich Black (#0D1B2A). oklch(22.9% 0.044 264), rgb(18, 28, 49).

Aa

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

About this color

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

Hue familyBlues
Lightnessvery dark (23%)
Chromamuted (0.044)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.23:1
White text16.98:1

Values

HEX#121C31
RGBrgb(18, 28, 49)
HSLhsl(221, 46%, 13%)
OKLCHoklch(22.9% 0.044 264)

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

    #F3F5FA

    oklch(97% 0.007 268.5)

  2. Step 100

    100

    #E5EAF4

    oklch(93.6% 0.015 264.5)

  3. Step 200

    200

    #D0D9ED

    oklch(88.5% 0.029 266.4)

  4. Step 300

    300

    #B0C1E3

    oklch(80.9% 0.052 264.2)

  5. Step 400

    400

    #86A0D5

    oklch(70.6% 0.083 264.1)

  6. Step 500

    500

    #6988C9

    oklch(63.1% 0.105 264.2)

  7. Step 600

    600

    #5071B6

    oklch(55.6% 0.114 263.7)

  8. Step 700

    700

    #415E9D

    oklch(49% 0.107 264.2)

  9. Step 800

    800

    #364D7F

    oklch(42.6% 0.088 264.3)

  10. Step 900

    900

    #2F4166

    oklch(37.8% 0.068 263.7)

  11. Step 950

    950 (this color)

    #121C31

    oklch(22.9% 0.044 264)

Export this scale for Tailwind in the Tailwind colors tool

#121C31 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)#141E320.008
Deuteranopia (no green cones)#101B310.005
Tritanopia (no blue cones)#0421240.039
Achromatopsia (no color)#1C1C1C0.044

Harmonies

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

Complementary

The opposite hue (180°).

  • #121C31

    #121C31

    oklch(22.9% 0.044 264)

  • #261B02

    #261B02

    oklch(23% 0.044 85.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #121C31

    #121C31

    oklch(22.9% 0.044 264)

  • #03202E

    #03202E

    oklch(23% 0.044 233.3)

  • #1E182F

    #1E182F

    oklch(22.8% 0.044 294.7)

Open the analogous palette in the generator

Split complementary

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

  • #121C31

    #121C31

    oklch(22.9% 0.044 264)

  • #2C1607

    #2C1607

    oklch(22.8% 0.044 53.4)

  • #1C1F05

    #1C1F05

    oklch(22.9% 0.043 115.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #121C31

    #121C31

    oklch(22.9% 0.044 264)

  • #2E1412

    #2E1412

    oklch(22.9% 0.043 25.6)

  • #0F220F

    #0F220F

    oklch(22.9% 0.044 144)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #121C31

    #121C31

    oklch(22.9% 0.044 264)

  • #2C131E

    #2C131E

    oklch(22.8% 0.044 353.4)

  • #261B02

    #261B02

    oklch(23% 0.044 85.7)

  • #00231B

    #00231B

    oklch(22.9% 0.043 174.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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