#162F4C

Closest named color: Prussian Blue (#1D3557). oklch(30.1% 0.061 253.5), rgb(22, 47, 76).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (30%)
Chromamuted (0.061)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.54:1
White text13.59:1

Values

HEX#162F4C
RGBrgb(22, 47, 76)
HSLhsl(212, 55%, 19%)
OKLCHoklch(30.1% 0.061 253.5)

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 #162F4C 13.59:1 AAA Lc -103.1 Preferred for body text
Black text on #162F4C 1.54:1 Fails Lc 0.0 Not readable
#162F4C text on white 13.59:1 AAA Lc 99.9 Preferred for body text
#162F4C text on black 1.54: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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E0EBF8

    oklch(93.6% 0.021 252.5)

  3. Step 200

    200

    #C7DBF4

    oklch(88.4% 0.041 254)

  4. Step 300

    300

    #A0C4EF

    oklch(80.9% 0.072 253.1)

  5. Step 400

    400

    #6BA4E7

    oklch(70.7% 0.116 253.3)

  6. Step 500

    500

    #408BE0

    oklch(63% 0.148 253.6)

  7. Step 600

    600

    #1973CE

    oklch(55.5% 0.162 253.6)

  8. Step 700

    700

    #0760B3

    oklch(49.1% 0.151 253.7)

  9. Step 800

    800

    #0E4F90

    oklch(42.7% 0.124 253.4)

  10. Step 900

    900

    #154273

    oklch(37.6% 0.097 253.4)

  11. Step 950

    950 (this color)

    #162F4C

    oklch(30.1% 0.061 253.5)

Export this scale for Tailwind in the Tailwind colors tool

#162F4C 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)#22314D0.017
Deuteranopia (no green cones)#1B2C4B0.010
Tritanopia (no blue cones)#00363A0.049
Achromatopsia (no color)#2E2E2E0.061

Harmonies

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

Complementary

The opposite hue (180°).

  • #162F4C

    #162F4C

    oklch(30.1% 0.061 253.5)

  • #402803

    #402803

    oklch(30% 0.061 72.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #162F4C

    #162F4C

    oklch(30.1% 0.061 253.5)

  • #003443

    #003443

    oklch(30.2% 0.056 223.6)

  • #2A294C

    #2A294C

    oklch(30% 0.062 283.3)

Open the analogous palette in the generator

Split complementary

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

  • #162F4C

    #162F4C

    oklch(30.1% 0.061 253.5)

  • #472313

    #472313

    oklch(30.2% 0.061 43.8)

  • #342F02

    #342F02

    oklch(30.1% 0.061 102.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #162F4C

    #162F4C

    oklch(30.1% 0.061 253.5)

  • #482025

    #482025

    oklch(30.2% 0.061 13.6)

  • #213412

    #213412

    oklch(29.9% 0.061 133.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #162F4C

    #162F4C

    oklch(30.1% 0.061 253.5)

  • #432036

    #432036

    oklch(30% 0.063 343.1)

  • #402803

    #402803

    oklch(30% 0.061 72.7)

  • #043725

    #043725

    oklch(29.9% 0.061 163.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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