#2A7ADB

Closest named color: Windows Blue (#3778BF). oklch(58.3% 0.167 255.7), rgb(42, 122, 219).

Aa

Black text reads best on this color (4.90:1).

About this color

#2A7ADB is a medium-dark, vivid blue. In OKLCH its lightness is 58%, its chroma 0.167 and its hue 256°. Its hue sits on the cool side of the wheel. The nearest named color is Windows Blue (#3778BF), ΔE 0.043 away. Black text reads best on it, at 4.90:1.

Hue familyBlues
Lightnessmedium-dark (58%)
Chromavivid (0.167)
Temperaturecool
Nearest nameWindows Blue (#3778BF)
Black text4.90:1
White text4.28:1

Values

HEX#2A7ADB
RGBrgb(42, 122, 219)
HSLhsl(213, 71%, 51%)
OKLCHoklch(58.3% 0.167 255.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 #2A7ADB 4.28:1 AA large text Lc -74.6 Content text, not long reading
Black text on #2A7ADB 4.90:1 AA Lc 35.0 Non-text elements, placeholder text
#2A7ADB text on white 4.28:1 AA large text Lc 69.1 Content text, not long reading
#2A7ADB text on black 4.90:1 AA Lc -32.5 Non-text elements, placeholder text

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 600.

  1. Step 50

    50

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E1EBF9

    oklch(93.7% 0.022 256.7)

  3. Step 200

    200

    #C7DBF5

    oklch(88.5% 0.042 255)

  4. Step 300

    300

    #A1C3F1

    oklch(80.8% 0.075 256.1)

  5. Step 400

    400

    #6DA3EA

    oklch(70.7% 0.119 255.7)

  6. Step 500

    500

    #438AE4

    oklch(63.1% 0.154 255.6)

  7. Step 600

    600 (this color)

    #2A7ADB

    oklch(58.3% 0.167 255.7)

  8. Step 700

    700

    #115FB6

    oklch(49.2% 0.155 255.6)

  9. Step 800

    800

    #134E93

    oklch(42.8% 0.128 255.6)

  10. Step 900

    900

    #184175

    oklch(37.6% 0.1 256)

  11. Step 950

    950

    #0F2745

    oklch(27.1% 0.064 255.3)

Export this scale for Tailwind in the Tailwind colors tool

#2A7ADB 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)#4783DF0.036
Deuteranopia (no green cones)#2073D90.021
Tritanopia (no blue cones)#0091A00.126
Achromatopsia (no color)#7A7A7A0.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A7ADB

    #2A7ADB

    oklch(58.3% 0.167 255.7)

  • #A46F00

    #A46F00

    oklch(58.2% 0.122 75.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A7ADB

    #2A7ADB

    oklch(58.3% 0.167 255.7)

  • #0088AD

    #0088AD

    oklch(58.3% 0.111 225.6)

  • #7567D8

    #7567D8

    oklch(58.3% 0.167 285.6)

Open the analogous palette in the generator

Split complementary

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

  • #2A7ADB

    #2A7ADB

    oklch(58.3% 0.167 255.7)

  • #C65300

    #C65300

    oklch(58.3% 0.164 45.8)

  • #867F00

    #867F00

    oklch(58.4% 0.124 105.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A7ADB

    #2A7ADB

    oklch(58.3% 0.167 255.7)

  • #CA4659

    #CA4659

    oklch(58.2% 0.167 15.6)

  • #49900F

    #49900F

    oklch(58.4% 0.167 135.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A7ADB

    #2A7ADB

    oklch(58.3% 0.167 255.7)

  • #BD4A90

    #BD4A90

    oklch(58.4% 0.166 346)

  • #A46F00

    #A46F00

    oklch(58.2% 0.122 75.8)

  • #00916A

    #00916A

    oklch(58.2% 0.121 165.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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