#1D5799

Closest named color: Dusk Blue (#26538D). oklch(45.6% 0.123 254.4), rgb(29, 87, 153).

Aa

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

About this color

#1D5799 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 46%, its chroma 0.123 and its hue 254°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk Blue (#26538D), ΔE 0.021 away. White text reads best on it, at 7.30:1.

Hue familyBlues
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.123)
Temperaturecool
Nearest nameDusk Blue (#26538D)
Black text2.87:1
White text7.30:1

Values

HEX#1D5799
RGBrgb(29, 87, 153)
HSLhsl(212, 68%, 36%)
OKLCHoklch(45.6% 0.123 254.4)

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 #1D5799 7.30:1 AAA Lc -89.9 Fine for body text
Black text on #1D5799 2.87:1 Fails Lc 19.1 Dividers and decoration only
#1D5799 text on white 7.30:1 AAA Lc 85.0 Fine for body text
#1D5799 text on black 2.87:1 Fails Lc -17.0 Dividers and decoration only

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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E1EBF8

    oklch(93.6% 0.021 254.9)

  3. Step 200

    200

    #C8DBF4

    oklch(88.5% 0.04 255.3)

  4. Step 300

    300

    #A1C4EF

    oklch(81% 0.072 253.8)

  5. Step 400

    400

    #6DA3E7

    oklch(70.6% 0.116 254.8)

  6. Step 500

    500

    #448BE0

    oklch(63.2% 0.147 254.5)

  7. Step 600

    600

    #2073CD

    oklch(55.6% 0.159 254.2)

  8. Step 700

    700

    #1160B2

    oklch(49.1% 0.148 254.4)

  9. Step 800

    800 (this color)

    #1D5799

    oklch(45.6% 0.123 254.4)

  10. Step 900

    900

    #184273

    oklch(37.7% 0.096 254.4)

  11. Step 950

    950

    #0F2743

    oklch(27% 0.06 253.9)

Export this scale for Tailwind in the Tailwind colors tool

#1D5799 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)#365C9C0.028
Deuteranopia (no green cones)#1F51980.017
Tritanopia (no blue cones)#0067700.094
Achromatopsia (no color)#5656560.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #1D5799

    #1D5799

    oklch(45.6% 0.123 254.4)

  • #764D00

    #764D00

    oklch(45.5% 0.096 74)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1D5799

    #1D5799

    oklch(45.6% 0.123 254.4)

  • #00607A

    #00607A

    oklch(45.5% 0.086 224.5)

  • #514A98

    #514A98

    oklch(45.6% 0.123 284.5)

Open the analogous palette in the generator

Split complementary

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

  • #1D5799

    #1D5799

    oklch(45.6% 0.123 254.4)

  • #8C3B0E

    #8C3B0E

    oklch(45.6% 0.122 44.6)

  • #605900

    #605900

    oklch(45.6% 0.096 104.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1D5799

    #1D5799

    oklch(45.6% 0.123 254.4)

  • #8E3341

    #8E3341

    oklch(45.5% 0.123 14.3)

  • #37650F

    #37650F

    oklch(45.6% 0.123 134.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1D5799

    #1D5799

    oklch(45.6% 0.123 254.4)

  • #843667

    #843667

    oklch(45.6% 0.123 344.4)

  • #764D00

    #764D00

    oklch(45.5% 0.096 74)

  • #006749

    #006749

    oklch(45.5% 0.096 164.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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