#1D4877

Closest named color: Twilight Blue (#0A437A). oklch(39.7% 0.093 252.9), rgb(29, 72, 119).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (40%)
Chromamoderately saturated (0.093)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.24:1
White text9.35:1

Values

HEX#1D4877
RGBrgb(29, 72, 119)
HSLhsl(211, 61%, 29%)
OKLCHoklch(39.7% 0.093 252.9)

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 #1D4877 9.35:1 AAA Lc -95.7 Preferred for body text
Black text on #1D4877 2.24:1 Fails Lc 12.6 Not readable
#1D4877 text on white 9.35:1 AAA Lc 91.3 Preferred for body text
#1D4877 text on black 2.24:1 Fails Lc -11.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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E1EBF7

    oklch(93.6% 0.019 252.9)

  3. Step 200

    200

    #C8DBF3

    oklch(88.5% 0.039 254.3)

  4. Step 300

    300

    #A1C4ED

    oklch(80.9% 0.069 252.7)

  5. Step 400

    400

    #6DA4E4

    oklch(70.7% 0.111 253)

  6. Step 500

    500

    #438CDD

    oklch(63.2% 0.143 253)

  7. Step 600

    600

    #1E74CA

    oklch(55.6% 0.154 252.9)

  8. Step 700

    700

    #0E61AF

    oklch(49.1% 0.144 252.9)

  9. Step 800

    800

    #114F8E

    oklch(42.6% 0.12 253.3)

  10. Step 900

    900 (this color)

    #1D4877

    oklch(39.7% 0.093 252.9)

  11. Step 950

    950

    #0F2742

    oklch(26.9% 0.059 253.1)

Export this scale for Tailwind in the Tailwind colors tool

#1D4877 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)#324B790.025
Deuteranopia (no green cones)#2543760.015
Tritanopia (no blue cones)#0053590.072
Achromatopsia (no color)#4747470.093

Harmonies

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

Complementary

The opposite hue (180°).

  • #1D4877

    #1D4877

    oklch(39.7% 0.093 252.9)

  • #623E00

    #623E00

    oklch(39.6% 0.085 72.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1D4877

    #1D4877

    oklch(39.7% 0.093 252.9)

  • #004F64

    #004F64

    oklch(39.7% 0.074 223.4)

  • #413F77

    #413F77

    oklch(39.8% 0.093 283)

Open the analogous palette in the generator

Split complementary

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

  • #1D4877

    #1D4877

    oklch(39.7% 0.093 252.9)

  • #6F3319

    #6F3319

    oklch(39.7% 0.093 42.6)

  • #4F4800

    #4F4800

    oklch(39.6% 0.083 103.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1D4877

    #1D4877

    oklch(39.7% 0.093 252.9)

  • #702E38

    #702E38

    oklch(39.6% 0.094 13.1)

  • #325116

    #325116

    oklch(39.7% 0.093 133)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1D4877

    #1D4877

    oklch(39.7% 0.093 252.9)

  • #683054

    #683054

    oklch(39.7% 0.093 342.9)

  • #623E00

    #623E00

    oklch(39.6% 0.085 72.5)

  • #005539

    #005539

    oklch(39.8% 0.086 162.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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