#2A3960

Closest named color: Prussian Blue (#1D3557). oklch(35.2% 0.071 266.9), rgb(42, 57, 96).

Aa

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

About this color

#2A3960 is a dark, moderately saturated blue. In OKLCH its lightness is 35%, its chroma 0.071 and its hue 267°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.027 away. White text reads best on it, at 11.33:1.

Hue familyBlues
Lightnessdark (35%)
Chromamoderately saturated (0.071)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.85:1
White text11.33:1

Values

HEX#2A3960
RGBrgb(42, 57, 96)
HSLhsl(223, 39%, 27%)
OKLCHoklch(35.2% 0.071 266.9)

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 #2A3960 11.33:1 AAA Lc -99.8 Preferred for body text
Black text on #2A3960 1.85:1 Fails Lc 7.8 Not readable
#2A3960 text on white 11.33:1 AAA Lc 96.0 Preferred for body text
#2A3960 text on black 1.85: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

    #F3F5FA

    oklch(97% 0.007 268.5)

  2. Step 100

    100

    #E5EAF5

    oklch(93.6% 0.016 266.3)

  3. Step 200

    200

    #D0D9ED

    oklch(88.5% 0.029 266.4)

  4. Step 300

    300

    #B1C0E4

    oklch(80.8% 0.054 267.4)

  5. Step 400

    400

    #889FD7

    oklch(70.6% 0.086 267)

  6. Step 500

    500

    #6B87CC

    oklch(63.1% 0.109 266.5)

  7. Step 600

    600

    #546FB9

    oklch(55.5% 0.12 267.3)

  8. Step 700

    700

    #445D9F

    oklch(49.1% 0.11 266.7)

  9. Step 800

    800

    #384C81

    oklch(42.7% 0.092 266.9)

  10. Step 900

    900 (this color)

    #2A3960

    oklch(35.2% 0.071 266.9)

  11. Step 950

    950

    #1C263D

    oklch(27.1% 0.045 265.6)

Export this scale for Tailwind in the Tailwind colors tool

#2A3960 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)#293D620.012
Deuteranopia (no green cones)#23385F0.010
Tritanopia (no blue cones)#1041480.062
Achromatopsia (no color)#3A3A3A0.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A3960

    #2A3960

    oklch(35.2% 0.071 266.9)

  • #4B3801

    #4B3801

    oklch(35.2% 0.071 87.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A3960

    #2A3960

    oklch(35.2% 0.071 266.9)

  • #09405B

    #09405B

    oklch(35.2% 0.071 236.4)

  • #3F325B

    #3F325B

    oklch(35.1% 0.071 297.2)

Open the analogous palette in the generator

Split complementary

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

  • #2A3960

    #2A3960

    oklch(35.2% 0.071 266.9)

  • #563010

    #563010

    oklch(35.1% 0.071 57.2)

  • #393F0D

    #393F0D

    oklch(35.1% 0.07 116.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A3960

    #2A3960

    oklch(35.2% 0.071 266.9)

  • #5A2B26

    #5A2B26

    oklch(35.1% 0.07 27.5)

  • #1F4524

    #1F4524

    oklch(35.3% 0.071 146.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A3960

    #2A3960

    oklch(35.2% 0.071 266.9)

  • #582A3B

    #582A3B

    oklch(35.3% 0.071 357.9)

  • #4B3801

    #4B3801

    oklch(35.2% 0.071 87.1)

  • #00463A

    #00463A

    oklch(35.2% 0.066 176.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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