#181340

Closest named color: Navy Blue (#001146). oklch(22.5% 0.082 282.6), rgb(24, 19, 64).

Aa

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

About this color

#181340 is a very dark, moderately saturated purple. In OKLCH its lightness is 22%, its chroma 0.082 and its hue 283°. Its hue sits on the cool side of the wheel. The nearest named color is Navy Blue (#001146), ΔE 0.040 away. White text reads best on it, at 17.41:1.

Hue familyPurples
Lightnessvery dark (22%)
Chromamoderately saturated (0.082)
Temperaturecool
Nearest nameNavy Blue (#001146)
Black text1.20:1
White text17.41:1

Values

HEX#181340
RGBrgb(24, 19, 64)
HSLhsl(247, 54%, 16%)
OKLCHoklch(22.5% 0.082 282.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 #181340 17.41:1 AAA Lc -106.4 Preferred for body text
Black text on #181340 1.20:1 Fails Lc 0.0 Not readable
#181340 text on white 17.41:1 AAA Lc 104.0 Preferred for body text
#181340 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

    #F4F5FE

    oklch(97.2% 0.012 281.1)

  2. Step 100

    100

    #E6E8FD

    oklch(93.6% 0.028 281.5)

  3. Step 200

    200

    #D3D5FD

    oklch(88.4% 0.055 283)

  4. Step 300

    300

    #B7B9FE

    oklch(80.9% 0.097 282.7)

  5. Step 400

    400

    #9491FE

    oklch(70.7% 0.157 282.9)

  6. Step 500

    500

    #7C72FC

    oklch(63.2% 0.199 282.4)

  7. Step 600

    600

    #6855EB

    oklch(55.7% 0.216 282.5)

  8. Step 700

    700

    #5744CC

    oklch(49.1% 0.2 282.5)

  9. Step 800

    800

    #4739A5

    oklch(42.7% 0.166 282.7)

  10. Step 900

    900

    #3B3383

    oklch(37.8% 0.13 282.8)

  11. Step 950

    950 (this color)

    #181340

    oklch(22.5% 0.082 282.6)

Export this scale for Tailwind in the Tailwind colors tool

#181340 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)#001B410.037
Deuteranopia (no green cones)#00183F0.035
Tritanopia (no blue cones)#061E270.070
Achromatopsia (no color)#1A1A1A0.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #181340

    #181340

    oklch(22.5% 0.082 282.6)

  • #201C00

    #201C00

    oklch(22.4% 0.047 102)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #181340

    #181340

    oklch(22.5% 0.082 282.6)

  • #001C3A

    #001C3A

    oklch(22.5% 0.068 252.1)

  • #280C36

    #280C36

    oklch(22.4% 0.081 312.3)

Open the analogous palette in the generator

Split complementary

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

  • #181340

    #181340

    oklch(22.5% 0.082 282.6)

  • #291700

    #291700

    oklch(22.4% 0.048 71.7)

  • #0F2100

    #0F2100

    oklch(22.3% 0.063 132.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #181340

    #181340

    oklch(22.5% 0.082 282.6)

  • #340E00

    #340E00

    oklch(22.5% 0.067 42.9)

  • #002315

    #002315

    oklch(22.6% 0.049 162.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #181340

    #181340

    oklch(22.5% 0.082 282.6)

  • #390411

    #390411

    oklch(22.6% 0.082 12.6)

  • #201C00

    #201C00

    oklch(22.4% 0.047 102)

  • #002120

    #002120

    oklch(22.4% 0.038 191.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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