#2872BF

Closest named color: Windows Blue (#3778BF). oklch(54.6% 0.14 252.7), rgb(40, 114, 191).

Aa

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

About this color

#2872BF is a medium-dark, moderately saturated blue. In OKLCH its lightness is 55%, its chroma 0.140 and its hue 253°. Its hue sits on the cool side of the wheel. The nearest named color is Windows Blue (#3778BF), ΔE 0.022 away. White text reads best on it, at 4.94:1.

Hue familyBlues
Lightnessmedium-dark (55%)
Chromamoderately saturated (0.140)
Temperaturecool
Nearest nameWindows Blue (#3778BF)
Black text4.24:1
White text4.94:1

Values

HEX#2872BF
RGBrgb(40, 114, 191)
HSLhsl(211, 65%, 45%)
OKLCHoklch(54.6% 0.14 252.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 #2872BF 4.94:1 AA Lc -79.2 Fine for body text
Black text on #2872BF 4.24:1 AA large text Lc 30.3 Non-text elements, placeholder text
#2872BF text on white 4.94:1 AA Lc 73.8 Content text, not long reading
#2872BF text on black 4.24:1 AA large text Lc -27.9 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 600.

  1. Step 50

    50

    #F2F6FB

    oklch(97.2% 0.008 253.9)

  2. Step 100

    100

    #E2EBF6

    oklch(93.7% 0.018 253.3)

  3. Step 200

    200

    #C9DBF0

    oklch(88.4% 0.035 252.3)

  4. Step 300

    300

    #A4C4E9

    oklch(80.9% 0.063 252.3)

  5. Step 400

    400

    #72A4DE

    oklch(70.7% 0.101 252.8)

  6. Step 500

    500

    #4B8CD5

    oklch(63% 0.129 252.9)

  7. Step 600

    600 (this color)

    #2872BF

    oklch(54.6% 0.14 252.7)

  8. Step 700

    700

    #1D62A8

    oklch(49.2% 0.13 252.6)

  9. Step 800

    800

    #1B5088

    oklch(42.7% 0.108 252.9)

  10. Step 900

    900

    #1D436D

    oklch(37.8% 0.084 252.9)

  11. Step 950

    950

    #122740

    oklch(26.9% 0.054 254)

Export this scale for Tailwind in the Tailwind colors tool

#2872BF 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)#4D78C20.038
Deuteranopia (no green cones)#346ABD0.022
Tritanopia (no blue cones)#00848F0.104
Achromatopsia (no color)#7070700.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #2872BF

    #2872BF

    oklch(54.6% 0.14 252.7)

  • #996400

    #996400

    oklch(54.7% 0.116 73.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2872BF

    #2872BF

    oklch(54.6% 0.14 252.7)

  • #007D9B

    #007D9B

    oklch(54.7% 0.101 222.4)

  • #6662BF

    #6662BF

    oklch(54.5% 0.141 282.6)

Open the analogous palette in the generator

Split complementary

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

  • #2872BF

    #2872BF

    oklch(54.6% 0.14 252.7)

  • #B14F22

    #B14F22

    oklch(54.6% 0.14 42.8)

  • #7E7200

    #7E7200

    oklch(54.6% 0.114 102.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2872BF

    #2872BF

    oklch(54.6% 0.14 252.7)

  • #B24759

    #B24759

    oklch(54.5% 0.14 12.8)

  • #4F811B

    #4F811B

    oklch(54.7% 0.14 132.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2872BF

    #2872BF

    oklch(54.6% 0.14 252.7)

  • #A64A86

    #A64A86

    oklch(54.6% 0.141 342.9)

  • #996400

    #996400

    oklch(54.7% 0.116 73.1)

  • #00855C

    #00855C

    oklch(54.6% 0.118 163)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2872BF 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.