#181D4F

Closest named color: Dark Indigo (#1F0954). oklch(26% 0.091 273.9), rgb(24, 29, 79).

Aa

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

About this color

#181D4F is a dark, moderately saturated blue. In OKLCH its lightness is 26%, its chroma 0.091 and its hue 274°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Indigo (#1F0954), ΔE 0.044 away. White text reads best on it, at 15.81:1.

Hue familyBlues
Lightnessdark (26%)
Chromamoderately saturated (0.091)
Temperaturecool
Nearest nameDark Indigo (#1F0954)
Black text1.32:1
White text15.81:1

Values

HEX#181D4F
RGBrgb(24, 29, 79)
HSLhsl(235, 53%, 20%)
OKLCHoklch(26% 0.091 273.9)

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 #181D4F 15.81:1 AAA Lc -105.2 Preferred for body text
Black text on #181D4F 1.32:1 Fails Lc 0.0 Not readable
#181D4F text on white 15.81:1 AAA Lc 102.5 Preferred for body text
#181D4F text on black 1.32: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

    #F2F5FF

    oklch(97.1% 0.014 272.7)

  2. Step 100

    100

    #E3E9FF

    oklch(93.6% 0.03 273.6)

  3. Step 200

    200

    #CDD7FF

    oklch(88.4% 0.056 274.2)

  4. Step 300

    300

    #ADBCFF

    oklch(80.8% 0.096 274.3)

  5. Step 400

    400

    #8497FF

    oklch(70.7% 0.153 274)

  6. Step 500

    500

    #6878FF

    oklch(63.1% 0.199 274.1)

  7. Step 600

    600

    #5056FB

    oklch(55.5% 0.239 273.8)

  8. Step 700

    700

    #4244DB

    oklch(49% 0.223 273.9)

  9. Step 800

    800

    #363AB1

    oklch(42.7% 0.184 273.9)

  10. Step 900

    900

    #2D348C

    oklch(37.7% 0.144 273.7)

  11. Step 950

    950 (this color)

    #181D4F

    oklch(26% 0.091 273.9)

Export this scale for Tailwind in the Tailwind colors tool

#181D4F 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)#0025510.031
Deuteranopia (no green cones)#00204E0.027
Tritanopia (no blue cones)#0029320.077
Achromatopsia (no color)#2222220.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #181D4F

    #181D4F

    oklch(26% 0.091 273.9)

  • #2D2300

    #2D2300

    oklch(26% 0.053 92.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #181D4F

    #181D4F

    oklch(26% 0.091 273.9)

  • #002640

    #002640

    oklch(25.9% 0.064 244)

  • #2E1547

    #2E1547

    oklch(26.1% 0.091 303.7)

Open the analogous palette in the generator

Split complementary

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

  • #181D4F

    #181D4F

    oklch(26% 0.091 273.9)

  • #371D00

    #371D00

    oklch(26% 0.058 64.9)

  • #1E2900

    #1E2900

    oklch(26.1% 0.065 123.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #181D4F

    #181D4F

    oklch(26% 0.091 273.9)

  • #460B01

    #460B01

    oklch(25.9% 0.091 34)

  • #002D14

    #002D14

    oklch(26.1% 0.066 153.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #181D4F

    #181D4F

    oklch(26% 0.091 273.9)

  • #45081F

    #45081F

    oklch(26.1% 0.092 4)

  • #2D2300

    #2D2300

    oklch(26% 0.053 92.9)

  • #002B27

    #002B27

    oklch(26% 0.046 185.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #181D4F 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.