#121B28

Closest named color: Rich Black (#0D1B2A). oklch(22% 0.029 257.5), rgb(18, 27, 40).

Aa

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

About this color

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

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

Values

HEX#121B28
RGBrgb(18, 27, 40)
HSLhsl(215, 38%, 11%)
OKLCHoklch(22% 0.029 257.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 #121B28 17.31:1 AAA Lc -106.5 Preferred for body text
Black text on #121B28 1.21:1 Fails Lc 0.0 Not readable
#121B28 text on white 17.31:1 AAA Lc 104.2 Preferred for body text
#121B28 text on black 1.21: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

    #F3F6F9

    oklch(97.2% 0.005 247.9)

  2. Step 100

    100

    #E6EAF1

    oklch(93.6% 0.01 261.8)

  3. Step 200

    200

    #D1DAE6

    oklch(88.5% 0.019 255.5)

  4. Step 300

    300

    #B3C2D7

    oklch(80.9% 0.034 256.8)

  5. Step 400

    400

    #8BA2C3

    oklch(70.6% 0.055 257.4)

  6. Step 500

    500

    #6F8BB4

    oklch(63.1% 0.07 257.8)

  7. Step 600

    600

    #5775A0

    oklch(55.7% 0.076 257.4)

  8. Step 700

    700

    #476289

    oklch(49.2% 0.071 257.5)

  9. Step 800

    800

    #3A506F

    oklch(42.7% 0.059 257)

  10. Step 900

    900

    #32425A

    oklch(37.6% 0.046 258.3)

  11. Step 950

    950 (this color)

    #121B28

    oklch(22% 0.029 257.5)

Export this scale for Tailwind in the Tailwind colors tool

#121B28 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)#161C290.008
Deuteranopia (no green cones)#141A280.005
Tritanopia (no blue cones)#0A1E1F0.027
Achromatopsia (no color)#1B1B1B0.029

Harmonies

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

Complementary

The opposite hue (180°).

  • #121B28

    #121B28

    oklch(22% 0.029 257.5)

  • #22190A

    #22190A

    oklch(22% 0.029 79.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #121B28

    #121B28

    oklch(22% 0.029 257.5)

  • #0B1D25

    #0B1D25

    oklch(21.9% 0.028 228.9)

  • #1A1827

    #1A1827

    oklch(21.9% 0.029 289.9)

Open the analogous palette in the generator

Split complementary

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

  • #121B28

    #121B28

    oklch(22% 0.029 257.5)

  • #26160F

    #26160F

    oklch(22% 0.029 44.4)

  • #1C1C0B

    #1C1C0B

    oklch(22.1% 0.03 108.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #121B28

    #121B28

    oklch(22% 0.029 257.5)

  • #271516

    #271516

    oklch(22.1% 0.03 16.1)

  • #141E10

    #141E10

    oklch(22.1% 0.03 137)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #121B28

    #121B28

    oklch(22% 0.029 257.5)

  • #25151D

    #25151D

    oklch(22.1% 0.029 348.4)

  • #22190A

    #22190A

    oklch(22% 0.029 79.1)

  • #0C1F18

    #0C1F18

    oklch(22% 0.029 167.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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