#2C5787

Closest named color: Light Navy Blue (#2E5A88). oklch(45% 0.093 252.8), rgb(44, 87, 135).

Aa

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

About this color

#2C5787 is a dark, moderately saturated blue. In OKLCH its lightness is 45%, its chroma 0.093 and its hue 253°. Its hue sits on the cool side of the wheel. The nearest named color is Light Navy Blue (#2E5A88), ΔE 0.009 away. White text reads best on it, at 7.44:1.

Hue familyBlues
Lightnessdark (45%)
Chromamoderately saturated (0.093)
Temperaturecool
Nearest nameLight Navy Blue (#2E5A88)
Black text2.82:1
White text7.44:1

Values

HEX#2C5787
RGBrgb(44, 87, 135)
HSLhsl(212, 51%, 35%)
OKLCHoklch(45% 0.093 252.8)

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 #2C5787 7.44:1 AAA Lc -90.5 Preferred for body text
Black text on #2C5787 2.82:1 Fails Lc 18.4 Dividers and decoration only
#2C5787 text on white 7.44:1 AAA Lc 85.7 Fine for body text
#2C5787 text on black 2.82:1 Fails Lc -16.4 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 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

    #CCDBED

    oklch(88.6% 0.03 253)

  4. Step 300

    300

    #A8C3E3

    oklch(80.8% 0.054 252.8)

  5. Step 400

    400

    #79A4D6

    oklch(70.7% 0.087 252.7)

  6. Step 500

    500

    #568DCB

    oklch(63.2% 0.111 252.5)

  7. Step 600

    600

    #3A76B7

    oklch(55.7% 0.119 252.4)

  8. Step 700

    700

    #2C629E

    oklch(49% 0.112 253.1)

  9. Step 800

    800 (this color)

    #2C5787

    oklch(45% 0.093 252.8)

  10. Step 900

    900

    #234367

    oklch(37.7% 0.073 252.7)

  11. Step 950

    950

    #15273C

    oklch(26.8% 0.046 253.2)

Export this scale for Tailwind in the Tailwind colors tool

#2C5787 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)#425A890.028
Deuteranopia (no green cones)#3551860.018
Tritanopia (no blue cones)#0062680.074
Achromatopsia (no color)#5555550.093

Harmonies

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

Complementary

The opposite hue (180°).

  • #2C5787

    #2C5787

    oklch(45% 0.093 252.8)

  • #744C07

    #744C07

    oklch(45.1% 0.093 73.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2C5787

    #2C5787

    oklch(45% 0.093 252.8)

  • #005F77

    #005F77

    oklch(45% 0.084 222.8)

  • #4E4D87

    #4E4D87

    oklch(44.9% 0.094 282.7)

Open the analogous palette in the generator

Split complementary

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

  • #2C5787

    #2C5787

    oklch(45% 0.093 252.8)

  • #7F4228

    #7F4228

    oklch(45% 0.093 43)

  • #5F5704

    #5F5704

    oklch(45% 0.093 103.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2C5787

    #2C5787

    oklch(45% 0.093 252.8)

  • #803D47

    #803D47

    oklch(44.9% 0.093 12.2)

  • #406026

    #406026

    oklch(45% 0.093 133.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2C5787

    #2C5787

    oklch(45% 0.093 252.8)

  • #783F63

    #783F63

    oklch(45.1% 0.092 342.9)

  • #744C07

    #744C07

    oklch(45.1% 0.093 73.2)

  • #0E6546

    #0E6546

    oklch(45% 0.093 162.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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