#161F41

Closest named color: Oxford Blue (#1B263B). oklch(25.1% 0.065 270), rgb(22, 31, 65).

Aa

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

About this color

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

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

Values

HEX#161F41
RGBrgb(22, 31, 65)
HSLhsl(227, 49%, 17%)
OKLCHoklch(25.1% 0.065 270)

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 #161F41 16.07:1 AAA Lc -105.5 Preferred for body text
Black text on #161F41 1.30:1 Fails Lc 0.0 Not readable
#161F41 text on white 16.07:1 AAA Lc 102.9 Preferred for body text
#161F41 text on black 1.30: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

    #E4EAF9

    oklch(93.7% 0.021 268.4)

  3. Step 200

    200

    #CED8F6

    oklch(88.4% 0.043 270.9)

  4. Step 300

    300

    #ADBFF4

    oklch(81% 0.078 270)

  5. Step 400

    400

    #839CEE

    oklch(70.8% 0.124 270.1)

  6. Step 500

    500

    #6581E8

    oklch(63.1% 0.158 270)

  7. Step 600

    600

    #4E68D6

    oklch(55.6% 0.171 270)

  8. Step 700

    700

    #3F56BA

    oklch(49.2% 0.159 269.9)

  9. Step 800

    800

    #344796

    oklch(42.8% 0.131 269.9)

  10. Step 900

    900

    #2D3C78

    oklch(37.7% 0.104 270.2)

  11. Step 950

    950 (this color)

    #161F41

    oklch(25.1% 0.065 270)

Export this scale for Tailwind in the Tailwind colors tool

#161F41 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)#0F23420.014
Deuteranopia (no green cones)#091F400.016
Tritanopia (no blue cones)#00272C0.059
Achromatopsia (no color)#2121210.065

Harmonies

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

Complementary

The opposite hue (180°).

  • #161F41

    #161F41

    oklch(25.1% 0.065 270)

  • #2C2000

    #2C2000

    oklch(25.1% 0.051 88.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #161F41

    #161F41

    oklch(25.1% 0.065 270)

  • #00253B

    #00253B

    oklch(25.2% 0.058 240.3)

  • #27193C

    #27193C

    oklch(25.1% 0.065 300.2)

Open the analogous palette in the generator

Split complementary

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

  • #161F41

    #161F41

    oklch(25.1% 0.065 270)

  • #361A00

    #361A00

    oklch(25.2% 0.059 60.3)

  • #1E2600

    #1E2600

    oklch(25.2% 0.06 120.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #161F41

    #161F41

    oklch(25.1% 0.065 270)

  • #3C130E

    #3C130E

    oklch(25.2% 0.066 29.5)

  • #032A10

    #032A10

    oklch(25.1% 0.064 150.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #161F41

    #161F41

    oklch(25.1% 0.065 270)

  • #3A1221

    #3A1221

    oklch(25.2% 0.066 359.6)

  • #2C2000

    #2C2000

    oklch(25.1% 0.051 88.2)

  • #002923

    #002923

    oklch(25.2% 0.046 180.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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