#1D4F71

Closest named color: Deep Sea Blue (#015482). oklch(41.1% 0.078 242), rgb(29, 79, 113).

Aa

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

About this color

#1D4F71 is a dark, moderately saturated blue. In OKLCH its lightness is 41%, its chroma 0.078 and its hue 242°. Its hue sits on the cool side of the wheel. The nearest named color is Deep Sea Blue (#015482), ΔE 0.030 away. White text reads best on it, at 8.71:1.

Hue familyBlues
Lightnessdark (41%)
Chromamoderately saturated (0.078)
Temperaturecool
Nearest nameDeep Sea Blue (#015482)
Black text2.40:1
White text8.71:1

Values

HEX#1D4F71
RGBrgb(29, 79, 113)
HSLhsl(204, 59%, 28%)
OKLCHoklch(41.1% 0.078 242)

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 #1D4F71 8.71:1 AAA Lc -94.1 Preferred for body text
Black text on #1D4F71 2.40:1 Fails Lc 14.4 Not readable
#1D4F71 text on white 8.71:1 AAA Lc 89.6 Fine for body text
#1D4F71 text on black 2.40:1 Fails Lc -12.6 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

    #F2F6F9

    oklch(97.1% 0.006 239.8)

  2. Step 100

    100

    #E3EBF2

    oklch(93.6% 0.013 244.3)

  3. Step 200

    200

    #CBDCE9

    oklch(88.6% 0.026 240.7)

  4. Step 300

    300

    #A8C5DC

    oklch(80.9% 0.045 242.1)

  5. Step 400

    400

    #78A7CA

    oklch(70.8% 0.072 241.2)

  6. Step 500

    500

    #5390BD

    oklch(63.1% 0.093 242.2)

  7. Step 600

    600

    #357AA9

    oklch(55.7% 0.101 241.6)

  8. Step 700

    700

    #276691

    oklch(49% 0.094 242.2)

  9. Step 800

    800 (this color)

    #1D4F71

    oklch(41.1% 0.078 242)

  10. Step 900

    900

    #21455F

    oklch(37.6% 0.061 242.2)

  11. Step 950

    950

    #142938

    oklch(27.1% 0.039 241.3)

Export this scale for Tailwind in the Tailwind colors tool

#1D4F71 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)#3F50730.038
Deuteranopia (no green cones)#3447700.031
Tritanopia (no blue cones)#00575B0.054
Achromatopsia (no color)#4B4B4B0.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #1D4F71

    #1D4F71

    oklch(41.1% 0.078 242)

  • #684018

    #684018

    oklch(41.1% 0.077 62.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1D4F71

    #1D4F71

    oklch(41.1% 0.078 242)

  • #005461

    #005461

    oklch(40.9% 0.072 212.6)

  • #3C4775

    #3C4775

    oklch(41.1% 0.078 272.3)

Open the analogous palette in the generator

Split complementary

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

  • #1D4F71

    #1D4F71

    oklch(41.1% 0.078 242)

  • #6F392F

    #6F392F

    oklch(41.1% 0.079 31.7)

  • #5A490C

    #5A490C

    oklch(41.2% 0.078 92.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1D4F71

    #1D4F71

    oklch(41.1% 0.078 242)

  • #6D3747

    #6D3747

    oklch(41.1% 0.079 2.2)

  • #43511C

    #43511C

    oklch(41% 0.078 122.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1D4F71

    #1D4F71

    oklch(41.1% 0.078 242)

  • #633A5D

    #633A5D

    oklch(41.1% 0.077 332.3)

  • #684018

    #684018

    oklch(41.1% 0.077 62.4)

  • #255635

    #255635

    oklch(40.9% 0.077 152.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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