#2A7FBD

Closest named color: Windows Blue (#3778BF). oklch(57.6% 0.124 244.9), rgb(42, 127, 189).

Aa

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

About this color

#2A7FBD is a medium-dark, moderately saturated blue. In OKLCH its lightness is 58%, its chroma 0.124 and its hue 245°. Its hue sits on the cool side of the wheel. The nearest named color is Windows Blue (#3778BF), ΔE 0.021 away. Black text reads best on it, at 4.86:1.

Hue familyBlues
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.124)
Temperaturecool
Nearest nameWindows Blue (#3778BF)
Black text4.86:1
White text4.31:1

Values

HEX#2A7FBD
RGBrgb(42, 127, 189)
HSLhsl(205, 64%, 45%)
OKLCHoklch(57.6% 0.124 244.9)

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 #2A7FBD 4.31:1 AA large text Lc -75.0 Content text, not long reading
Black text on #2A7FBD 4.86:1 AA Lc 34.6 Non-text elements, placeholder text
#2A7FBD text on white 4.31:1 AA large text Lc 69.5 Content text, not long reading
#2A7FBD text on black 4.86:1 AA Lc -32.2 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

    #F1F6FA

    oklch(97.1% 0.008 241.7)

  2. Step 100

    100

    #E1EBF4

    oklch(93.5% 0.016 245.1)

  3. Step 200

    200

    #C9DCED

    oklch(88.6% 0.031 245.1)

  4. Step 300

    300

    #A3C5E3

    oklch(80.9% 0.056 245.2)

  5. Step 400

    400

    #70A7D5

    oklch(70.8% 0.089 244.8)

  6. Step 500

    500

    #4690CA

    oklch(63.2% 0.115 244.8)

  7. Step 600

    600 (this color)

    #2A7FBD

    oklch(57.6% 0.124 244.9)

  8. Step 700

    700

    #13669D

    oklch(49.2% 0.115 244.5)

  9. Step 800

    800

    #14537F

    oklch(42.7% 0.095 244.6)

  10. Step 900

    900

    #194566

    oklch(37.7% 0.074 244.5)

  11. Step 950

    950

    #10293C

    oklch(27.1% 0.047 243.8)

Export this scale for Tailwind in the Tailwind colors tool

#2A7FBD 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)#6281C00.052
Deuteranopia (no green cones)#4D74BC0.038
Tritanopia (no blue cones)#008E950.088
Achromatopsia (no color)#7A7A7A0.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A7FBD

    #2A7FBD

    oklch(57.6% 0.124 244.9)

  • #AA6711

    #AA6711

    oklch(57.5% 0.124 64.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A7FBD

    #2A7FBD

    oklch(57.6% 0.124 244.9)

  • #00889E

    #00889E

    oklch(57.6% 0.101 214.3)

  • #6471C2

    #6471C2

    oklch(57.5% 0.125 274.9)

Open the analogous palette in the generator

Split complementary

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

  • #2A7FBD

    #2A7FBD

    oklch(57.6% 0.124 244.9)

  • #B65B44

    #B65B44

    oklch(57.6% 0.124 35.3)

  • #8F7700

    #8F7700

    oklch(57.5% 0.118 94.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A7FBD

    #2A7FBD

    oklch(57.6% 0.124 244.9)

  • #B4566F

    #B4566F

    oklch(57.5% 0.124 5)

  • #698527

    #698527

    oklch(57.6% 0.124 124.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A7FBD

    #2A7FBD

    oklch(57.6% 0.124 244.9)

  • #A55A96

    #A55A96

    oklch(57.5% 0.125 335)

  • #AA6711

    #AA6711

    oklch(57.5% 0.124 64.9)

  • #2A8E57

    #2A8E57

    oklch(57.6% 0.125 154.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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