#162F3D

Closest named color: Gunmetal (#293241). oklch(29.2% 0.04 235), rgb(22, 47, 61).

Aa

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

About this color

#162F3D is a dark, muted blue. In OKLCH its lightness is 29%, its chroma 0.040 and its hue 235°. Its hue sits on the cool side of the wheel. The nearest named color is Gunmetal (#293241), ΔE 0.030 away. White text reads best on it, at 13.92:1.

Hue familyBlues
Lightnessdark (29%)
Chromamuted (0.040)
Temperaturecool
Nearest nameGunmetal (#293241)
Black text1.50:1
White text13.92:1

Values

HEX#162F3D
RGBrgb(22, 47, 61)
HSLhsl(202, 47%, 16%)
OKLCHoklch(29.2% 0.04 235)

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 #162F3D 13.92:1 AAA Lc -103.5 Preferred for body text
Black text on #162F3D 1.50:1 Fails Lc 0.0 Not readable
#162F3D text on white 13.92:1 AAA Lc 100.5 Preferred for body text
#162F3D text on black 1.50: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

    #F2F6F9

    oklch(97.1% 0.006 239.8)

  2. Step 100

    100

    #E1ECF2

    oklch(93.7% 0.014 231.2)

  3. Step 200

    200

    #C9DCE8

    oklch(88.4% 0.026 235.4)

  4. Step 300

    300

    #A4C6DB

    oklch(80.9% 0.047 235.3)

  5. Step 400

    400

    #70A9CA

    oklch(70.8% 0.077 234.8)

  6. Step 500

    500

    #4793BC

    oklch(63.2% 0.097 234.8)

  7. Step 600

    600

    #227CA8

    oklch(55.5% 0.106 235.2)

  8. Step 700

    700

    #116990

    oklch(49.2% 0.098 234.4)

  9. Step 800

    800

    #145575

    oklch(42.6% 0.082 235.5)

  10. Step 900

    900

    #19475E

    oklch(37.8% 0.063 233.8)

  11. Step 950

    950 (this color)

    #162F3D

    oklch(29.2% 0.04 235)

Export this scale for Tailwind in the Tailwind colors tool

#162F3D 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)#282F3E0.025
Deuteranopia (no green cones)#232A3D0.023
Tritanopia (no blue cones)#0033340.031
Achromatopsia (no color)#2C2C2C0.040

Harmonies

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

Complementary

The opposite hue (180°).

  • #162F3D

    #162F3D

    oklch(29.2% 0.04 235)

  • #3B2618

    #3B2618

    oklch(29.1% 0.04 54.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #162F3D

    #162F3D

    oklch(29.2% 0.04 235)

  • #0E3235

    #0E3235

    oklch(29.3% 0.041 202.9)

  • #222B40

    #222B40

    oklch(29.1% 0.041 266.1)

Open the analogous palette in the generator

Split complementary

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

  • #162F3D

    #162F3D

    oklch(29.2% 0.04 235)

  • #3E2422

    #3E2422

    oklch(29.3% 0.04 24.6)

  • #352A13

    #352A13

    oklch(29.1% 0.04 84.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #162F3D

    #162F3D

    oklch(29.2% 0.04 235)

  • #3C232D

    #3C232D

    oklch(29.2% 0.041 354.4)

  • #2B2E16

    #2B2E16

    oklch(29.1% 0.04 114.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #162F3D

    #162F3D

    oklch(29.2% 0.04 235)

  • #362537

    #362537

    oklch(29.2% 0.04 324.7)

  • #3B2618

    #3B2618

    oklch(29.1% 0.04 54.2)

  • #1F311F

    #1F311F

    oklch(29.2% 0.04 144.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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