#1D4D98

Closest named color: Cobalt (#1E488F). oklch(43.2% 0.134 259.3), rgb(29, 77, 152).

Aa

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

About this color

#1D4D98 is a dark, moderately saturated blue. In OKLCH its lightness is 43%, its chroma 0.134 and its hue 259°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.019 away. White text reads best on it, at 8.18:1.

Hue familyBlues
Lightnessdark (43%)
Chromamoderately saturated (0.134)
Temperaturecool
Nearest nameCobalt (#1E488F)
Black text2.56:1
White text8.18:1

Values

HEX#1D4D98
RGBrgb(29, 77, 152)
HSLhsl(217, 68%, 35%)
OKLCHoklch(43.2% 0.134 259.3)

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 #1D4D98 8.18:1 AAA Lc -92.5 Preferred for body text
Black text on #1D4D98 2.56:1 Fails Lc 16.1 Dividers and decoration only
#1D4D98 text on white 8.18:1 AAA Lc 87.9 Fine for body text
#1D4D98 text on black 2.56:1 Fails Lc -14.3 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

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E1EBF9

    oklch(93.7% 0.022 256.7)

  3. Step 200

    200

    #C8DAF6

    oklch(88.4% 0.043 259.2)

  4. Step 300

    300

    #A3C2F4

    oklch(80.9% 0.079 259.9)

  5. Step 400

    400

    #71A1EE

    oklch(70.7% 0.125 259.5)

  6. Step 500

    500

    #4A87E8

    oklch(63% 0.16 259.3)

  7. Step 600

    600

    #2C6FD7

    oklch(55.7% 0.174 259.2)

  8. Step 700

    700

    #1F5CBA

    oklch(49.1% 0.161 259.3)

  9. Step 800

    800 (this color)

    #1D4D98

    oklch(43.2% 0.134 259.3)

  10. Step 900

    900

    #1C4078

    oklch(37.7% 0.104 259.1)

  11. Step 950

    950

    #112646

    oklch(27% 0.066 258.6)

Export this scale for Tailwind in the Tailwind colors tool

#1D4D98 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)#22559B0.024
Deuteranopia (no green cones)#004A970.018
Tritanopia (no blue cones)#005F6B0.103
Achromatopsia (no color)#4F4F4F0.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #1D4D98

    #1D4D98

    oklch(43.2% 0.134 259.3)

  • #6A4900

    #6A4900

    oklch(43.1% 0.089 79)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1D4D98

    #1D4D98

    oklch(43.2% 0.134 259.3)

  • #005876

    #005876

    oklch(43.1% 0.086 230.1)

  • #513F93

    #513F93

    oklch(43.2% 0.133 289.5)

Open the analogous palette in the generator

Split complementary

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

  • #1D4D98

    #1D4D98

    oklch(43.2% 0.134 259.3)

  • #803800

    #803800

    oklch(43.1% 0.115 49.2)

  • #545400

    #545400

    oklch(43.2% 0.094 109.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1D4D98

    #1D4D98

    oklch(43.2% 0.134 259.3)

  • #8B2731

    #8B2731

    oklch(43.2% 0.134 19.3)

  • #206005

    #206005

    oklch(43.1% 0.133 139.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1D4D98

    #1D4D98

    oklch(43.2% 0.134 259.3)

  • #82295B

    #82295B

    oklch(43.1% 0.133 349.5)

  • #6A4900

    #6A4900

    oklch(43.1% 0.089 79)

  • #005F48

    #005F48

    oklch(43.2% 0.086 169.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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