#164A71

Closest named color: Twilight Blue (#0A437A). oklch(39.6% 0.085 245.4), rgb(22, 74, 113).

Aa

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

About this color

#164A71 is a dark, moderately saturated blue. In OKLCH its lightness is 40%, its chroma 0.085 and its hue 245°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.030 away. White text reads best on it, at 9.32:1.

Hue familyBlues
Lightnessdark (40%)
Chromamoderately saturated (0.085)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.25:1
White text9.32:1

Values

HEX#164A71
RGBrgb(22, 74, 113)
HSLhsl(206, 67%, 26%)
OKLCHoklch(39.6% 0.085 245.4)

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 #164A71 9.32:1 AAA Lc -95.6 Preferred for body text
Black text on #164A71 2.25:1 Fails Lc 12.7 Not readable
#164A71 text on white 9.32:1 AAA Lc 91.2 Preferred for body text
#164A71 text on black 2.25:1 Fails Lc -11.1 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

    #F1F6FB

    oklch(97.1% 0.009 247.9)

  2. Step 100

    100

    #E0EBF6

    oklch(93.5% 0.019 248)

  3. Step 200

    200

    #C7DCF0

    oklch(88.5% 0.036 246.9)

  4. Step 300

    300

    #9FC6E8

    oklch(81% 0.064 245)

  5. Step 400

    400

    #68A7DC

    oklch(70.7% 0.102 245.3)

  6. Step 500

    500

    #3890D3

    oklch(63.2% 0.131 245.2)

  7. Step 600

    600

    #0079C0

    oklch(55.7% 0.141 245.3)

  8. Step 700

    700

    #0065A2

    oklch(49% 0.125 245.5)

  9. Step 800

    800

    #005386

    oklch(42.8% 0.108 245.3)

  10. Step 900

    900 (this color)

    #164A71

    oklch(39.6% 0.085 245.4)

  11. Step 950

    950

    #0C293F

    oklch(27.1% 0.054 244.7)

Export this scale for Tailwind in the Tailwind colors tool

#164A71 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)#384B730.035
Deuteranopia (no green cones)#2B43700.026
Tritanopia (no blue cones)#0053580.059
Achromatopsia (no color)#4747470.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #164A71

    #164A71

    oklch(39.6% 0.085 245.4)

  • #653B05

    #653B05

    oklch(39.5% 0.085 65)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #164A71

    #164A71

    oklch(39.6% 0.085 245.4)

  • #00505E

    #00505E

    oklch(39.7% 0.07 214.6)

  • #3A4174

    #3A4174

    oklch(39.5% 0.086 275.8)

Open the analogous palette in the generator

Split complementary

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

  • #164A71

    #164A71

    oklch(39.6% 0.085 245.4)

  • #6D3425

    #6D3425

    oklch(39.7% 0.085 35.8)

  • #544500

    #544500

    oklch(39.4% 0.081 94.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #164A71

    #164A71

    oklch(39.6% 0.085 245.4)

  • #6B3140

    #6B3140

    oklch(39.5% 0.084 5.4)

  • #3C4E14

    #3C4E14

    oklch(39.5% 0.085 125.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #164A71

    #164A71

    oklch(39.6% 0.085 245.4)

  • #623358

    #623358

    oklch(39.5% 0.085 335.5)

  • #653B05

    #653B05

    oklch(39.5% 0.085 65)

  • #145432

    #145432

    oklch(39.7% 0.086 155.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #164A71 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.