#181F35

Closest named color: Dark (#1B2431). oklch(24.4% 0.043 269.6), rgb(24, 31, 53).

Aa

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

About this color

#181F35 is a very dark, muted blue. In OKLCH its lightness is 24%, its chroma 0.043 and its hue 270°. Its hue sits on the cool side of the wheel. The nearest named color is Dark (#1B2431), ΔE 0.022 away. White text reads best on it, at 16.32:1.

Hue familyBlues
Lightnessvery dark (24%)
Chromamuted (0.043)
Temperaturecool
Nearest nameDark (#1B2431)
Black text1.28:1
White text16.32:1

Values

HEX#181F35
RGBrgb(24, 31, 53)
HSLhsl(226, 38%, 15%)
OKLCHoklch(24.4% 0.043 269.6)

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 #181F35 16.32:1 AAA Lc -105.7 Preferred for body text
Black text on #181F35 1.28:1 Fails Lc 0.0 Not readable
#181F35 text on white 16.32:1 AAA Lc 103.2 Preferred for body text
#181F35 text on black 1.28: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

    #F3F5FA

    oklch(97% 0.007 268.5)

  2. Step 100

    100

    #E6EAF4

    oklch(93.7% 0.014 268.5)

  3. Step 200

    200

    #D1D9ED

    oklch(88.5% 0.029 268.3)

  4. Step 300

    300

    #B3C0E3

    oklch(80.9% 0.052 269.2)

  5. Step 400

    400

    #8C9FD5

    oklch(70.8% 0.082 269.3)

  6. Step 500

    500

    #7086C9

    oklch(63.1% 0.105 269.4)

  7. Step 600

    600

    #596FB6

    oklch(55.7% 0.114 269.5)

  8. Step 700

    700

    #495C9D

    oklch(49.1% 0.107 269.8)

  9. Step 800

    800

    #3C4C7F

    oklch(42.8% 0.087 269.3)

  10. Step 900

    900

    #333F66

    oklch(37.6% 0.069 269.9)

  11. Step 950

    950 (this color)

    #181F35

    oklch(24.4% 0.043 269.6)

Export this scale for Tailwind in the Tailwind colors tool

#181F35 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)#1721360.007
Deuteranopia (no green cones)#141F350.006
Tritanopia (no blue cones)#0D24270.040
Achromatopsia (no color)#2020200.043

Harmonies

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

Complementary

The opposite hue (180°).

  • #181F35

    #181F35

    oklch(24.4% 0.043 269.6)

  • #281F05

    #281F05

    oklch(24.4% 0.043 90)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #181F35

    #181F35

    oklch(24.4% 0.043 269.6)

  • #092333

    #092333

    oklch(24.5% 0.044 239.2)

  • #231B32

    #231B32

    oklch(24.3% 0.044 299.1)

Open the analogous palette in the generator

Split complementary

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

  • #181F35

    #181F35

    oklch(24.4% 0.043 269.6)

  • #2F1B09

    #2F1B09

    oklch(24.4% 0.043 60.6)

  • #1E2309

    #1E2309

    oklch(24.4% 0.044 118.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #181F35

    #181F35

    oklch(24.4% 0.043 269.6)

  • #321814

    #321814

    oklch(24.5% 0.043 29.7)

  • #102615

    #102615

    oklch(24.5% 0.043 149.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #181F35

    #181F35

    oklch(24.4% 0.043 269.6)

  • #311720

    #311720

    oklch(24.5% 0.044 358.7)

  • #281F05

    #281F05

    oklch(24.4% 0.043 90)

  • #012721

    #012721

    oklch(24.5% 0.044 179.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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