#2C5897

Closest named color: Denim Blue (#3B5B92). oklch(46.2% 0.114 257.6), rgb(44, 88, 151).

Aa

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

About this color

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

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

Values

HEX#2C5897
RGBrgb(44, 88, 151)
HSLhsl(215, 55%, 38%)
OKLCHoklch(46.2% 0.114 257.6)

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

    #7EA2D8

    oklch(70.6% 0.089 258.3)

  6. Step 500

    500

    #5D8ACD

    oklch(63% 0.113 258.1)

  7. Step 600

    600

    #4273BA

    oklch(55.5% 0.123 257.7)

  8. Step 700

    700 (this color)

    #2C5897

    oklch(46.2% 0.114 257.6)

  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

#2C5897 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.023
Deuteranopia (no green cones)#2A53960.015
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°).

  • #2C5897

    #2C5897

    oklch(46.2% 0.114 257.6)

  • #765000

    #765000

    oklch(46.1% 0.096 77.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2C5897

    #2C5897

    oklch(46.2% 0.114 257.6)

  • #006280

    #006280

    oklch(46.3% 0.09 227.6)

  • #564C94

    #564C94

    oklch(46.2% 0.114 287.4)

Open the analogous palette in the generator

Split complementary

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

  • #2C5897

    #2C5897

    oklch(46.2% 0.114 257.6)

  • #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.

  • #2C5897

    #2C5897

    oklch(46.2% 0.114 257.6)

  • #8D3940

    #8D3940

    oklch(46.2% 0.114 17.7)

  • #366721

    #366721

    oklch(46.3% 0.114 137.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2C5897

    #2C5897

    oklch(46.2% 0.114 257.6)

  • #853A64

    #853A64

    oklch(46.2% 0.115 347.8)

  • #765000

    #765000

    oklch(46.1% 0.096 77.2)

  • #00694E

    #00694E

    oklch(46.2% 0.094 167.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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