#2A579A

Closest named color: Dusk Blue (#26538D). oklch(46.1% 0.12 258.3), rgb(42, 87, 154).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.120)
Temperaturecool
Nearest nameDusk Blue (#26538D)
Black text2.92:1
White text7.17:1

Values

HEX#2A579A
RGBrgb(42, 87, 154)
HSLhsl(216, 57%, 38%)
OKLCHoklch(46.1% 0.12 258.3)

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 #2A579A 7.17:1 AAA Lc -89.5 Fine for body text
Black text on #2A579A 2.92:1 Fails Lc 19.5 Dividers and decoration only
#2A579A text on white 7.17:1 AAA Lc 84.6 Fine for body text
#2A579A text on black 2.92:1 Fails Lc -17.4 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 700.

  1. Step 50

    50

    #F2F6FB

    oklch(97.2% 0.008 253.9)

  2. Step 100

    100

    #E3EAF5

    oklch(93.5% 0.017 259.4)

  3. Step 200

    200

    #CCDAEF

    oklch(88.4% 0.033 258.4)

  4. Step 300

    300

    #AAC2E7

    oklch(80.9% 0.059 259)

  5. Step 400

    400

    #7DA2DB

    oklch(70.7% 0.093 258.8)

  6. Step 500

    500

    #5B8AD1

    oklch(63.1% 0.119 258.4)

  7. Step 600

    600

    #4173BE

    oklch(55.7% 0.129 258.3)

  8. Step 700

    700 (this color)

    #2A579A

    oklch(46.1% 0.12 258.3)

  9. Step 800

    800

    #2A4E85

    oklch(42.6% 0.101 258.7)

  10. Step 900

    900

    #27426A

    oklch(37.8% 0.076 258.1)

  11. Step 950

    950

    #17273E

    oklch(27.1% 0.048 257.5)

Export this scale for Tailwind in the Tailwind colors tool

#2A579A 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)#375D9D0.023
Deuteranopia (no green cones)#2353990.014
Tritanopia (no blue cones)#0067710.095
Achromatopsia (no color)#5757570.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A579A

    #2A579A

    oklch(46.1% 0.12 258.3)

  • #755000

    #755000

    oklch(46% 0.096 78)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A579A

    #2A579A

    oklch(46.1% 0.12 258.3)

  • #006180

    #006180

    oklch(46% 0.09 228.7)

  • #574A96

    #574A96

    oklch(46% 0.12 288.6)

Open the analogous palette in the generator

Split complementary

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

  • #2A579A

    #2A579A

    oklch(46.1% 0.12 258.3)

  • #8C3F09

    #8C3F09

    oklch(46.2% 0.12 48.3)

  • #5E5C00

    #5E5C00

    oklch(46.2% 0.1 108.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A579A

    #2A579A

    oklch(46.1% 0.12 258.3)

  • #8F373E

    #8F373E

    oklch(46.1% 0.119 18.3)

  • #32671D

    #32671D

    oklch(46% 0.12 138.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A579A

    #2A579A

    oklch(46.1% 0.12 258.3)

  • #873864

    #873864

    oklch(46.2% 0.12 348.3)

  • #755000

    #755000

    oklch(46% 0.096 78)

  • #00684F

    #00684F

    oklch(46% 0.092 169)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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