#162F54

Closest named color: Prussian Blue (#1D3557). oklch(30.6% 0.074 258.2), rgb(22, 47, 84).

Aa

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

About this color

#162F54 is a dark, moderately saturated blue. In OKLCH its lightness is 31%, its chroma 0.074 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.022 away. White text reads best on it, at 13.38:1.

Hue familyBlues
Lightnessdark (31%)
Chromamoderately saturated (0.074)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.56:1
White text13.38:1

Values

HEX#162F54
RGBrgb(22, 47, 84)
HSLhsl(216, 58%, 21%)
OKLCHoklch(30.6% 0.074 258.2)

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 #162F54 13.38:1 AAA Lc -102.8 Preferred for body text
Black text on #162F54 1.56:1 Fails Lc 0.0 Not readable
#162F54 text on white 13.38:1 AAA Lc 99.6 Preferred for body text
#162F54 text on black 1.56: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

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E0EBFB

    oklch(93.7% 0.025 257.6)

  3. Step 200

    200

    #C6DBFA

    oklch(88.6% 0.048 258)

  4. Step 300

    300

    #9EC3F9

    oklch(81% 0.087 257.7)

  5. Step 400

    400

    #68A1F7

    oklch(70.7% 0.14 258.4)

  6. Step 500

    500

    #3C87F3

    oklch(63.2% 0.178 258)

  7. Step 600

    600

    #156DE2

    oklch(55.6% 0.195 258.2)

  8. Step 700

    700

    #035AC4

    oklch(49% 0.181 258.2)

  9. Step 800

    800

    #0B4A9F

    oklch(42.6% 0.151 258.4)

  10. Step 900

    900

    #133F7E

    oklch(37.6% 0.117 258.2)

  11. Step 950

    950 (this color)

    #162F54

    oklch(30.6% 0.074 258.2)

Export this scale for Tailwind in the Tailwind colors tool

#162F54 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)#1E32550.014
Deuteranopia (no green cones)#142C530.010
Tritanopia (no blue cones)#00383D0.060
Achromatopsia (no color)#2F2F2F0.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #162F54

    #162F54

    oklch(30.6% 0.074 258.2)

  • #412B00

    #412B00

    oklch(30.8% 0.064 78.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #162F54

    #162F54

    oklch(30.6% 0.074 258.2)

  • #003547

    #003547

    oklch(30.7% 0.06 227.7)

  • #2E2852

    #2E2852

    oklch(30.6% 0.074 287.8)

Open the analogous palette in the generator

Split complementary

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

  • #162F54

    #162F54

    oklch(30.6% 0.074 258.2)

  • #4C2208

    #4C2208

    oklch(30.7% 0.073 48.5)

  • #333200

    #333200

    oklch(30.8% 0.067 108.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #162F54

    #162F54

    oklch(30.6% 0.074 258.2)

  • #4E1D21

    #4E1D21

    oklch(30.6% 0.074 17.6)

  • #1B3810

    #1B3810

    oklch(30.7% 0.074 138.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #162F54

    #162F54

    oklch(30.6% 0.074 258.2)

  • #491E36

    #491E36

    oklch(30.6% 0.073 347.7)

  • #412B00

    #412B00

    oklch(30.8% 0.064 78.5)

  • #003929

    #003929

    oklch(30.6% 0.062 167.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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