#2A2D5F

Closest named color: Prussian Blue (#1D3557). oklch(32.3% 0.087 277.7), rgb(42, 45, 95).

Aa

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

About this color

#2A2D5F is a dark, moderately saturated blue. In OKLCH its lightness is 32%, its chroma 0.087 and its hue 278°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.034 away. White text reads best on it, at 12.81:1.

Hue familyBlues
Lightnessdark (32%)
Chromamoderately saturated (0.087)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.63:1
White text12.81:1

Values

HEX#2A2D5F
RGBrgb(42, 45, 95)
HSLhsl(237, 39%, 27%)
OKLCHoklch(32.3% 0.087 277.7)

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 #2A2D5F 12.81:1 AAA Lc -102.1 Preferred for body text
Black text on #2A2D5F 1.63:1 Fails Lc 0.0 Not readable
#2A2D5F text on white 12.81:1 AAA Lc 98.8 Preferred for body text
#2A2D5F text on black 1.63: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 950.

  1. Step 50

    50

    #F3F5FF

    oklch(97.2% 0.013 277.1)

  2. Step 100

    100

    #E5E8FE

    oklch(93.5% 0.03 279.6)

  3. Step 200

    200

    #D0D6FF

    oklch(88.5% 0.057 278.6)

  4. Step 300

    300

    #B1BBFF

    oklch(80.9% 0.097 277.5)

  5. Step 400

    400

    #8B94FF

    oklch(70.6% 0.155 278)

  6. Step 500

    500

    #7175FF

    oklch(63.1% 0.201 277.7)

  7. Step 600

    600

    #5C55F5

    oklch(55.6% 0.231 277.7)

  8. Step 700

    700

    #4D44D5

    oklch(49.2% 0.213 277.9)

  9. Step 800

    800

    #3E39AC

    oklch(42.6% 0.177 277.7)

  10. Step 900

    900

    #343388

    oklch(37.6% 0.138 278)

  11. Step 950

    950 (this color)

    #2A2D5F

    oklch(32.3% 0.087 277.7)

Export this scale for Tailwind in the Tailwind colors tool

#2A2D5F 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)#1534610.030
Deuteranopia (no green cones)#10305E0.032
Tritanopia (no blue cones)#1338410.077
Achromatopsia (no color)#3232320.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A2D5F

    #2A2D5F

    oklch(32.3% 0.087 277.7)

  • #3D3300

    #3D3300

    oklch(32.2% 0.066 97.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A2D5F

    #2A2D5F

    oklch(32.3% 0.087 277.7)

  • #00365D

    #00365D

    oklch(32.4% 0.086 247.4)

  • #402555

    #402555

    oklch(32.3% 0.087 308.3)

Open the analogous palette in the generator

Split complementary

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

  • #2A2D5F

    #2A2D5F

    oklch(32.3% 0.087 277.7)

  • #4B2B00

    #4B2B00

    oklch(32.2% 0.071 67.2)

  • #273B00

    #273B00

    oklch(32.3% 0.084 127.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A2D5F

    #2A2D5F

    oklch(32.3% 0.087 277.7)

  • #57200E

    #57200E

    oklch(32.3% 0.087 38.1)

  • #003F24

    #003F24

    oklch(32.4% 0.076 157.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A2D5F

    #2A2D5F

    oklch(32.3% 0.087 277.7)

  • #571C2B

    #571C2B

    oklch(32.3% 0.088 7.9)

  • #3D3300

    #3D3300

    oklch(32.2% 0.066 97.1)

  • #003D39

    #003D39

    oklch(32.4% 0.056 187.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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