#121C28

Closest named color: Rich Black (#0D1B2A). oklch(22.3% 0.028 253.5), rgb(18, 28, 40).

Aa

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

About this color

#121C28 is a very dark close to neutral grey. In OKLCH its lightness is 22%, its chroma 0.028. It has too little chroma to lean warm or cool. The nearest named color is Rich Black (#0D1B2A), ΔE 0.010 away. White text reads best on it, at 17.17:1.

Hue familyNeutrals
Lightnessvery dark (22%)
Chromaclose to neutral grey (0.028)
Temperatureneutral
Nearest nameRich Black (#0D1B2A)
Black text1.22:1
White text17.17:1

Values

HEX#121C28
RGBrgb(18, 28, 40)
HSLhsl(213, 38%, 11%)
OKLCHoklch(22.3% 0.028 253.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 #121C28 17.17:1 AAA Lc -106.4 Preferred for body text
Black text on #121C28 1.22:1 Fails Lc 0.0 Not readable
#121C28 text on white 17.17:1 AAA Lc 104.0 Preferred for body text
#121C28 text on black 1.22: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

    #F3F6F8

    oklch(97.1% 0.004 236.5)

  2. Step 100

    100

    #E6EAF0

    oklch(93.6% 0.009 258.3)

  3. Step 200

    200

    #D1DAE5

    oklch(88.5% 0.018 253.4)

  4. Step 300

    300

    #B2C2D6

    oklch(80.8% 0.033 254)

  5. Step 400

    400

    #8AA3C1

    oklch(70.7% 0.052 253.2)

  6. Step 500

    500

    #6D8CB2

    oklch(63.1% 0.068 253.9)

  7. Step 600

    600

    #55769D

    oklch(55.7% 0.072 253.1)

  8. Step 700

    700

    #456387

    oklch(49.2% 0.068 253.6)

  9. Step 800

    800

    #39516D

    oklch(42.8% 0.055 252.9)

  10. Step 900

    900

    #314359

    oklch(37.7% 0.044 253.8)

  11. Step 950

    950 (this color)

    #121C28

    oklch(22.3% 0.028 253.5)

Export this scale for Tailwind in the Tailwind colors tool

#121C28 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)#171C290.008
Deuteranopia (no green cones)#151A280.008
Tritanopia (no blue cones)#0A1F200.025
Achromatopsia (no color)#1B1B1B0.028

Harmonies

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

Complementary

The opposite hue (180°).

  • #121C28

    #121C28

    oklch(22.3% 0.028 253.5)

  • #23190C

    #23190C

    oklch(22.2% 0.028 72.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #121C28

    #121C28

    oklch(22.3% 0.028 253.5)

  • #0B1E25

    #0B1E25

    oklch(22.3% 0.028 224.4)

  • #191A28

    #191A28

    oklch(22.4% 0.027 280.8)

Open the analogous palette in the generator

Split complementary

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

  • #121C28

    #121C28

    oklch(22.3% 0.028 253.5)

  • #261711

    #261711

    oklch(22.3% 0.027 42.6)

  • #1D1C0C

    #1D1C0C

    oklch(22.3% 0.028 105.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #121C28

    #121C28

    oklch(22.3% 0.028 253.5)

  • #271617

    #271617

    oklch(22.4% 0.028 15.7)

  • #161E11

    #161E11

    oklch(22.3% 0.027 133.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #121C28

    #121C28

    oklch(22.3% 0.028 253.5)

  • #25161F

    #25161F

    oklch(22.4% 0.029 343)

  • #23190C

    #23190C

    oklch(22.2% 0.028 72.9)

  • #0E1F18

    #0E1F18

    oklch(22.2% 0.027 165.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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