#2A7BB8

Closest named color: Windows Blue (#3778BF). oklch(56.4% 0.122 245.5), rgb(42, 123, 184).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.122)
Temperaturecool
Nearest nameWindows Blue (#3778BF)
Black text4.62:1
White text4.54:1

Values

HEX#2A7BB8
RGBrgb(42, 123, 184)
HSLhsl(206, 63%, 44%)
OKLCHoklch(56.4% 0.122 245.5)

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 #2A7BB8 4.54:1 AA Lc -76.6 Fine for body text
Black text on #2A7BB8 4.62:1 AA Lc 32.9 Non-text elements, placeholder text
#2A7BB8 text on white 4.54:1 AA Lc 71.2 Content text, not long reading
#2A7BB8 text on black 4.62:1 AA Lc -30.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

    #F2F6FA

    oklch(97.1% 0.007 247.9)

  2. Step 100

    100

    #E2EBF4

    oklch(93.6% 0.016 248)

  3. Step 200

    200

    #C9DCEC

    oklch(88.5% 0.03 243.4)

  4. Step 300

    300

    #A4C5E2

    oklch(80.9% 0.054 245.1)

  5. Step 400

    400

    #71A6D4

    oklch(70.6% 0.088 245.7)

  6. Step 500

    500

    #498FC9

    oklch(63% 0.113 245.9)

  7. Step 600

    600 (this color)

    #2A7BB8

    oklch(56.4% 0.122 245.5)

  8. Step 700

    700

    #18659C

    oklch(49% 0.113 245.5)

  9. Step 800

    800

    #18537F

    oklch(42.8% 0.094 245.5)

  10. Step 900

    900

    #1B4566

    oklch(37.8% 0.073 245.3)

  11. Step 950

    950

    #11283C

    oklch(26.9% 0.047 246.9)

Export this scale for Tailwind in the Tailwind colors tool

#2A7BB8 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)#5F7DBB0.051
Deuteranopia (no green cones)#4B70B70.038
Tritanopia (no blue cones)#008A910.087
Achromatopsia (no color)#7676760.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A7BB8

    #2A7BB8

    oklch(56.4% 0.122 245.5)

  • #A5640E

    #A5640E

    oklch(56.3% 0.122 65.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A7BB8

    #2A7BB8

    oklch(56.4% 0.122 245.5)

  • #00849A

    #00849A

    oklch(56.4% 0.1 214.8)

  • #626EBC

    #626EBC

    oklch(56.4% 0.121 275.2)

Open the analogous palette in the generator

Split complementary

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

  • #2A7BB8

    #2A7BB8

    oklch(56.4% 0.122 245.5)

  • #B15841

    #B15841

    oklch(56.4% 0.122 35.5)

  • #8B7400

    #8B7400

    oklch(56.4% 0.116 95.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A7BB8

    #2A7BB8

    oklch(56.4% 0.122 245.5)

  • #AF536B

    #AF536B

    oklch(56.3% 0.122 5.4)

  • #648227

    #648227

    oklch(56.5% 0.122 125.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A7BB8

    #2A7BB8

    oklch(56.4% 0.122 245.5)

  • #A15791

    #A15791

    oklch(56.3% 0.123 335.7)

  • #A5640E

    #A5640E

    oklch(56.3% 0.122 65.3)

  • #278A56

    #278A56

    oklch(56.4% 0.121 155.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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