#2D5897

Closest named color: Denim Blue (#3B5B92). oklch(46.3% 0.113 258), rgb(45, 88, 151).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.113)
Temperaturecool
Nearest nameDenim Blue (#3B5B92)
Black text2.95:1
White text7.10:1

Values

HEX#2D5897
RGBrgb(45, 88, 151)
HSLhsl(216, 54%, 38%)
OKLCHoklch(46.3% 0.113 258)

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 #2D5897 7.10:1 AAA Lc -89.3 Fine for body text
Black text on #2D5897 2.95:1 Fails Lc 19.6 Dividers and decoration only
#2D5897 text on white 7.10:1 AAA Lc 84.4 Fine for body text
#2D5897 text on black 2.95:1 Fails Lc -17.6 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

    #F2F6FA

    oklch(97.1% 0.007 247.9)

  2. Step 100

    100

    #E3EAF5

    oklch(93.5% 0.017 259.4)

  3. Step 200

    200

    #CDDAEE

    oklch(88.5% 0.031 258.9)

  4. Step 300

    300

    #ABC2E5

    oklch(80.9% 0.056 258.7)

  5. Step 400

    400

    #7EA2D7

    oklch(70.6% 0.088 257.9)

  6. Step 500

    500

    #5D8ACD

    oklch(63% 0.113 258.1)

  7. Step 600

    600

    #4373BA

    oklch(55.6% 0.123 258.1)

  8. Step 700

    700 (this color)

    #2D5897

    oklch(46.3% 0.113 258)

  9. Step 800

    800

    #2C4F82

    oklch(42.7% 0.094 257.8)

  10. Step 900

    900

    #284268

    oklch(37.7% 0.073 257.8)

  11. Step 950

    950

    #18273D

    oklch(27.1% 0.046 257.8)

Export this scale for Tailwind in the Tailwind colors tool

#2D5897 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)#3B5D990.022
Deuteranopia (no green cones)#2A54960.012
Tritanopia (no blue cones)#0067700.091
Achromatopsia (no color)#5858580.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D5897

    #2D5897

    oklch(46.3% 0.113 258)

  • #765100

    #765100

    oklch(46.3% 0.097 78.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D5897

    #2D5897

    oklch(46.3% 0.113 258)

  • #006280

    #006280

    oklch(46.3% 0.09 227.6)

  • #574C94

    #574C94

    oklch(46.3% 0.114 288.1)

Open the analogous palette in the generator

Split complementary

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

  • #2D5897

    #2D5897

    oklch(46.3% 0.113 258)

  • #8A4114

    #8A4114

    oklch(46.3% 0.114 47.8)

  • #5F5C00

    #5F5C00

    oklch(46.3% 0.099 107.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D5897

    #2D5897

    oklch(46.3% 0.113 258)

  • #8D3A40

    #8D3A40

    oklch(46.3% 0.113 18.3)

  • #366722

    #366722

    oklch(46.3% 0.113 137.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D5897

    #2D5897

    oklch(46.3% 0.113 258)

  • #853B64

    #853B64

    oklch(46.3% 0.113 348)

  • #765100

    #765100

    oklch(46.3% 0.097 78.3)

  • #00694F

    #00694F

    oklch(46.3% 0.093 168.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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