#2A5AAE

Closest named color: Mid Blue (#276AB3). oklch(48.2% 0.144 260.7), rgb(42, 90, 174).

Aa

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

About this color

#2A5AAE is a medium-dark, vivid blue. In OKLCH its lightness is 48%, its chroma 0.144 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Mid Blue (#276AB3), ΔE 0.044 away. White text reads best on it, at 6.62:1.

Hue familyBlues
Lightnessmedium-dark (48%)
Chromavivid (0.144)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text3.17:1
White text6.62:1

Values

HEX#2A5AAE
RGBrgb(42, 90, 174)
HSLhsl(218, 61%, 42%)
OKLCHoklch(48.2% 0.144 260.7)

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 #2A5AAE 6.62:1 AA Lc -87.4 Fine for body text
Black text on #2A5AAE 3.17:1 AA large text Lc 21.7 Dividers and decoration only
#2A5AAE text on white 6.62:1 AA Lc 82.3 Fine for body text
#2A5AAE text on black 3.17:1 AA large text Lc -19.6 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

    #F2F6FC

    oklch(97.2% 0.009 258.3)

  2. Step 100

    100

    #E2EAF8

    oklch(93.5% 0.021 261.8)

  3. Step 200

    200

    #CBDAF3

    oklch(88.5% 0.038 260.7)

  4. Step 300

    300

    #A7C2EE

    oklch(80.9% 0.069 260.1)

  5. Step 400

    400

    #78A1E6

    oklch(70.7% 0.111 260.5)

  6. Step 500

    500

    #5588DF

    oklch(63.2% 0.143 260.4)

  7. Step 600

    600

    #3A70CD

    oklch(55.7% 0.155 260.5)

  8. Step 700

    700 (this color)

    #2A5AAE

    oklch(48.2% 0.144 260.7)

  9. Step 800

    800

    #264C8F

    oklch(42.6% 0.119 260.8)

  10. Step 900

    900

    #234072

    oklch(37.6% 0.093 260.6)

  11. Step 950

    950

    #152643

    oklch(27% 0.059 260.5)

Export this scale for Tailwind in the Tailwind colors tool

#2A5AAE 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)#2B63B10.025
Deuteranopia (no green cones)#0057AC0.024
Tritanopia (no blue cones)#006E7B0.114
Achromatopsia (no color)#5D5D5D0.144

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A5AAE

    #2A5AAE

    oklch(48.2% 0.144 260.7)

  • #7B5700

    #7B5700

    oklch(48.3% 0.1 80.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A5AAE

    #2A5AAE

    oklch(48.2% 0.144 260.7)

  • #00678A

    #00678A

    oklch(48.1% 0.097 230.5)

  • #604AA8

    #604AA8

    oklch(48.1% 0.145 290.7)

Open the analogous palette in the generator

Split complementary

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

  • #2A5AAE

    #2A5AAE

    oklch(48.2% 0.144 260.7)

  • #944400

    #944400

    oklch(48.2% 0.126 50.6)

  • #616300

    #616300

    oklch(48.2% 0.106 111.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A5AAE

    #2A5AAE

    oklch(48.2% 0.144 260.7)

  • #9F3239

    #9F3239

    oklch(48.1% 0.144 20.8)

  • #247014

    #247014

    oklch(48% 0.144 140.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A5AAE

    #2A5AAE

    oklch(48.2% 0.144 260.7)

  • #963368

    #963368

    oklch(48.1% 0.144 350.7)

  • #7B5700

    #7B5700

    oklch(48.3% 0.1 80.7)

  • #006F56

    #006F56

    oklch(48.2% 0.095 170.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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