#181F46

Closest named color: Oxford Blue (#1B263B). oklch(25.7% 0.073 272.6), rgb(24, 31, 70).

Aa

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

About this color

#181F46 is a dark, moderately saturated blue. In OKLCH its lightness is 26%, its chroma 0.073 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.034 away. White text reads best on it, at 15.86:1.

Hue familyBlues
Lightnessdark (26%)
Chromamoderately saturated (0.073)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.32:1
White text15.86:1

Values

HEX#181F46
RGBrgb(24, 31, 70)
HSLhsl(231, 49%, 18%)
OKLCHoklch(25.7% 0.073 272.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 #181F46 15.86:1 AAA Lc -105.3 Preferred for body text
Black text on #181F46 1.32:1 Fails Lc 0.0 Not readable
#181F46 text on white 15.86:1 AAA Lc 102.7 Preferred for body text
#181F46 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

    #F3F5FE

    oklch(97.1% 0.012 276.1)

  2. Step 100

    100

    #E4E9FB

    oklch(93.6% 0.025 273.5)

  3. Step 200

    200

    #CED8FA

    oklch(88.5% 0.048 272.4)

  4. Step 300

    300

    #ADBEF9

    oklch(81% 0.086 271.9)

  5. Step 400

    400

    #8499F6

    oklch(70.6% 0.138 272.8)

  6. Step 500

    500

    #677DF3

    oklch(63.1% 0.177 272.4)

  7. Step 600

    600

    #5162E1

    oklch(55.5% 0.192 272.7)

  8. Step 700

    700

    #4251C4

    oklch(49.2% 0.179 272.4)

  9. Step 800

    800

    #36439E

    oklch(42.7% 0.147 272.4)

  10. Step 900

    900

    #2E3A7E

    oklch(37.8% 0.115 272.2)

  11. Step 950

    950 (this color)

    #181F46

    oklch(25.7% 0.073 272.6)

Export this scale for Tailwind in the Tailwind colors tool

#181F46 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)#0B24470.020
Deuteranopia (no green cones)#0420450.023
Tritanopia (no blue cones)#00282F0.064
Achromatopsia (no color)#2222220.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #181F46

    #181F46

    oklch(25.7% 0.073 272.6)

  • #2C2200

    #2C2200

    oklch(25.6% 0.052 92.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #181F46

    #181F46

    oklch(25.7% 0.073 272.6)

  • #00263E

    #00263E

    oklch(25.7% 0.061 242)

  • #2A1940

    #2A1940

    oklch(25.7% 0.072 301.7)

Open the analogous palette in the generator

Split complementary

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

  • #181F46

    #181F46

    oklch(25.7% 0.073 272.6)

  • #371C00

    #371C00

    oklch(25.8% 0.059 63)

  • #1E2800

    #1E2800

    oklch(25.8% 0.063 122.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #181F46

    #181F46

    oklch(25.7% 0.073 272.6)

  • #40120A

    #40120A

    oklch(25.7% 0.074 32.1)

  • #002C12

    #002C12

    oklch(25.7% 0.067 152.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #181F46

    #181F46

    oklch(25.7% 0.073 272.6)

  • #3E1020

    #3E1020

    oklch(25.6% 0.074 2.4)

  • #2C2200

    #2C2200

    oklch(25.6% 0.052 92.5)

  • #002A25

    #002A25

    oklch(25.6% 0.046 182.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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