#2C3151

Closest named color: Prussian Blue (#1D3557). oklch(32.4% 0.057 276), rgb(44, 49, 81).

Aa

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

About this color

#2C3151 is a dark, muted blue. In OKLCH its lightness is 32%, its chroma 0.057 and its hue 276°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.023 away. White text reads best on it, at 12.61:1.

Hue familyBlues
Lightnessdark (32%)
Chromamuted (0.057)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.66:1
White text12.61:1

Values

HEX#2C3151
RGBrgb(44, 49, 81)
HSLhsl(232, 30%, 25%)
OKLCHoklch(32.4% 0.057 276)

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 #2C3151 12.61:1 AAA Lc -101.9 Preferred for body text
Black text on #2C3151 1.66:1 Fails Lc 0.0 Not readable
#2C3151 text on white 12.61:1 AAA Lc 98.6 Preferred for body text
#2C3151 text on black 1.66:1 Fails Lc 0.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 900.

  1. Step 50

    50

    #F4F5F9

    oklch(97.1% 0.005 275)

  2. Step 100

    100

    #E7E9F2

    oklch(93.5% 0.012 276.1)

  3. Step 200

    200

    #D4D8E9

    oklch(88.4% 0.024 275.3)

  4. Step 300

    300

    #B9BFDD

    oklch(81% 0.043 276.5)

  5. Step 400

    400

    #949DCC

    oklch(70.6% 0.07 276)

  6. Step 500

    500

    #7B85BF

    oklch(63.2% 0.088 276.1)

  7. Step 600

    600

    #646EAB

    oklch(55.6% 0.095 275.8)

  8. Step 700

    700

    #535C93

    oklch(49.2% 0.089 275.6)

  9. Step 800

    800

    #444B77

    oklch(42.7% 0.073 275.9)

  10. Step 900

    900 (this color)

    #2C3151

    oklch(32.4% 0.057 276)

  11. Step 950

    950

    #212538

    oklch(27% 0.036 274.6)

Export this scale for Tailwind in the Tailwind colors tool

#2C3151 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)#2635520.014
Deuteranopia (no green cones)#2332500.014
Tritanopia (no blue cones)#20373D0.050
Achromatopsia (no color)#3333330.057

Harmonies

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

Complementary

The opposite hue (180°).

  • #2C3151

    #2C3151

    oklch(32.4% 0.057 276)

  • #3D340C

    #3D340C

    oklch(32.6% 0.058 96.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2C3151

    #2C3151

    oklch(32.4% 0.057 276)

  • #19364F

    #19364F

    oklch(32.3% 0.057 246.7)

  • #3B2C4B

    #3B2C4B

    oklch(32.4% 0.057 305.7)

Open the analogous palette in the generator

Split complementary

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

  • #2C3151

    #2C3151

    oklch(32.4% 0.057 276)

  • #482D10

    #482D10

    oklch(32.4% 0.058 64.9)

  • #2D3917

    #2D3917

    oklch(32.4% 0.057 125.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2C3151

    #2C3151

    oklch(32.4% 0.057 276)

  • #4D291F

    #4D291F

    oklch(32.5% 0.057 36.4)

  • #183D27

    #183D27

    oklch(32.6% 0.058 155.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2C3151

    #2C3151

    oklch(32.4% 0.057 276)

  • #4C272F

    #4C272F

    oklch(32.4% 0.056 6.8)

  • #3D340C

    #3D340C

    oklch(32.6% 0.058 96.2)

  • #003D38

    #003D38

    oklch(32.4% 0.057 185.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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