#162954

Closest named color: Marine (#042E60). oklch(29.1% 0.082 264.1), rgb(22, 41, 84).

Aa

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

About this color

#162954 is a dark, moderately saturated blue. In OKLCH its lightness is 29%, its chroma 0.082 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Marine (#042E60), ΔE 0.026 away. White text reads best on it, at 14.19:1.

Hue familyBlues
Lightnessdark (29%)
Chromamoderately saturated (0.082)
Temperaturecool
Nearest nameMarine (#042E60)
Black text1.47:1
White text14.19:1

Values

HEX#162954
RGBrgb(22, 41, 84)
HSLhsl(222, 58%, 21%)
OKLCHoklch(29.1% 0.082 264.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 #162954 14.19:1 AAA Lc -103.7 Preferred for body text
Black text on #162954 1.47:1 Fails Lc 0.0 Not readable
#162954 text on white 14.19:1 AAA Lc 100.7 Preferred for body text
#162954 text on black 1.47: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

    #F1F6FF

    oklch(97.2% 0.013 262.4)

  2. Step 100

    100

    #E0EAFD

    oklch(93.5% 0.028 263.4)

  3. Step 200

    200

    #C7DAFE

    oklch(88.6% 0.054 263.2)

  4. Step 300

    300

    #A1C0FF

    oklch(80.8% 0.096 264.1)

  5. Step 400

    400

    #6F9DFF

    oklch(70.7% 0.152 263.9)

  6. Step 500

    500

    #4A80FF

    oklch(63.1% 0.198 264.2)

  7. Step 600

    600

    #2E65EF

    oklch(55.6% 0.216 264.1)

  8. Step 700

    700

    #2253D0

    oklch(49.2% 0.2 264)

  9. Step 800

    800

    #1D45A8

    oklch(42.8% 0.166 264)

  10. Step 900

    900

    #1C3B85

    oklch(37.6% 0.13 264)

  11. Step 950

    950 (this color)

    #162954

    oklch(29.1% 0.082 264.1)

Export this scale for Tailwind in the Tailwind colors tool

#162954 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)#132E560.015
Deuteranopia (no green cones)#0628530.016
Tritanopia (no blue cones)#00333A0.067
Achromatopsia (no color)#2B2B2B0.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #162954

    #162954

    oklch(29.1% 0.082 264.1)

  • #3A2900

    #3A2900

    oklch(29.3% 0.06 84.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #162954

    #162954

    oklch(29.1% 0.082 264.1)

  • #003045

    #003045

    oklch(29.1% 0.061 233.8)

  • #2F2150

    #2F2150

    oklch(29.1% 0.083 294.4)

Open the analogous palette in the generator

Split complementary

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

  • #162954

    #162954

    oklch(29.1% 0.082 264.1)

  • #461F00

    #461F00

    oklch(29% 0.073 53.9)

  • #2B2F00

    #2B2F00

    oklch(29.1% 0.066 114.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #162954

    #162954

    oklch(29.1% 0.082 264.1)

  • #4D1716

    #4D1716

    oklch(29.2% 0.082 24.7)

  • #0A360D

    #0A360D

    oklch(29.3% 0.083 144)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #162954

    #162954

    oklch(29.1% 0.082 264.1)

  • #49162E

    #49162E

    oklch(29.1% 0.083 354.3)

  • #3A2900

    #3A2900

    oklch(29.3% 0.06 84.3)

  • #00342A

    #00342A

    oklch(29% 0.055 175.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #162954 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.