#2C4777

Closest named color: Twilight Blue (#0A437A). oklch(40.1% 0.088 261.1), rgb(44, 71, 119).

Aa

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

About this color

#2C4777 is a dark, moderately saturated blue. In OKLCH its lightness is 40%, its chroma 0.088 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.032 away. White text reads best on it, at 9.23:1.

Hue familyBlues
Lightnessdark (40%)
Chromamoderately saturated (0.088)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.27:1
White text9.23:1

Values

HEX#2C4777
RGBrgb(44, 71, 119)
HSLhsl(218, 46%, 32%)
OKLCHoklch(40.1% 0.088 261.1)

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 #2C4777 9.23:1 AAA Lc -95.5 Preferred for body text
Black text on #2C4777 2.27:1 Fails Lc 12.8 Not readable
#2C4777 text on white 9.23:1 AAA Lc 91.1 Preferred for body text
#2C4777 text on black 2.27:1 Fails Lc -11.2 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 900.

  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

    #A9C2EC

    oklch(81% 0.066 260.7)

  5. Step 400

    400

    #7BA1E2

    oklch(70.7% 0.105 260.8)

  6. Step 500

    500

    #5A88DA

    oklch(63.1% 0.134 261.2)

  7. Step 600

    600

    #3F70C8

    oklch(55.6% 0.147 261.1)

  8. Step 700

    700

    #315DAD

    oklch(49% 0.137 261.2)

  9. Step 800

    800

    #294D8C

    oklch(42.8% 0.113 260.7)

  10. Step 900

    900 (this color)

    #2C4777

    oklch(40.1% 0.088 261.1)

  11. Step 950

    950

    #162641

    oklch(27% 0.055 260.3)

Export this scale for Tailwind in the Tailwind colors tool

#2C4777 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)#324B790.015
Deuteranopia (no green cones)#2844760.011
Tritanopia (no blue cones)#0052590.076
Achromatopsia (no color)#4747470.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #2C4777

    #2C4777

    oklch(40.1% 0.088 261.1)

  • #5F4200

    #5F4200

    oklch(40.1% 0.083 80.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2C4777

    #2C4777

    oklch(40.1% 0.088 261.1)

  • #004F6C

    #004F6C

    oklch(40.1% 0.081 231.6)

  • #493E73

    #493E73

    oklch(40.1% 0.088 291.5)

Open the analogous palette in the generator

Split complementary

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

  • #2C4777

    #2C4777

    oklch(40.1% 0.088 261.1)

  • #6C3815

    #6C3815

    oklch(40.1% 0.087 51.2)

  • #4A4C01

    #4A4C01

    oklch(40.1% 0.088 111.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2C4777

    #2C4777

    oklch(40.1% 0.088 261.1)

  • #703233

    #703233

    oklch(40.1% 0.088 20.9)

  • #2B5324

    #2B5324

    oklch(40% 0.087 140.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2C4777

    #2C4777

    oklch(40.1% 0.088 261.1)

  • #6B324E

    #6B324E

    oklch(40.2% 0.089 351.1)

  • #5F4200

    #5F4200

    oklch(40.1% 0.083 80.2)

  • #005542

    #005542

    oklch(40% 0.078 171)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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