#2C4881

Closest named color: Cobalt (#1E488F). oklch(41% 0.102 263), rgb(44, 72, 129).

Aa

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

About this color

#2C4881 is a dark, moderately saturated blue. In OKLCH its lightness is 41%, its chroma 0.102 and its hue 263°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.026 away. White text reads best on it, at 8.93:1.

Hue familyBlues
Lightnessdark (41%)
Chromamoderately saturated (0.102)
Temperaturecool
Nearest nameCobalt (#1E488F)
Black text2.35:1
White text8.93:1

Values

HEX#2C4881
RGBrgb(44, 72, 129)
HSLhsl(220, 49%, 34%)
OKLCHoklch(41% 0.102 263)

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 #2C4881 8.93:1 AAA Lc -94.7 Preferred for body text
Black text on #2C4881 2.35:1 Fails Lc 13.7 Not readable
#2C4881 text on white 8.93:1 AAA Lc 90.3 Preferred for body text
#2C4881 text on black 2.35:1 Fails Lc -12.0 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 800.

  1. Step 50

    50

    #F3F6FB

    oklch(97.2% 0.007 260.7)

  2. Step 100

    100

    #E4EAF6

    oklch(93.6% 0.017 264.5)

  3. Step 200

    200

    #CEDAF0

    oklch(88.6% 0.033 262.7)

  4. Step 300

    300

    #ADC1E8

    oklch(80.9% 0.06 263.7)

  5. Step 400

    400

    #81A0DC

    oklch(70.6% 0.095 263.1)

  6. Step 500

    500

    #6288D3

    oklch(63.2% 0.121 263)

  7. Step 600

    600

    #4970C0

    oklch(55.6% 0.132 263.2)

  8. Step 700

    700

    #3A5EA6

    oklch(49.2% 0.123 262.7)

  9. Step 800

    800 (this color)

    #2C4881

    oklch(41% 0.102 263)

  10. Step 900

    900

    #2B406B

    oklch(37.6% 0.079 263.4)

  11. Step 950

    950

    #19263F

    oklch(27% 0.05 262.6)

Export this scale for Tailwind in the Tailwind colors tool

#2C4881 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)#2E4E830.018
Deuteranopia (no green cones)#2146800.014
Tritanopia (no blue cones)#00555E0.085
Achromatopsia (no color)#4A4A4A0.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #2C4881

    #2C4881

    oklch(41% 0.102 263)

  • #604500

    #604500

    oklch(40.9% 0.084 83.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2C4881

    #2C4881

    oklch(41% 0.102 263)

  • #005171

    #005171

    oklch(41% 0.085 233.7)

  • #4D3E7C

    #4D3E7C

    oklch(41.1% 0.101 292.5)

Open the analogous palette in the generator

Split complementary

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

  • #2C4881

    #2C4881

    oklch(41% 0.102 263)

  • #743804

    #743804

    oklch(41.2% 0.102 53.1)

  • #4B4F00

    #4B4F00

    oklch(41% 0.091 113.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2C4881

    #2C4881

    oklch(41% 0.102 263)

  • #78302F

    #78302F

    oklch(41% 0.101 23.4)

  • #235822

    #235822

    oklch(41.1% 0.102 143.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2C4881

    #2C4881

    oklch(41% 0.102 263)

  • #72304F

    #72304F

    oklch(41% 0.1 353)

  • #604500

    #604500

    oklch(40.9% 0.084 83.1)

  • #005846

    #005846

    oklch(41% 0.079 172.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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