#2D56A5

Closest named color: Denim Blue (#3B5B92). oklch(46.8% 0.136 262), rgb(45, 86, 165).

Aa

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

About this color

#2D56A5 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 47%, its chroma 0.136 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Denim Blue (#3B5B92), ΔE 0.039 away. White text reads best on it, at 7.03:1.

Hue familyBlues
Lightnessmedium-dark (47%)
Chromamoderately saturated (0.136)
Temperaturecool
Nearest nameDenim Blue (#3B5B92)
Black text2.98:1
White text7.03:1

Values

HEX#2D56A5
RGBrgb(45, 86, 165)
HSLhsl(219, 57%, 41%)
OKLCHoklch(46.8% 0.136 262)

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 #2D56A5 7.03:1 AAA Lc -89.0 Fine for body text
Black text on #2D56A5 2.98:1 Fails Lc 20.0 Dividers and decoration only
#2D56A5 text on white 7.03:1 AAA Lc 84.0 Fine for body text
#2D56A5 text on black 2.98:1 Fails Lc -17.9 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 700.

  1. Step 50

    50

    #F2F6FC

    oklch(97.2% 0.009 258.3)

  2. Step 100

    100

    #E3EAF7

    oklch(93.6% 0.019 263)

  3. Step 200

    200

    #CCDAF2

    oklch(88.5% 0.036 261.3)

  4. Step 300

    300

    #AAC1EC

    oklch(80.8% 0.066 262.8)

  5. Step 400

    400

    #7CA0E2

    oklch(70.6% 0.105 262.1)

  6. Step 500

    500

    #5B87DA

    oklch(63% 0.135 262.1)

  7. Step 600

    600

    #4170C8

    oklch(55.7% 0.146 261.7)

  8. Step 700

    700 (this color)

    #2D56A5

    oklch(46.8% 0.136 262)

  9. Step 800

    800

    #2B4C8C

    oklch(42.7% 0.113 262.2)

  10. Step 900

    900

    #274070

    oklch(37.7% 0.088 262.2)

  11. Step 950

    950

    #172641

    oklch(27% 0.055 261.4)

Export this scale for Tailwind in the Tailwind colors tool

#2D56A5 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)#2C5FA80.025
Deuteranopia (no green cones)#0D54A30.023
Tritanopia (no blue cones)#0069750.109
Achromatopsia (no color)#5959590.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D56A5

    #2D56A5

    oklch(46.8% 0.136 262)

  • #755400

    #755400

    oklch(46.9% 0.097 82.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D56A5

    #2D56A5

    oklch(46.8% 0.136 262)

  • #006286

    #006286

    oklch(46.6% 0.096 232.4)

  • #5E489F

    #5E489F

    oklch(46.9% 0.136 292)

Open the analogous palette in the generator

Split complementary

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

  • #2D56A5

    #2D56A5

    oklch(46.8% 0.136 262)

  • #8D4200

    #8D4200

    oklch(46.8% 0.121 51.7)

  • #5C5F00

    #5C5F00

    oklch(46.7% 0.103 111.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D56A5

    #2D56A5

    oklch(46.8% 0.136 262)

  • #973236

    #973236

    oklch(46.7% 0.135 21.8)

  • #216C1B

    #216C1B

    oklch(46.8% 0.136 142)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D56A5

    #2D56A5

    oklch(46.8% 0.136 262)

  • #903262

    #903262

    oklch(46.8% 0.137 352)

  • #755400

    #755400

    oklch(46.9% 0.097 82.2)

  • #006A54

    #006A54

    oklch(46.7% 0.091 171.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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