#181F41

Closest named color: Oxford Blue (#1B263B). oklch(25.3% 0.065 272.3), rgb(24, 31, 65).

Aa

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

About this color

#181F41 is a dark, muted blue. In OKLCH its lightness is 25%, its chroma 0.065 and its hue 272°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.029 away. White text reads best on it, at 16.01:1.

Hue familyBlues
Lightnessdark (25%)
Chromamuted (0.065)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.31:1
White text16.01:1

Values

HEX#181F41
RGBrgb(24, 31, 65)
HSLhsl(230, 46%, 17%)
OKLCHoklch(25.3% 0.065 272.3)

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 #181F41 16.01:1 AAA Lc -105.4 Preferred for body text
Black text on #181F41 1.31:1 Fails Lc 0.0 Not readable
#181F41 text on white 16.01:1 AAA Lc 102.9 Preferred for body text
#181F41 text on black 1.31: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

    #E4E9F9

    oklch(93.5% 0.022 272.1)

  3. Step 200

    200

    #CFD8F6

    oklch(88.5% 0.042 272.3)

  4. Step 300

    300

    #AFBEF3

    oklch(80.9% 0.077 272.3)

  5. Step 400

    400

    #869BED

    oklch(70.7% 0.123 272)

  6. Step 500

    500

    #6A80E7

    oklch(63.2% 0.156 272.2)

  7. Step 600

    600

    #5367D5

    oklch(55.7% 0.169 272)

  8. Step 700

    700

    #4455B9

    oklch(49.2% 0.158 272)

  9. Step 800

    800

    #384695

    oklch(42.7% 0.13 272.2)

  10. Step 900

    900

    #303B77

    oklch(37.6% 0.103 272.7)

  11. Step 950

    950 (this color)

    #181F41

    oklch(25.3% 0.065 272.3)

Export this scale for Tailwind in the Tailwind colors tool

#181F41 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)#1023420.015
Deuteranopia (no green cones)#0A20400.018
Tritanopia (no blue cones)#03272C0.059
Achromatopsia (no color)#2121210.065

Harmonies

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

Complementary

The opposite hue (180°).

  • #181F41

    #181F41

    oklch(25.3% 0.065 272.3)

  • #2B2100

    #2B2100

    oklch(25.2% 0.052 92.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #181F41

    #181F41

    oklch(25.3% 0.065 272.3)

  • #00253D

    #00253D

    oklch(25.4% 0.061 242.5)

  • #28193C

    #28193C

    oklch(25.2% 0.066 301.7)

Open the analogous palette in the generator

Split complementary

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

  • #181F41

    #181F41

    oklch(25.3% 0.065 272.3)

  • #361B00

    #361B00

    oklch(25.4% 0.058 62.2)

  • #1D2700

    #1D2700

    oklch(25.4% 0.062 123)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #181F41

    #181F41

    oklch(25.3% 0.065 272.3)

  • #3C140D

    #3C140D

    oklch(25.3% 0.065 31.9)

  • #012B12

    #012B12

    oklch(25.4% 0.065 152.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #181F41

    #181F41

    oklch(25.3% 0.065 272.3)

  • #3A1320

    #3A1320

    oklch(25.3% 0.064 1.9)

  • #2B2100

    #2B2100

    oklch(25.2% 0.052 92.1)

  • #002924

    #002924

    oklch(25.2% 0.045 182.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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