#2A6BAD

Closest named color: Mid Blue (#276AB3). oklch(52% 0.123 251.7), rgb(42, 107, 173).

Aa

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

About this color

#2A6BAD is a medium-dark, moderately saturated blue. In OKLCH its lightness is 52%, its chroma 0.123 and its hue 252°. Its hue sits on the cool side of the wheel. The nearest named color is Mid Blue (#276AB3), ΔE 0.011 away. White text reads best on it, at 5.51:1.

Hue familyBlues
Lightnessmedium-dark (52%)
Chromamoderately saturated (0.123)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text3.80:1
White text5.51:1

Values

HEX#2A6BAD
RGBrgb(42, 107, 173)
HSLhsl(210, 61%, 42%)
OKLCHoklch(52% 0.123 251.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 #2A6BAD 5.51:1 AA Lc -82.5 Fine for body text
Black text on #2A6BAD 3.80:1 AA large text Lc 26.8 Dividers and decoration only
#2A6BAD text on white 5.51:1 AA Lc 77.2 Fine for body text
#2A6BAD text on black 3.80:1 AA large text Lc -24.5 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

    #E2EBF5

    oklch(93.6% 0.017 250.8)

  3. Step 200

    200

    #CADBEF

    oklch(88.5% 0.033 252.5)

  4. Step 300

    300

    #A5C4E7

    oklch(80.9% 0.06 251.7)

  5. Step 400

    400

    #74A4DB

    oklch(70.6% 0.096 252.5)

  6. Step 500

    500

    #4D8DD1

    oklch(63.1% 0.122 251.6)

  7. Step 600

    600

    #2E76BE

    oklch(55.7% 0.133 251.5)

  8. Step 700

    700 (this color)

    #2A6BAD

    oklch(52% 0.123 251.7)

  9. Step 800

    800

    #1D5185

    oklch(42.8% 0.102 251.5)

  10. Step 900

    900

    #1E436A

    oklch(37.6% 0.079 251.8)

  11. Step 950

    950

    #13283E

    oklch(27.1% 0.049 251.1)

Export this scale for Tailwind in the Tailwind colors tool

#2A6BAD 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)#4C6FB00.036
Deuteranopia (no green cones)#3863AC0.023
Tritanopia (no blue cones)#007B830.094
Achromatopsia (no color)#6969690.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A6BAD

    #2A6BAD

    oklch(52% 0.123 251.7)

  • #905C00

    #905C00

    oklch(52% 0.112 71.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A6BAD

    #2A6BAD

    oklch(52% 0.123 251.7)

  • #007590

    #007590

    oklch(52.1% 0.096 221.3)

  • #5E5EAD

    #5E5EAD

    oklch(52% 0.122 281.3)

Open the analogous palette in the generator

Split complementary

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

  • #2A6BAD

    #2A6BAD

    oklch(52% 0.123 251.7)

  • #A24C29

    #A24C29

    oklch(51.9% 0.124 41.6)

  • #766A00

    #766A00

    oklch(51.9% 0.109 101.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A6BAD

    #2A6BAD

    oklch(52% 0.123 251.7)

  • #A34656

    #A34656

    oklch(52% 0.124 11.8)

  • #4D7721

    #4D7721

    oklch(52% 0.124 132)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A6BAD

    #2A6BAD

    oklch(52% 0.123 251.7)

  • #97497D

    #97497D

    oklch(52% 0.123 341.7)

  • #905C00

    #905C00

    oklch(52% 0.112 71.4)

  • #007D54

    #007D54

    oklch(52.1% 0.115 161.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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