#2D4774

Closest named color: Twilight Blue (#0A437A). oklch(40% 0.083 260.7), rgb(45, 71, 116).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (40%)
Chromamoderately saturated (0.083)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.26:1
White text9.27:1

Values

HEX#2D4774
RGBrgb(45, 71, 116)
HSLhsl(218, 44%, 32%)
OKLCHoklch(40% 0.083 260.7)

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 #2D4774 9.27:1 AAA Lc -95.6 Preferred for body text
Black text on #2D4774 2.26:1 Fails Lc 12.7 Not readable
#2D4774 text on white 9.27:1 AAA Lc 91.2 Preferred for body text
#2D4774 text on black 2.26:1 Fails Lc -11.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

    #F2F6FB

    oklch(97.2% 0.008 253.9)

  2. Step 100

    100

    #E3EAF6

    oklch(93.5% 0.018 261.3)

  3. Step 200

    200

    #CCDAF1

    oklch(88.5% 0.035 260.4)

  4. Step 300

    300

    #AAC2E9

    oklch(80.9% 0.061 260.1)

  5. Step 400

    400

    #7DA1DF

    oklch(70.7% 0.1 261)

  6. Step 500

    500

    #5C89D6

    oklch(63.2% 0.127 260.6)

  7. Step 600

    600

    #4271C3

    oklch(55.6% 0.138 260.7)

  8. Step 700

    700

    #345EA8

    oklch(49% 0.128 260.8)

  9. Step 800

    800

    #2B4D88

    oklch(42.6% 0.106 260.6)

  10. Step 900

    900 (this color)

    #2D4774

    oklch(40% 0.083 260.7)

  11. Step 950

    950

    #172640

    oklch(27% 0.053 260.8)

Export this scale for Tailwind in the Tailwind colors tool

#2D4774 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)#344B760.016
Deuteranopia (no green cones)#2B44730.010
Tritanopia (no blue cones)#0051580.072
Achromatopsia (no color)#4747470.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D4774

    #2D4774

    oklch(40% 0.083 260.7)

  • #5E4200

    #5E4200

    oklch(40% 0.083 81.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D4774

    #2D4774

    oklch(40% 0.083 260.7)

  • #004F6B

    #004F6B

    oklch(40.1% 0.08 230.7)

  • #483F71

    #483F71

    oklch(40.1% 0.083 290.4)

Open the analogous palette in the generator

Split complementary

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

  • #2D4774

    #2D4774

    oklch(40% 0.083 260.7)

  • #6A3919

    #6A3919

    oklch(40% 0.083 51.3)

  • #4A4B09

    #4A4B09

    oklch(39.9% 0.082 110.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D4774

    #2D4774

    oklch(40% 0.083 260.7)

  • #6E3334

    #6E3334

    oklch(40% 0.084 20.5)

  • #2D5226

    #2D5226

    oklch(39.9% 0.082 140.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D4774

    #2D4774

    oklch(40% 0.083 260.7)

  • #68334D

    #68334D

    oklch(39.9% 0.083 350.8)

  • #5E4200

    #5E4200

    oklch(40% 0.083 81.2)

  • #005542

    #005542

    oklch(40% 0.078 171)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2D4774 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.