#2A5381

Closest named color: Dusk Blue (#26538D). oklch(43.5% 0.089 252.9), rgb(42, 83, 129).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (44%)
Chromamoderately saturated (0.089)
Temperaturecool
Nearest nameDusk Blue (#26538D)
Black text2.65:1
White text7.91:1

Values

HEX#2A5381
RGBrgb(42, 83, 129)
HSLhsl(212, 51%, 34%)
OKLCHoklch(43.5% 0.089 252.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 #2A5381 7.91:1 AAA Lc -92.0 Preferred for body text
Black text on #2A5381 2.65:1 Fails Lc 16.8 Dividers and decoration only
#2A5381 text on white 7.91:1 AAA Lc 87.2 Fine for body text
#2A5381 text on black 2.65:1 Fails Lc -14.9 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 800.

  1. Step 50

    50

    #F2F6FA

    oklch(97.1% 0.007 247.9)

  2. Step 100

    100

    #E3EBF4

    oklch(93.7% 0.015 251.2)

  3. Step 200

    200

    #CCDBEC

    oklch(88.5% 0.029 251.5)

  4. Step 300

    300

    #A9C3E2

    oklch(80.8% 0.052 253)

  5. Step 400

    400

    #7BA4D4

    oklch(70.7% 0.084 252.9)

  6. Step 500

    500

    #588DC8

    oklch(63.2% 0.106 252.2)

  7. Step 600

    600

    #3D76B5

    oklch(55.7% 0.115 252.6)

  8. Step 700

    700

    #2F639C

    oklch(49.2% 0.107 252.7)

  9. Step 800

    800 (this color)

    #2A5381

    oklch(43.5% 0.089 252.9)

  10. Step 900

    900

    #254366

    oklch(37.7% 0.07 253.4)

  11. Step 950

    950

    #16273B

    oklch(26.8% 0.044 253.3)

Export this scale for Tailwind in the Tailwind colors tool

#2A5381 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)#3F56830.027
Deuteranopia (no green cones)#334D800.019
Tritanopia (no blue cones)#005E640.071
Achromatopsia (no color)#5151510.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A5381

    #2A5381

    oklch(43.5% 0.089 252.9)

  • #6F4807

    #6F4807

    oklch(43.6% 0.09 72.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A5381

    #2A5381

    oklch(43.5% 0.089 252.9)

  • #005A72

    #005A72

    oklch(43.4% 0.082 223.9)

  • #4B4A81

    #4B4A81

    oklch(43.6% 0.089 282.9)

Open the analogous palette in the generator

Split complementary

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

  • #2A5381

    #2A5381

    oklch(43.5% 0.089 252.9)

  • #793F26

    #793F26

    oklch(43.5% 0.089 43.2)

  • #5B5305

    #5B5305

    oklch(43.7% 0.089 102.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A5381

    #2A5381

    oklch(43.5% 0.089 252.9)

  • #7A3A43

    #7A3A43

    oklch(43.4% 0.089 12.7)

  • #3D5B24

    #3D5B24

    oklch(43.4% 0.089 132.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A5381

    #2A5381

    oklch(43.5% 0.089 252.9)

  • #723C5E

    #723C5E

    oklch(43.5% 0.088 342.9)

  • #6F4807

    #6F4807

    oklch(43.6% 0.09 72.5)

  • #0D6043

    #0D6043

    oklch(43.5% 0.089 163.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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