#2D5281

Closest named color: Dusk Blue (#26538D). oklch(43.4% 0.089 255.2), rgb(45, 82, 129).

Aa

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

About this color

#2D5281 is a dark, moderately saturated blue. In OKLCH its lightness is 43%, its chroma 0.089 and its hue 255°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk Blue (#26538D), ΔE 0.020 away. White text reads best on it, at 7.96:1.

Hue familyBlues
Lightnessdark (43%)
Chromamoderately saturated (0.089)
Temperaturecool
Nearest nameDusk Blue (#26538D)
Black text2.63:1
White text7.96:1

Values

HEX#2D5281
RGBrgb(45, 82, 129)
HSLhsl(214, 48%, 34%)
OKLCHoklch(43.4% 0.089 255.2)

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 #2D5281 7.96:1 AAA Lc -92.1 Preferred for body text
Black text on #2D5281 2.63:1 Fails Lc 16.6 Dividers and decoration only
#2D5281 text on white 7.96:1 AAA Lc 87.4 Fine for body text
#2D5281 text on black 2.63:1 Fails Lc -14.7 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

    #F2F6FA

    oklch(97.1% 0.007 247.9)

  2. Step 100

    100

    #E3EBF4

    oklch(93.7% 0.015 251.2)

  3. Step 200

    200

    #CDDAED

    oklch(88.4% 0.03 257.8)

  4. Step 300

    300

    #ABC3E2

    oklch(80.9% 0.051 254.9)

  5. Step 400

    400

    #7DA3D4

    oklch(70.6% 0.083 255.1)

  6. Step 500

    500

    #5C8CC9

    oklch(63.2% 0.106 255)

  7. Step 600

    600

    #4175B6

    oklch(55.7% 0.116 255)

  8. Step 700

    700

    #33629C

    oklch(49.2% 0.107 254.8)

  9. Step 800

    800 (this color)

    #2D5281

    oklch(43.4% 0.089 255.2)

  10. Step 900

    900

    #274366

    oklch(37.8% 0.069 254.8)

  11. Step 950

    950

    #17273C

    oklch(27% 0.045 255.6)

Export this scale for Tailwind in the Tailwind colors tool

#2D5281 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)#3E55830.023
Deuteranopia (no green cones)#324D800.015
Tritanopia (no blue cones)#005D630.074
Achromatopsia (no color)#5151510.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D5281

    #2D5281

    oklch(43.4% 0.089 255.2)

  • #6D4905

    #6D4905

    oklch(43.5% 0.089 75.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D5281

    #2D5281

    oklch(43.4% 0.089 255.2)

  • #005A73

    #005A73

    oklch(43.5% 0.082 224.9)

  • #4D4980

    #4D4980

    oklch(43.5% 0.089 285.4)

Open the analogous palette in the generator

Split complementary

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

  • #2D5281

    #2D5281

    oklch(43.4% 0.089 255.2)

  • #783F24

    #783F24

    oklch(43.3% 0.089 44.9)

  • #585307

    #585307

    oklch(43.3% 0.089 105.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D5281

    #2D5281

    oklch(43.4% 0.089 255.2)

  • #7A3A41

    #7A3A41

    oklch(43.4% 0.089 14.7)

  • #3A5C27

    #3A5C27

    oklch(43.5% 0.089 135.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D5281

    #2D5281

    oklch(43.4% 0.089 255.2)

  • #733B5C

    #733B5C

    oklch(43.4% 0.09 345.2)

  • #6D4905

    #6D4905

    oklch(43.5% 0.089 75.6)

  • #056045

    #056045

    oklch(43.4% 0.089 165.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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