#181845

Closest named color: Dark Indigo (#1F0954). oklch(24% 0.082 278.2), rgb(24, 24, 69).

Aa

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

About this color

#181845 is a very dark, moderately saturated blue. In OKLCH its lightness is 24%, its chroma 0.082 and its hue 278°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Indigo (#1F0954), ΔE 0.042 away. White text reads best on it, at 16.72:1.

Hue familyBlues
Lightnessvery dark (24%)
Chromamoderately saturated (0.082)
Temperaturecool
Nearest nameDark Indigo (#1F0954)
Black text1.25:1
White text16.72:1

Values

HEX#181845
RGBrgb(24, 24, 69)
HSLhsl(240, 48%, 18%)
OKLCHoklch(24% 0.082 278.2)

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 #181845 16.72:1 AAA Lc -105.9 Preferred for body text
Black text on #181845 1.25:1 Fails Lc 0.0 Not readable
#181845 text on white 16.72:1 AAA Lc 103.5 Preferred for body text
#181845 text on black 1.25: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

    #F3F5FE

    oklch(97.1% 0.012 276.1)

  2. Step 100

    100

    #E5E8FD

    oklch(93.5% 0.029 279.4)

  3. Step 200

    200

    #D0D6FD

    oklch(88.4% 0.054 278.3)

  4. Step 300

    300

    #B2BBFF

    oklch(81% 0.097 278.2)

  5. Step 400

    400

    #8C94FF

    oklch(70.7% 0.155 278.4)

  6. Step 500

    500

    #7275FE

    oklch(63.1% 0.199 278.1)

  7. Step 600

    600

    #5E58ED

    oklch(55.5% 0.217 278.4)

  8. Step 700

    700

    #4E47CF

    oklch(49.2% 0.202 278.2)

  9. Step 800

    800

    #3F3BA7

    oklch(42.6% 0.168 278.2)

  10. Step 900

    900

    #353584

    oklch(37.8% 0.129 278.2)

  11. Step 950

    950 (this color)

    #181845

    oklch(24% 0.082 278.2)

Export this scale for Tailwind in the Tailwind colors tool

#181845 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)#0020470.034
Deuteranopia (no green cones)#001C440.031
Tritanopia (no blue cones)#00232B0.073
Achromatopsia (no color)#1E1E1E0.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #181845

    #181845

    oklch(24% 0.082 278.2)

  • #261F00

    #261F00

    oklch(24% 0.05 96.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #181845

    #181845

    oklch(24% 0.082 278.2)

  • #00213C

    #00213C

    oklch(24.1% 0.064 247.4)

  • #2A113C

    #2A113C

    oklch(24% 0.081 308.2)

Open the analogous palette in the generator

Split complementary

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

  • #181845

    #181845

    oklch(24% 0.082 278.2)

  • #2F1A00

    #2F1A00

    oklch(24.1% 0.052 69.3)

  • #162400

    #162400

    oklch(23.8% 0.062 128.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #181845

    #181845

    oklch(24% 0.082 278.2)

  • #3C0D00

    #3C0D00

    oklch(24% 0.078 38.6)

  • #002715

    #002715

    oklch(24% 0.056 158.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #181845

    #181845

    oklch(24% 0.082 278.2)

  • #3D0718

    #3D0718

    oklch(24% 0.083 7.6)

  • #261F00

    #261F00

    oklch(24% 0.05 96.9)

  • #002523

    #002523

    oklch(23.9% 0.041 189.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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