#1D4173

Closest named color: Twilight Blue (#0A437A). oklch(37.7% 0.095 257.2), rgb(29, 65, 115).

Aa

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

About this color

#1D4173 is a dark, moderately saturated blue. In OKLCH its lightness is 38%, its chroma 0.095 and its hue 257°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.016 away. White text reads best on it, at 10.21:1.

Hue familyBlues
Lightnessdark (38%)
Chromamoderately saturated (0.095)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.05:1
White text10.21:1

Values

HEX#1D4173
RGBrgb(29, 65, 115)
HSLhsl(215, 60%, 28%)
OKLCHoklch(37.7% 0.095 257.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 #1D4173 10.21:1 AAA Lc -97.5 Preferred for body text
Black text on #1D4173 2.05:1 Fails Lc 10.5 Not readable
#1D4173 text on white 10.21:1 AAA Lc 93.4 Preferred for body text
#1D4173 text on black 2.05:1 Fails Lc -9.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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E1EBF8

    oklch(93.6% 0.021 254.9)

  3. Step 200

    200

    #C9DBF4

    oklch(88.6% 0.04 256.6)

  4. Step 300

    300

    #A4C3EF

    oklch(81% 0.071 257.1)

  5. Step 400

    400

    #72A2E7

    oklch(70.6% 0.114 257.4)

  6. Step 500

    500

    #4B89E0

    oklch(63% 0.147 257.2)

  7. Step 600

    600

    #2D71CE

    oklch(55.5% 0.159 257.3)

  8. Step 700

    700

    #1F5EB2

    oklch(49% 0.148 257.2)

  9. Step 800

    800

    #1C4D90

    oklch(42.6% 0.123 257.4)

  10. Step 900

    900 (this color)

    #1D4173

    oklch(37.7% 0.095 257.2)

  11. Step 950

    950

    #122643

    oklch(26.9% 0.06 257.7)

Export this scale for Tailwind in the Tailwind colors tool

#1D4173 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)#2945750.019
Deuteranopia (no green cones)#1B3D720.012
Tritanopia (no blue cones)#004D540.076
Achromatopsia (no color)#4141410.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #1D4173

    #1D4173

    oklch(37.7% 0.095 257.2)

  • #583B00

    #583B00

    oklch(37.6% 0.078 77.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1D4173

    #1D4173

    oklch(37.7% 0.095 257.2)

  • #00495F

    #00495F

    oklch(37.8% 0.072 226.2)

  • #3F3771

    #3F3771

    oklch(37.6% 0.096 287.1)

Open the analogous palette in the generator

Split complementary

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

  • #1D4173

    #1D4173

    oklch(37.7% 0.095 257.2)

  • #692E0A

    #692E0A

    oklch(37.7% 0.096 47)

  • #474400

    #474400

    oklch(37.7% 0.081 106.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1D4173

    #1D4173

    oklch(37.7% 0.095 257.2)

  • #6B282F

    #6B282F

    oklch(37.7% 0.096 16.7)

  • #264D14

    #264D14

    oklch(37.8% 0.096 137.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1D4173

    #1D4173

    oklch(37.7% 0.095 257.2)

  • #64294B

    #64294B

    oklch(37.6% 0.096 347)

  • #583B00

    #583B00

    oklch(37.6% 0.078 77.7)

  • #004E39

    #004E39

    oklch(37.6% 0.077 167.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #1D4173 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.