#164781

Closest named color: Twilight Blue (#0A437A). oklch(39.9% 0.111 255.2), rgb(22, 71, 129).

Aa

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

About this color

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

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

Values

HEX#164781
RGBrgb(22, 71, 129)
HSLhsl(213, 71%, 30%)
OKLCHoklch(39.9% 0.111 255.2)

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 #164781 9.32:1 AAA Lc -95.5 Preferred for body text
Black text on #164781 2.25:1 Fails Lc 12.8 Not readable
#164781 text on white 9.32:1 AAA Lc 91.1 Preferred for body text
#164781 text on black 2.25:1 Fails Lc -11.2 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

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E0EBFA

    oklch(93.6% 0.024 256.1)

  3. Step 200

    200

    #C5DBF8

    oklch(88.4% 0.047 255.4)

  4. Step 300

    300

    #9DC4F6

    oklch(81% 0.083 254.9)

  5. Step 400

    400

    #65A3F2

    oklch(70.8% 0.133 255.2)

  6. Step 500

    500

    #3689ED

    oklch(63% 0.17 255.3)

  7. Step 600

    600

    #0070DB

    oklch(55.5% 0.184 255.3)

  8. Step 700

    700

    #005EBA

    oklch(49.1% 0.163 255.3)

  9. Step 800

    800

    #004D9A

    oklch(42.7% 0.142 255.2)

  10. Step 900

    900 (this color)

    #164781

    oklch(39.9% 0.111 255.2)

  11. Step 950

    950

    #0B2648

    oklch(26.9% 0.071 255.8)

Export this scale for Tailwind in the Tailwind colors tool

#164781 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)#294C830.024
Deuteranopia (no green cones)#1442800.015
Tritanopia (no blue cones)#00555D0.085
Achromatopsia (no color)#4747470.111

Harmonies

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

Complementary

The opposite hue (180°).

  • #164781

    #164781

    oklch(39.9% 0.111 255.2)

  • #614000

    #614000

    oklch(39.9% 0.084 75.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #164781

    #164781

    oklch(39.9% 0.111 255.2)

  • #004F66

    #004F66

    oklch(39.8% 0.076 225.6)

  • #433C7F

    #433C7F

    oklch(39.9% 0.109 285.1)

Open the analogous palette in the generator

Split complementary

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

  • #164781

    #164781

    oklch(39.9% 0.111 255.2)

  • #752F04

    #752F04

    oklch(39.8% 0.11 45.4)

  • #4E4900

    #4E4900

    oklch(39.8% 0.084 105.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #164781

    #164781

    oklch(39.9% 0.111 255.2)

  • #772833

    #772833

    oklch(39.8% 0.11 15.4)

  • #2A5408

    #2A5408

    oklch(40% 0.111 135.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #164781

    #164781

    oklch(39.9% 0.111 255.2)

  • #6F2A55

    #6F2A55

    oklch(39.9% 0.111 345)

  • #614000

    #614000

    oklch(39.9% 0.084 75.9)

  • #00553C

    #00553C

    oklch(39.8% 0.083 165.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #164781 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.