#2A2C5B

Closest named color: Prussian Blue (#1D3557). oklch(31.8% 0.082 278.8), rgb(42, 44, 91).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (32%)
Chromamoderately saturated (0.082)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.60:1
White text13.04:1

Values

HEX#2A2C5B
RGBrgb(42, 44, 91)
HSLhsl(238, 37%, 26%)
OKLCHoklch(31.8% 0.082 278.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 #2A2C5B 13.04:1 AAA Lc -102.4 Preferred for body text
Black text on #2A2C5B 1.60:1 Fails Lc 0.0 Not readable
#2A2C5B text on white 13.04:1 AAA Lc 99.2 Preferred for body text
#2A2C5B text on black 1.60: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

    #F3F5FE

    oklch(97.1% 0.012 276.1)

  2. Step 100

    100

    #E5E8FD

    oklch(93.5% 0.029 279.4)

  3. Step 200

    200

    #D1D6FD

    oklch(88.5% 0.054 279.5)

  4. Step 300

    300

    #B2BBFF

    oklch(81% 0.097 278.2)

  5. Step 400

    400

    #8D94FF

    oklch(70.8% 0.155 278.8)

  6. Step 500

    500

    #7474FE

    oklch(63.1% 0.2 279)

  7. Step 600

    600

    #5F58ED

    oklch(55.6% 0.217 278.8)

  8. Step 700

    700

    #4F46CE

    oklch(49% 0.202 278.8)

  9. Step 800

    800

    #403BA7

    oklch(42.7% 0.168 278.6)

  10. Step 900

    900

    #363484

    oklch(37.7% 0.13 279.2)

  11. Step 950

    950 (this color)

    #2A2C5B

    oklch(31.8% 0.082 278.8)

Export this scale for Tailwind in the Tailwind colors tool

#2A2C5B 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)#17335D0.030
Deuteranopia (no green cones)#132F5A0.030
Tritanopia (no blue cones)#17363F0.071
Achromatopsia (no color)#3131310.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A2C5B

    #2A2C5B

    oklch(31.8% 0.082 278.8)

  • #3B3200

    #3B3200

    oklch(31.7% 0.066 98.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A2C5B

    #2A2C5B

    oklch(31.8% 0.082 278.8)

  • #05345A

    #05345A

    oklch(31.8% 0.083 249)

  • #3E2552

    #3E2552

    oklch(31.8% 0.082 308.1)

Open the analogous palette in the generator

Split complementary

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

  • #2A2C5B

    #2A2C5B

    oklch(31.8% 0.082 278.8)

  • #492A00

    #492A00

    oklch(31.7% 0.07 67.7)

  • #253A02

    #253A02

    oklch(31.9% 0.082 129)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A2C5B

    #2A2C5B

    oklch(31.8% 0.082 278.8)

  • #54200E

    #54200E

    oklch(31.8% 0.083 38.9)

  • #003D24

    #003D24

    oklch(31.7% 0.073 158.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A2C5B

    #2A2C5B

    oklch(31.8% 0.082 278.8)

  • #541D2A

    #541D2A

    oklch(31.9% 0.083 8.5)

  • #3B3200

    #3B3200

    oklch(31.7% 0.066 98.2)

  • #003B38

    #003B38

    oklch(31.8% 0.055 189.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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