#2A5CAE

Closest named color: Mid Blue (#276AB3). oklch(48.6% 0.142 259.8), rgb(42, 92, 174).

Aa

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

About this color

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

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

Values

HEX#2A5CAE
RGBrgb(42, 92, 174)
HSLhsl(217, 61%, 42%)
OKLCHoklch(48.6% 0.142 259.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 #2A5CAE 6.48:1 AA Lc -86.9 Fine for body text
Black text on #2A5CAE 3.24:1 AA large text Lc 22.3 Dividers and decoration only
#2A5CAE text on white 6.48:1 AA Lc 81.8 Fine for body text
#2A5CAE text on black 3.24:1 AA large text Lc -20.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 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

    #78A1E5

    oklch(70.7% 0.11 260.2)

  6. Step 500

    500

    #5488DD

    oklch(63% 0.14 259.8)

  7. Step 600

    600

    #3970CB

    oklch(55.5% 0.153 259.9)

  8. Step 700

    700 (this color)

    #2A5CAE

    oklch(48.6% 0.142 259.8)

  9. Step 800

    800

    #254D8E

    oklch(42.8% 0.117 259.7)

  10. Step 900

    900

    #234071

    oklch(37.6% 0.091 260.3)

  11. Step 950

    950

    #152642

    oklch(27% 0.057 259.9)

Export this scale for Tailwind in the Tailwind colors tool

#2A5CAE 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)#3065B10.026
Deuteranopia (no green cones)#0D58AC0.022
Tritanopia (no blue cones)#006F7C0.111
Achromatopsia (no color)#5E5E5E0.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A5CAE

    #2A5CAE

    oklch(48.6% 0.142 259.8)

  • #7D5800

    #7D5800

    oklch(48.7% 0.101 80.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A5CAE

    #2A5CAE

    oklch(48.6% 0.142 259.8)

  • #00698B

    #00698B

    oklch(48.7% 0.096 229.3)

  • #604DA9

    #604DA9

    oklch(48.7% 0.142 289.6)

Open the analogous palette in the generator

Split complementary

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

  • #2A5CAE

    #2A5CAE

    oklch(48.6% 0.142 259.8)

  • #964400

    #964400

    oklch(48.5% 0.128 50)

  • #646400

    #646400

    oklch(48.7% 0.106 109.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A5CAE

    #2A5CAE

    oklch(48.6% 0.142 259.8)

  • #A0343D

    #A0343D

    oklch(48.6% 0.142 19.5)

  • #2A7116

    #2A7116

    oklch(48.5% 0.142 139.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A5CAE

    #2A5CAE

    oklch(48.6% 0.142 259.8)

  • #97366B

    #97366B

    oklch(48.7% 0.142 349.8)

  • #7D5800

    #7D5800

    oklch(48.7% 0.101 80.2)

  • #007057

    #007057

    oklch(48.5% 0.096 170.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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