#2D406E

Closest named color: Twilight Blue (#0A437A). oklch(37.9% 0.083 265.7), rgb(45, 64, 110).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (38%)
Chromamoderately saturated (0.083)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.07:1
White text10.14:1

Values

HEX#2D406E
RGBrgb(45, 64, 110)
HSLhsl(222, 42%, 30%)
OKLCHoklch(37.9% 0.083 265.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 #2D406E 10.14:1 AAA Lc -97.5 Preferred for body text
Black text on #2D406E 2.07:1 Fails Lc 10.5 Not readable
#2D406E text on white 10.14:1 AAA Lc 93.4 Preferred for body text
#2D406E text on black 2.07:1 Fails Lc -9.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

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E4EAF6

    oklch(93.6% 0.017 264.5)

  3. Step 200

    200

    #CED9F1

    oklch(88.4% 0.035 266)

  4. Step 300

    300

    #AEC0EA

    oklch(80.8% 0.063 266.8)

  5. Step 400

    400

    #839FDF

    oklch(70.6% 0.099 265.8)

  6. Step 500

    500

    #6586D6

    oklch(63.1% 0.127 265.9)

  7. Step 600

    600

    #4C6EC3

    oklch(55.5% 0.138 265.7)

  8. Step 700

    700

    #3E5CA9

    oklch(49.2% 0.128 265.9)

  9. Step 800

    800

    #334B89

    oklch(42.6% 0.107 266.1)

  10. Step 900

    900 (this color)

    #2D406E

    oklch(37.9% 0.083 265.7)

  11. Step 950

    950

    #1A2540

    oklch(26.9% 0.053 266.2)

Export this scale for Tailwind in the Tailwind colors tool

#2D406E 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)#2D45700.015
Deuteranopia (no green cones)#253F6D0.011
Tritanopia (no blue cones)#044A510.074
Achromatopsia (no color)#4141410.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D406E

    #2D406E

    oklch(37.9% 0.083 265.7)

  • #553E00

    #553E00

    oklch(37.9% 0.078 84.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D406E

    #2D406E

    oklch(37.9% 0.083 265.7)

  • #004867

    #004867

    oklch(37.9% 0.081 235.5)

  • #463869

    #463869

    oklch(37.9% 0.083 295.4)

Open the analogous palette in the generator

Split complementary

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

  • #2D406E

    #2D406E

    oklch(37.9% 0.083 265.7)

  • #63350E

    #63350E

    oklch(38% 0.083 56)

  • #414706

    #414706

    oklch(38% 0.082 115.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D406E

    #2D406E

    oklch(37.9% 0.083 265.7)

  • #672E2B

    #672E2B

    oklch(37.8% 0.083 24.8)

  • #214E25

    #214E25

    oklch(38.1% 0.084 145.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D406E

    #2D406E

    oklch(37.9% 0.083 265.7)

  • #632E44

    #632E44

    oklch(38% 0.081 355.5)

  • #553E00

    #553E00

    oklch(37.9% 0.078 84.8)

  • #004E40

    #004E40

    oklch(37.9% 0.071 175.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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