#162F82

Closest named color: Marine Blue (#01386A). oklch(34.6% 0.143 266), rgb(22, 47, 130).

Aa

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

About this color

#162F82 is a dark, vivid blue. In OKLCH its lightness is 35%, its chroma 0.143 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Marine Blue (#01386A), ΔE 0.051 away. White text reads best on it, at 11.91:1.

Hue familyBlues
Lightnessdark (35%)
Chromavivid (0.143)
Temperaturecool
Nearest nameMarine Blue (#01386A)
Black text1.76:1
White text11.91:1

Values

HEX#162F82
RGBrgb(22, 47, 130)
HSLhsl(226, 71%, 30%)
OKLCHoklch(34.6% 0.143 266)

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 #162F82 11.91:1 AAA Lc -100.3 Preferred for body text
Black text on #162F82 1.76:1 Fails Lc 0.0 Not readable
#162F82 text on white 11.91:1 AAA Lc 96.7 Preferred for body text
#162F82 text on black 1.76: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 900.

  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

    #A4C0FF

    oklch(81% 0.095 265.8)

  5. Step 400

    400

    #749CFF

    oklch(70.8% 0.152 266)

  6. Step 500

    500

    #507FFF

    oklch(63.1% 0.197 265.8)

  7. Step 600

    600

    #315FFC

    oklch(55.7% 0.238 265.9)

  8. Step 700

    700

    #254CDB

    oklch(49% 0.222 266)

  9. Step 800

    800

    #1F40B1

    oklch(42.7% 0.183 265.9)

  10. Step 900

    900 (this color)

    #162F82

    oklch(34.6% 0.143 266)

  11. Step 950

    950

    #112252

    oklch(27% 0.091 265.8)

Export this scale for Tailwind in the Tailwind colors tool

#162F82 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)#003C850.034
Deuteranopia (no green cones)#0032800.015
Tritanopia (no blue cones)#0045530.113
Achromatopsia (no color)#3737370.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #162F82

    #162F82

    oklch(34.6% 0.143 266)

  • #4A3600

    #4A3600

    oklch(34.6% 0.071 85.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #162F82

    #162F82

    oklch(34.6% 0.143 266)

  • #003E5A

    #003E5A

    oklch(34.4% 0.074 236.1)

  • #431F79

    #431F79

    oklch(34.5% 0.143 296.3)

Open the analogous palette in the generator

Split complementary

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

  • #162F82

    #162F82

    oklch(34.6% 0.143 266)

  • #592B00

    #592B00

    oklch(34.4% 0.084 56)

  • #383E00

    #383E00

    oklch(34.6% 0.079 115.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #162F82

    #162F82

    oklch(34.6% 0.143 266)

  • #71000A

    #71000A

    oklch(34.5% 0.14 26)

  • #004711

    #004711

    oklch(34.6% 0.106 145.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #162F82

    #162F82

    oklch(34.6% 0.143 266)

  • #6C003C

    #6C003C

    oklch(34.6% 0.142 355.9)

  • #4A3600

    #4A3600

    oklch(34.6% 0.071 85.5)

  • #004438

    #004438

    oklch(34.5% 0.065 176)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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