#2A7CBD

Closest named color: Windows Blue (#3778BF). oklch(56.9% 0.127 246.8), rgb(42, 124, 189).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.127)
Temperaturecool
Nearest nameWindows Blue (#3778BF)
Black text4.71:1
White text4.45:1

Values

HEX#2A7CBD
RGBrgb(42, 124, 189)
HSLhsl(207, 64%, 45%)
OKLCHoklch(56.9% 0.127 246.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 #2A7CBD 4.45:1 AA large text Lc -76.0 Fine for body text
Black text on #2A7CBD 4.71:1 AA Lc 33.6 Non-text elements, placeholder text
#2A7CBD text on white 4.45:1 AA large text Lc 70.5 Content text, not long reading
#2A7CBD text on black 4.71:1 AA Lc -31.1 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

    #E1EBF5

    oklch(93.5% 0.017 248)

  3. Step 200

    200

    #C9DCED

    oklch(88.6% 0.031 245.1)

  4. Step 300

    300

    #A3C5E4

    oklch(80.9% 0.057 246.1)

  5. Step 400

    400

    #70A6D7

    oklch(70.7% 0.092 246.9)

  6. Step 500

    500

    #488FCC

    oklch(63.1% 0.117 246.9)

  7. Step 600

    600 (this color)

    #2A7CBD

    oklch(56.9% 0.127 246.8)

  8. Step 700

    700

    #16659F

    oklch(49.2% 0.117 246.5)

  9. Step 800

    800

    #165281

    oklch(42.6% 0.098 247)

  10. Step 900

    900

    #1A4568

    oklch(37.8% 0.076 246.4)

  11. Step 950

    950

    #11283D

    oklch(26.9% 0.049 248.1)

Export this scale for Tailwind in the Tailwind colors tool

#2A7CBD 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)#5E7FC00.049
Deuteranopia (no green cones)#4971BC0.036
Tritanopia (no blue cones)#008C940.091
Achromatopsia (no color)#7777770.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A7CBD

    #2A7CBD

    oklch(56.9% 0.127 246.8)

  • #A76600

    #A76600

    oklch(56.9% 0.125 67.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A7CBD

    #2A7CBD

    oklch(56.9% 0.127 246.8)

  • #00859E

    #00859E

    oklch(56.9% 0.102 217.2)

  • #656EC1

    #656EC1

    oklch(56.9% 0.127 276.9)

Open the analogous palette in the generator

Split complementary

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

  • #2A7CBD

    #2A7CBD

    oklch(56.9% 0.127 246.8)

  • #B5583E

    #B5583E

    oklch(56.9% 0.127 36.5)

  • #8B7600

    #8B7600

    oklch(56.9% 0.117 96.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A7CBD

    #2A7CBD

    oklch(56.9% 0.127 246.8)

  • #B3536A

    #B3536A

    oklch(56.8% 0.126 6.9)

  • #638425

    #638425

    oklch(56.9% 0.127 126.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A7CBD

    #2A7CBD

    oklch(56.9% 0.127 246.8)

  • #A55792

    #A55792

    oklch(56.9% 0.127 337)

  • #A76600

    #A76600

    oklch(56.9% 0.125 67.3)

  • #1C8D58

    #1C8D58

    oklch(57% 0.127 156.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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