#2A528B

Closest named color: Dusk Blue (#26538D). oklch(43.9% 0.105 257.5), rgb(42, 82, 139).

Aa

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

About this color

#2A528B is a dark, moderately saturated blue. In OKLCH its lightness is 44%, its chroma 0.105 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk Blue (#26538D), ΔE 0.005 away. White text reads best on it, at 7.84:1.

Hue familyBlues
Lightnessdark (44%)
Chromamoderately saturated (0.105)
Temperaturecool
Nearest nameDusk Blue (#26538D)
Black text2.67:1
White text7.84:1

Values

HEX#2A528B
RGBrgb(42, 82, 139)
HSLhsl(215, 54%, 35%)
OKLCHoklch(43.9% 0.105 257.5)

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 #2A528B 7.84:1 AAA Lc -91.7 Preferred for body text
Black text on #2A528B 2.67:1 Fails Lc 17.0 Dividers and decoration only
#2A528B text on white 7.84:1 AAA Lc 87.0 Fine for body text
#2A528B text on black 2.67:1 Fails Lc -15.1 Dividers and decoration only

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 800.

  1. Step 50

    50

    #F2F6FB

    oklch(97.2% 0.008 253.9)

  2. Step 100

    100

    #E3EBF6

    oklch(93.7% 0.017 256.3)

  3. Step 200

    200

    #CBDAF0

    oklch(88.4% 0.034 257.9)

  4. Step 300

    300

    #A8C3E9

    oklch(81% 0.061 256.9)

  5. Step 400

    400

    #7AA2DD

    oklch(70.6% 0.098 258)

  6. Step 500

    500

    #578AD4

    oklch(63.1% 0.125 257.7)

  7. Step 600

    600

    #3B73C1

    oklch(55.6% 0.135 257.2)

  8. Step 700

    700

    #2D60A7

    oklch(49.1% 0.126 257.3)

  9. Step 800

    800 (this color)

    #2A528B

    oklch(43.9% 0.105 257.5)

  10. Step 900

    900

    #24426C

    oklch(37.8% 0.081 257.1)

  11. Step 950

    950

    #16273F

    oklch(27.1% 0.05 257.1)

Export this scale for Tailwind in the Tailwind colors tool

#2A528B 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)#38578D0.023
Deuteranopia (no green cones)#294E8A0.012
Tritanopia (no blue cones)#005F670.084
Achromatopsia (no color)#5252520.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A528B

    #2A528B

    oklch(43.9% 0.105 257.5)

  • #6E4B00

    #6E4B00

    oklch(44% 0.092 78)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A528B

    #2A528B

    oklch(43.9% 0.105 257.5)

  • #005B77

    #005B77

    oklch(44% 0.085 227.5)

  • #504788

    #504788

    oklch(43.9% 0.104 287.7)

Open the analogous palette in the generator

Split complementary

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

  • #2A528B

    #2A528B

    oklch(43.9% 0.105 257.5)

  • #7F3D16

    #7F3D16

    oklch(43.9% 0.104 47.6)

  • #585500

    #585500

    oklch(43.8% 0.094 107.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A528B

    #2A528B

    oklch(43.9% 0.105 257.5)

  • #82363C

    #82363C

    oklch(43.9% 0.105 17.7)

  • #335F21

    #335F21

    oklch(43.9% 0.104 137.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A528B

    #2A528B

    oklch(43.9% 0.105 257.5)

  • #7A375D

    #7A375D

    oklch(43.8% 0.105 347.1)

  • #6E4B00

    #6E4B00

    oklch(44% 0.092 78)

  • #006248

    #006248

    oklch(44% 0.09 167.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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