#162D4F

Closest named color: Prussian Blue (#1D3557). oklch(29.8% 0.069 258.1), rgb(22, 45, 79).

Aa

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

About this color

#162D4F is a dark, muted blue. In OKLCH its lightness is 30%, its chroma 0.069 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.030 away. White text reads best on it, at 13.79:1.

Hue familyBlues
Lightnessdark (30%)
Chromamuted (0.069)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.52:1
White text13.79:1

Values

HEX#162D4F
RGBrgb(22, 45, 79)
HSLhsl(216, 56%, 20%)
OKLCHoklch(29.8% 0.069 258.1)

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 #162D4F 13.79:1 AAA Lc -103.3 Preferred for body text
Black text on #162D4F 1.52:1 Fails Lc 0.0 Not readable
#162D4F text on white 13.79:1 AAA Lc 100.2 Preferred for body text
#162D4F text on black 1.52: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

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E0EBFA

    oklch(93.6% 0.024 256.1)

  3. Step 200

    200

    #C7DBF8

    oklch(88.6% 0.046 257.6)

  4. Step 300

    300

    #A0C3F5

    oklch(80.9% 0.081 257.3)

  5. Step 400

    400

    #6CA1F1

    oklch(70.6% 0.131 258.4)

  6. Step 500

    500

    #4388EC

    oklch(63.2% 0.166 257.9)

  7. Step 600

    600

    #216FDA

    oklch(55.6% 0.18 257.9)

  8. Step 700

    700

    #135CBD

    oklch(49.1% 0.167 258)

  9. Step 800

    800

    #144C99

    oklch(42.8% 0.138 258)

  10. Step 900

    900

    #18407A

    oklch(37.7% 0.109 258.1)

  11. Step 950

    950 (this color)

    #162D4F

    oklch(29.8% 0.069 258.1)

Export this scale for Tailwind in the Tailwind colors tool

#162D4F 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)#1E30500.015
Deuteranopia (no green cones)#152A4E0.010
Tritanopia (no blue cones)#00353A0.056
Achromatopsia (no color)#2D2D2D0.069

Harmonies

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

Complementary

The opposite hue (180°).

  • #162D4F

    #162D4F

    oklch(29.8% 0.069 258.1)

  • #3E2900

    #3E2900

    oklch(29.9% 0.062 78.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #162D4F

    #162D4F

    oklch(29.8% 0.069 258.1)

  • #003244

    #003244

    oklch(29.7% 0.058 228.9)

  • #2C274D

    #2C274D

    oklch(29.8% 0.067 287.6)

Open the analogous palette in the generator

Split complementary

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

  • #162D4F

    #162D4F

    oklch(29.8% 0.069 258.1)

  • #48210A

    #48210A

    oklch(29.8% 0.068 48.1)

  • #312F00

    #312F00

    oklch(29.8% 0.064 107.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #162D4F

    #162D4F

    oklch(29.8% 0.069 258.1)

  • #4A1D20

    #4A1D20

    oklch(29.8% 0.069 18.1)

  • #1A3511

    #1A3511

    oklch(29.8% 0.068 138.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #162D4F

    #162D4F

    oklch(29.8% 0.069 258.1)

  • #451D33

    #451D33

    oklch(29.7% 0.069 347.9)

  • #3E2900

    #3E2900

    oklch(29.9% 0.062 78.8)

  • #003727

    #003727

    oklch(29.9% 0.061 167.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #162D4F 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.