#2271BA

Closest named color: Mid Blue (#276AB3). oklch(53.9% 0.136 250.7), rgb(34, 113, 186).

Aa

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

About this color

#2271BA is a medium-dark, moderately saturated blue. In OKLCH its lightness is 54%, its chroma 0.136 and its hue 251°. Its hue sits on the cool side of the wheel. The nearest named color is Mid Blue (#276AB3), ΔE 0.021 away. White text reads best on it, at 5.07:1.

Hue familyBlues
Lightnessmedium-dark (54%)
Chromamoderately saturated (0.136)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text4.13:1
White text5.07:1

Values

HEX#2271BA
RGBrgb(34, 113, 186)
HSLhsl(209, 69%, 43%)
OKLCHoklch(53.9% 0.136 250.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 #2271BA 5.07:1 AA Lc -80.0 Fine for body text
Black text on #2271BA 4.13:1 AA large text Lc 29.5 Dividers and decoration only
#2271BA text on white 5.07:1 AA Lc 74.6 Content text, not long reading
#2271BA text on black 4.13:1 AA large text Lc -27.1 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

    #F1F6FB

    oklch(97.1% 0.009 247.9)

  2. Step 100

    100

    #E1EBF6

    oklch(93.6% 0.018 250.6)

  3. Step 200

    200

    #C9DBEF

    oklch(88.4% 0.034 251)

  4. Step 300

    300

    #A4C4E8

    oklch(80.9% 0.062 251.6)

  5. Step 400

    400

    #71A5DC

    oklch(70.7% 0.098 250.7)

  6. Step 500

    500

    #498DD2

    oklch(63% 0.125 250.8)

  7. Step 600

    600 (this color)

    #2271BA

    oklch(53.9% 0.136 250.7)

  8. Step 700

    700

    #1A63A5

    oklch(49.1% 0.126 250.6)

  9. Step 800

    800

    #195186

    oklch(42.7% 0.105 250.8)

  10. Step 900

    900

    #1B436B

    oklch(37.6% 0.082 250.9)

  11. Step 950

    950

    #11283F

    oklch(27.1% 0.052 250.3)

Export this scale for Tailwind in the Tailwind colors tool

#2271BA 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)#4E76BD0.042
Deuteranopia (no green cones)#3568B90.026
Tritanopia (no blue cones)#00828C0.100
Achromatopsia (no color)#6E6E6E0.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #2271BA

    #2271BA

    oklch(53.9% 0.136 250.7)

  • #986100

    #986100

    oklch(54% 0.116 71.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2271BA

    #2271BA

    oklch(53.9% 0.136 250.7)

  • #007B96

    #007B96

    oklch(53.9% 0.098 220.3)

  • #6262BB

    #6262BB

    oklch(54% 0.136 280.8)

Open the analogous palette in the generator

Split complementary

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

  • #2271BA

    #2271BA

    oklch(53.9% 0.136 250.7)

  • #AE4D28

    #AE4D28

    oklch(53.9% 0.137 40.3)

  • #7D6F00

    #7D6F00

    oklch(53.8% 0.112 100.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2271BA

    #2271BA

    oklch(53.9% 0.136 250.7)

  • #AE475B

    #AE475B

    oklch(54% 0.135 10.9)

  • #527D17

    #527D17

    oklch(53.8% 0.135 130.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2271BA

    #2271BA

    oklch(53.9% 0.136 250.7)

  • #A14A86

    #A14A86

    oklch(53.9% 0.136 340.8)

  • #986100

    #986100

    oklch(54% 0.116 71.1)

  • #008357

    #008357

    oklch(53.9% 0.12 161.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2271BA 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.