#121A38

Closest named color: Rich Black (#0D1B2A). oklch(22.9% 0.059 270), rgb(18, 26, 56).

Aa

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

About this color

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

Hue familyBlues
Lightnessvery dark (23%)
Chromamuted (0.059)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.23:1
White text17.06:1

Values

HEX#121A38
RGBrgb(18, 26, 56)
HSLhsl(227, 51%, 15%)
OKLCHoklch(22.9% 0.059 270)

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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E4EAF8

    oklch(93.7% 0.02 267.3)

  3. Step 200

    200

    #CFD9F4

    oklch(88.6% 0.039 269.4)

  4. Step 300

    300

    #AFBFEF

    oklch(80.9% 0.07 270.4)

  5. Step 400

    400

    #859DE7

    oklch(70.7% 0.112 269.7)

  6. Step 500

    500

    #6883DF

    oklch(63.2% 0.142 269.7)

  7. Step 600

    600

    #516ACD

    oklch(55.6% 0.155 270.1)

  8. Step 700

    700

    #4258B2

    oklch(49.2% 0.145 270)

  9. Step 800

    800

    #364890

    oklch(42.7% 0.12 270.1)

  10. Step 900

    900

    #2F3D73

    oklch(37.7% 0.094 270.4)

  11. Step 950

    950 (this color)

    #121A38

    oklch(22.9% 0.059 270)

Export this scale for Tailwind in the Tailwind colors tool

#121A38 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)#0C1E390.014
Deuteranopia (no green cones)#071A370.015
Tritanopia (no blue cones)#0021260.053
Achromatopsia (no color)#1C1C1C0.059

Harmonies

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

Complementary

The opposite hue (180°).

  • #121A38

    #121A38

    oklch(22.9% 0.059 270)

  • #251B00

    #251B00

    oklch(22.8% 0.047 89.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #121A38

    #121A38

    oklch(22.9% 0.059 270)

  • #001F32

    #001F32

    oklch(22.8% 0.052 239.7)

  • #211534

    #211534

    oklch(22.9% 0.059 299.6)

Open the analogous palette in the generator

Split complementary

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

  • #121A38

    #121A38

    oklch(22.9% 0.059 270)

  • #2E1500

    #2E1500

    oklch(22.7% 0.054 59.7)

  • #1A2000

    #1A2000

    oklch(22.9% 0.054 119.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #121A38

    #121A38

    oklch(22.9% 0.059 270)

  • #33100B

    #33100B

    oklch(22.9% 0.058 30.3)

  • #02240C

    #02240C

    oklch(22.9% 0.06 149.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #121A38

    #121A38

    oklch(22.9% 0.059 270)

  • #320F1B

    #320F1B

    oklch(23% 0.059 1.4)

  • #251B00

    #251B00

    oklch(22.8% 0.047 89.6)

  • #00231D

    #00231D

    oklch(22.9% 0.042 178.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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