#181A40

Closest named color: Oxford Blue (#1B263B). oklch(24% 0.071 277.4), rgb(24, 26, 64).

Aa

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

About this color

#181A40 is a very dark, moderately saturated blue. In OKLCH its lightness is 24%, its chroma 0.071 and its hue 277°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.043 away. White text reads best on it, at 16.65:1.

Hue familyBlues
Lightnessvery dark (24%)
Chromamoderately saturated (0.071)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.26:1
White text16.65:1

Values

HEX#181A40
RGBrgb(24, 26, 64)
HSLhsl(237, 45%, 17%)
OKLCHoklch(24% 0.071 277.4)

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 #181A40 16.65:1 AAA Lc -105.9 Preferred for body text
Black text on #181A40 1.26:1 Fails Lc 0.0 Not readable
#181A40 text on white 16.65:1 AAA Lc 103.5 Preferred for body text
#181A40 text on black 1.26: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

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E5E9FB

    oklch(93.6% 0.025 275.9)

  3. Step 200

    200

    #D1D7F9

    oklch(88.5% 0.047 277.5)

  4. Step 300

    300

    #B3BCF7

    oklch(80.9% 0.084 277.6)

  5. Step 400

    400

    #8D97F3

    oklch(70.7% 0.134 277.7)

  6. Step 500

    500

    #727AEF

    oklch(63% 0.173 277.3)

  7. Step 600

    600

    #5D60DD

    oklch(55.6% 0.187 277.4)

  8. Step 700

    700

    #4D4EC0

    oklch(49% 0.174 277.4)

  9. Step 800

    800

    #3F419B

    oklch(42.7% 0.143 277.5)

  10. Step 900

    900

    #35387B

    oklch(37.6% 0.112 277.7)

  11. Step 950

    950 (this color)

    #181A40

    oklch(24% 0.071 277.4)

Export this scale for Tailwind in the Tailwind colors tool

#181A40 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)#0620410.027
Deuteranopia (no green cones)#021C3F0.028
Tritanopia (no blue cones)#05232A0.062
Achromatopsia (no color)#1E1E1E0.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #181A40

    #181A40

    oklch(24% 0.071 277.4)

  • #261F00

    #261F00

    oklch(24% 0.05 96.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #181A40

    #181A40

    oklch(24% 0.071 277.4)

  • #00213C

    #00213C

    oklch(24.1% 0.064 247.4)

  • #281439

    #281439

    oklch(24% 0.071 306.8)

Open the analogous palette in the generator

Split complementary

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

  • #181A40

    #181A40

    oklch(24% 0.071 277.4)

  • #301900

    #301900

    oklch(24% 0.054 65.7)

  • #172400

    #172400

    oklch(23.9% 0.062 127.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #181A40

    #181A40

    oklch(24% 0.071 277.4)

  • #3A0F04

    #3A0F04

    oklch(24% 0.071 36.4)

  • #002714

    #002714

    oklch(24% 0.057 157.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #181A40

    #181A40

    oklch(24% 0.071 277.4)

  • #390D19

    #390D19

    oklch(24% 0.07 7.6)

  • #261F00

    #261F00

    oklch(24% 0.05 96.9)

  • #002623

    #002623

    oklch(24.2% 0.042 187)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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