#164D9C

Closest named color: Cobalt (#1E488F). oklch(43.3% 0.141 258.5), rgb(22, 77, 156).

Aa

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

About this color

#164D9C is a dark, vivid blue. In OKLCH its lightness is 43%, its chroma 0.141 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.024 away. White text reads best on it, at 8.15:1.

Hue familyBlues
Lightnessdark (43%)
Chromavivid (0.141)
Temperaturecool
Nearest nameCobalt (#1E488F)
Black text2.57:1
White text8.15:1

Values

HEX#164D9C
RGBrgb(22, 77, 156)
HSLhsl(215, 75%, 35%)
OKLCHoklch(43.3% 0.141 258.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 #164D9C 8.15:1 AAA Lc -92.4 Preferred for body text
Black text on #164D9C 2.57:1 Fails Lc 16.3 Dividers and decoration only
#164D9C text on white 8.15:1 AAA Lc 87.7 Fine for body text
#164D9C text on black 2.57:1 Fails Lc -14.5 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 800.

  1. Step 50

    50

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E0EBFA

    oklch(93.6% 0.024 256.1)

  3. Step 200

    200

    #C7DBF8

    oklch(88.6% 0.046 257.6)

  4. Step 300

    300

    #A0C2F6

    oklch(80.8% 0.083 258.7)

  5. Step 400

    400

    #6CA1F2

    oklch(70.7% 0.132 258.6)

  6. Step 500

    500

    #4387ED

    oklch(63% 0.168 258.5)

  7. Step 600

    600

    #226EDC

    oklch(55.6% 0.184 258.6)

  8. Step 700

    700

    #145BBF

    oklch(49.1% 0.171 258.7)

  9. Step 800

    800 (this color)

    #164D9C

    oklch(43.3% 0.141 258.5)

  10. Step 900

    900

    #18407B

    oklch(37.8% 0.11 258.4)

  11. Step 950

    950

    #0F2648

    oklch(27.1% 0.07 258.2)

Export this scale for Tailwind in the Tailwind colors tool

#164D9C 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)#1B569F0.026
Deuteranopia (no green cones)#004A9A0.014
Tritanopia (no blue cones)#00606D0.107
Achromatopsia (no color)#4F4F4F0.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #164D9C

    #164D9C

    oklch(43.3% 0.141 258.5)

  • #6B4900

    #6B4900

    oklch(43.2% 0.09 78.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #164D9C

    #164D9C

    oklch(43.3% 0.141 258.5)

  • #005975

    #005975

    oklch(43.3% 0.085 228)

  • #503E98

    #503E98

    oklch(43.3% 0.141 288.3)

Open the analogous palette in the generator

Split complementary

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

  • #164D9C

    #164D9C

    oklch(43.3% 0.141 258.5)

  • #823800

    #823800

    oklch(43.4% 0.117 48.5)

  • #565400

    #565400

    oklch(43.4% 0.094 108.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #164D9C

    #164D9C

    oklch(43.3% 0.141 258.5)

  • #8E2331

    #8E2331

    oklch(43.3% 0.142 18.4)

  • #226100

    #226100

    oklch(43.4% 0.135 138.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #164D9C

    #164D9C

    oklch(43.3% 0.141 258.5)

  • #84265D

    #84265D

    oklch(43.2% 0.14 348.5)

  • #6B4900

    #6B4900

    oklch(43.2% 0.09 78.2)

  • #005F48

    #005F48

    oklch(43.2% 0.086 169.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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