#2A285A

Closest named color: Prussian Blue (#1D3557). oklch(30.8% 0.087 281.8), rgb(42, 40, 90).

Aa

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

About this color

#2A285A is a dark, moderately saturated purple. In OKLCH its lightness is 31%, its chroma 0.087 and its hue 282°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.043 away. White text reads best on it, at 13.55:1.

Hue familyPurples
Lightnessdark (31%)
Chromamoderately saturated (0.087)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.54:1
White text13.55:1

Values

HEX#2A285A
RGBrgb(42, 40, 90)
HSLhsl(242, 38%, 25%)
OKLCHoklch(30.8% 0.087 281.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 #2A285A 13.55:1 AAA Lc -103.0 Preferred for body text
Black text on #2A285A 1.54:1 Fails Lc 0.0 Not readable
#2A285A text on white 13.55:1 AAA Lc 99.9 Preferred for body text
#2A285A text on black 1.54: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

    #F4F5FF

    oklch(97.2% 0.013 281.6)

  2. Step 100

    100

    #E6E8FE

    oklch(93.6% 0.03 281.7)

  3. Step 200

    200

    #D2D5FF

    oklch(88.4% 0.058 281.9)

  4. Step 300

    300

    #B6B9FF

    oklch(80.9% 0.099 282.1)

  5. Step 400

    400

    #9292FF

    oklch(70.8% 0.157 281.6)

  6. Step 500

    500

    #7A71FF

    oklch(63.1% 0.204 281.7)

  7. Step 600

    600

    #6652F2

    oklch(55.6% 0.228 281.7)

  8. Step 700

    700

    #5640D3

    oklch(49.1% 0.213 281.9)

  9. Step 800

    800

    #4637AA

    oklch(42.8% 0.175 281.9)

  10. Step 900

    900

    #393187

    oklch(37.6% 0.138 281.6)

  11. Step 950

    950 (this color)

    #2A285A

    oklch(30.8% 0.087 281.8)

Export this scale for Tailwind in the Tailwind colors tool

#2A285A 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)#0F305C0.038
Deuteranopia (no green cones)#0B2C590.039
Tritanopia (no blue cones)#18333C0.076
Achromatopsia (no color)#2E2E2E0.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A285A

    #2A285A

    oklch(30.8% 0.087 281.8)

  • #373100

    #373100

    oklch(31% 0.065 102)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A285A

    #2A285A

    oklch(30.8% 0.087 281.8)

  • #04305A

    #04305A

    oklch(30.7% 0.088 252.3)

  • #3E204F

    #3E204F

    oklch(30.7% 0.087 311.8)

Open the analogous palette in the generator

Split complementary

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

  • #2A285A

    #2A285A

    oklch(30.8% 0.087 281.8)

  • #442900

    #442900

    oklch(30.7% 0.066 71.4)

  • #1F3800

    #1F3800

    oklch(30.8% 0.085 131.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A285A

    #2A285A

    oklch(30.8% 0.087 281.8)

  • #521D04

    #521D04

    oklch(30.8% 0.087 42.5)

  • #003A25

    #003A25

    oklch(30.8% 0.068 162)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A285A

    #2A285A

    oklch(30.8% 0.087 281.8)

  • #531824

    #531824

    oklch(30.8% 0.088 11.8)

  • #373100

    #373100

    oklch(31% 0.065 102)

  • #003837

    #003837

    oklch(30.8% 0.053 192.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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