#2A3158

Closest named color: Prussian Blue (#1D3557). oklch(32.7% 0.07 274.2), rgb(42, 49, 88).

Aa

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

About this color

#2A3158 is a dark, muted blue. In OKLCH its lightness is 33%, its chroma 0.070 and its hue 274°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.020 away. White text reads best on it, at 12.50:1.

Hue familyBlues
Lightnessdark (33%)
Chromamuted (0.070)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.67:1
White text12.50:1

Values

HEX#2A3158
RGBrgb(42, 49, 88)
HSLhsl(231, 35%, 25%)
OKLCHoklch(32.7% 0.07 274.2)

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 #2A3158 12.50:1 AAA Lc -101.7 Preferred for body text
Black text on #2A3158 1.67:1 Fails Lc 0.0 Not readable
#2A3158 text on white 12.50:1 AAA Lc 98.3 Preferred for body text
#2A3158 text on black 1.67: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

    #F4F5FA

    oklch(97.1% 0.007 277.2)

  2. Step 100

    100

    #E6E9F4

    oklch(93.5% 0.015 273.8)

  3. Step 200

    200

    #D3D8ED

    oklch(88.5% 0.029 275.1)

  4. Step 300

    300

    #B6BFE3

    oklch(81% 0.052 274.2)

  5. Step 400

    400

    #909DD5

    oklch(70.7% 0.083 274)

  6. Step 500

    500

    #7684CA

    oklch(63.1% 0.107 274.3)

  7. Step 600

    600

    #5F6CB7

    oklch(55.5% 0.117 274.5)

  8. Step 700

    700

    #4F5A9D

    oklch(49.1% 0.108 274.7)

  9. Step 800

    800

    #404A7F

    oklch(42.6% 0.089 274)

  10. Step 900

    900 (this color)

    #2A3158

    oklch(32.7% 0.07 274.2)

  11. Step 950

    950

    #20253C

    oklch(27.1% 0.043 273.8)

Export this scale for Tailwind in the Tailwind colors tool

#2A3158 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)#22365A0.017
Deuteranopia (no green cones)#1E32570.017
Tritanopia (no blue cones)#1839400.061
Achromatopsia (no color)#3434340.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A3158

    #2A3158

    oklch(32.7% 0.07 274.2)

  • #403400

    #403400

    oklch(32.8% 0.067 94.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A3158

    #2A3158

    oklch(32.7% 0.07 274.2)

  • #0E3856

    #0E3856

    oklch(32.9% 0.07 244.3)

  • #3D2B51

    #3D2B51

    oklch(32.8% 0.069 304.7)

Open the analogous palette in the generator

Split complementary

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

  • #2A3158

    #2A3158

    oklch(32.7% 0.07 274.2)

  • #4D2C05

    #4D2C05

    oklch(32.8% 0.07 64.3)

  • #2D3A0D

    #2D3A0D

    oklch(32.6% 0.069 124.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A3158

    #2A3158

    oklch(32.7% 0.07 274.2)

  • #52261B

    #52261B

    oklch(32.7% 0.069 35.1)

  • #103F24

    #103F24

    oklch(32.8% 0.07 154.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A3158

    #2A3158

    oklch(32.7% 0.07 274.2)

  • #512430

    #512430

    oklch(32.7% 0.069 4.7)

  • #403400

    #403400

    oklch(32.8% 0.067 94.7)

  • #003E38

    #003E38

    oklch(32.7% 0.058 184.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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