#121834

Closest named color: Rich Black (#0D1B2A). oklch(22% 0.055 272.1), rgb(18, 24, 52).

Aa

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

About this color

#121834 is a very dark, muted blue. In OKLCH its lightness is 22%, its chroma 0.055 and its hue 272°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.025 away. White text reads best on it, at 17.41:1.

Hue familyBlues
Lightnessvery dark (22%)
Chromamuted (0.055)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.20:1
White text17.41:1

Values

HEX#121834
RGBrgb(18, 24, 52)
HSLhsl(229, 49%, 14%)
OKLCHoklch(22% 0.055 272.1)

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 #121834 17.41:1 AAA Lc -106.5 Preferred for body text
Black text on #121834 1.20:1 Fails Lc 0.0 Not readable
#121834 text on white 17.41:1 AAA Lc 104.2 Preferred for body text
#121834 text on black 1.20: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

    #E5E9F7

    oklch(93.5% 0.019 273.2)

  3. Step 200

    200

    #D0D8F2

    oklch(88.4% 0.037 272)

  4. Step 300

    300

    #B2BFEC

    oklch(81% 0.065 272.3)

  5. Step 400

    400

    #8A9CE2

    oklch(70.6% 0.105 272.4)

  6. Step 500

    500

    #6E82DA

    oklch(63.1% 0.134 272.4)

  7. Step 600

    600

    #576AC7

    oklch(55.6% 0.145 272.2)

  8. Step 700

    700

    #4758AC

    oklch(49.1% 0.135 272)

  9. Step 800

    800

    #3A488B

    oklch(42.6% 0.112 272)

  10. Step 900

    900

    #323D6F

    oklch(37.7% 0.087 272.3)

  11. Step 950

    950 (this color)

    #121834

    oklch(22% 0.055 272.1)

Export this scale for Tailwind in the Tailwind colors tool

#121834 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)#0B1B350.013
Deuteranopia (no green cones)#0719330.015
Tritanopia (no blue cones)#021E230.049
Achromatopsia (no color)#1A1A1A0.055

Harmonies

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

Complementary

The opposite hue (180°).

  • #121834

    #121834

    oklch(22% 0.055 272.1)

  • #221A00

    #221A00

    oklch(22.1% 0.045 93.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #121834

    #121834

    oklch(22% 0.055 272.1)

  • #001D31

    #001D31

    oklch(22.1% 0.053 242.2)

  • #201330

    #201330

    oklch(22% 0.057 302.7)

Open the analogous palette in the generator

Split complementary

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

  • #121834

    #121834

    oklch(22% 0.055 272.1)

  • #2B1400

    #2B1400

    oklch(22% 0.051 61.4)

  • #171E00

    #171E00

    oklch(22% 0.053 121.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #121834

    #121834

    oklch(22% 0.055 272.1)

  • #300F09

    #300F09

    oklch(22.1% 0.056 32.2)

  • #02220D

    #02220D

    oklch(22.2% 0.055 151.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #121834

    #121834

    oklch(22% 0.055 272.1)

  • #2E0E19

    #2E0E19

    oklch(22% 0.054 1.1)

  • #221A00

    #221A00

    oklch(22.1% 0.045 93.2)

  • #00201C

    #00201C

    oklch(21.9% 0.039 183.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #121834 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.