#162A6B

Closest named color: Marine (#042E60). oklch(31.3% 0.116 266.5), rgb(22, 42, 107).

Aa

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

About this color

#162A6B is a dark, moderately saturated blue. In OKLCH its lightness is 31%, its chroma 0.116 and its hue 267°. Its hue sits on the cool side of the wheel. The nearest named color is Marine (#042E60), ΔE 0.027 away. White text reads best on it, at 13.31:1.

Hue familyBlues
Lightnessdark (31%)
Chromamoderately saturated (0.116)
Temperaturecool
Nearest nameMarine (#042E60)
Black text1.57:1
White text13.31:1

Values

HEX#162A6B
RGBrgb(22, 42, 107)
HSLhsl(226, 66%, 25%)
OKLCHoklch(31.3% 0.116 266.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 #162A6B 13.31:1 AAA Lc -102.5 Preferred for body text
Black text on #162A6B 1.57:1 Fails Lc 0.0 Not readable
#162A6B text on white 13.31:1 AAA Lc 99.3 Preferred for body text
#162A6B text on black 1.57: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

    #F1F5FF

    oklch(97% 0.014 268.5)

  2. Step 100

    100

    #E0EAFF

    oklch(93.6% 0.03 265.3)

  3. Step 200

    200

    #C8D9FF

    oklch(88.5% 0.056 266.2)

  4. Step 300

    300

    #A4BFFF

    oklch(80.8% 0.096 266.6)

  5. Step 400

    400

    #759BFF

    oklch(70.6% 0.153 266.8)

  6. Step 500

    500

    #527EFF

    oklch(63% 0.198 266.5)

  7. Step 600

    600

    #335DFF

    oklch(55.7% 0.244 266.6)

  8. Step 700

    700

    #1F35FE

    oklch(49.1% 0.285 266.5)

  9. Step 800

    800

    #1930CD

    oklch(42.8% 0.236 266.6)

  10. Step 900

    900

    #162FA1

    oklch(37.7% 0.184 266.5)

  11. Step 950

    950 (this color)

    #162A6B

    oklch(31.3% 0.116 266.5)

Export this scale for Tailwind in the Tailwind colors tool

#162A6B 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)#00336D0.026
Deuteranopia (no green cones)#002C6A0.017
Tritanopia (no blue cones)#003A460.091
Achromatopsia (no color)#2F2F2F0.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #162A6B

    #162A6B

    oklch(31.3% 0.116 266.5)

  • #3F2E00

    #3F2E00

    oklch(31.2% 0.064 86.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #162A6B

    #162A6B

    oklch(31.3% 0.116 266.5)

  • #00364F

    #00364F

    oklch(31.5% 0.068 236)

  • #391E64

    #391E64

    oklch(31.4% 0.117 296.8)

Open the analogous palette in the generator

Split complementary

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

  • #162A6B

    #162A6B

    oklch(31.3% 0.116 266.5)

  • #4D2500

    #4D2500

    oklch(31.3% 0.076 56.8)

  • #2F3500

    #2F3500

    oklch(31.2% 0.072 116.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #162A6B

    #162A6B

    oklch(31.3% 0.116 266.5)

  • #5F0A0C

    #5F0A0C

    oklch(31.3% 0.117 26.4)

  • #003D0F

    #003D0F

    oklch(31.3% 0.095 146.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #162A6B

    #162A6B

    oklch(31.3% 0.116 266.5)

  • #5A0A32

    #5A0A32

    oklch(31.2% 0.116 356.7)

  • #3F2E00

    #3F2E00

    oklch(31.2% 0.064 86.4)

  • #003B30

    #003B30

    oklch(31.5% 0.059 175.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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