#2271F3

Closest named color: Cerulean Blue (#056EEE). oklch(57.9% 0.21 260.3), rgb(34, 113, 243).

Aa

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

About this color

#2271F3 is a medium-dark, vivid blue. In OKLCH its lightness is 58%, its chroma 0.210 and its hue 260°. Its hue sits on the cool side of the wheel. The nearest named color is Cerulean Blue (#056EEE), ΔE 0.016 away. Black text reads best on it, at 4.72:1.

Hue familyBlues
Lightnessmedium-dark (58%)
Chromavivid (0.210)
Temperaturecool
Nearest nameCerulean Blue (#056EEE)
Black text4.72:1
White text4.44:1

Values

HEX#2271F3
RGBrgb(34, 113, 243)
HSLhsl(217, 90%, 54%)
OKLCHoklch(57.9% 0.21 260.3)

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 #2271F3 4.44:1 AA large text Lc -75.6 Fine for body text
Black text on #2271F3 4.72:1 AA Lc 33.9 Non-text elements, placeholder text
#2271F3 text on white 4.44:1 AA large text Lc 70.1 Content text, not long reading
#2271F3 text on black 4.72:1 AA Lc -31.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

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E0EBFD

    oklch(93.7% 0.027 260.3)

  3. Step 200

    200

    #C6DAFD

    oklch(88.5% 0.053 261.7)

  4. Step 300

    300

    #9DC2FE

    oklch(80.9% 0.094 259.9)

  5. Step 400

    400

    #679FFE

    oklch(70.6% 0.152 260.4)

  6. Step 500

    500

    #3D84FC

    oklch(63.2% 0.193 260.3)

  7. Step 600

    600 (this color)

    #2271F3

    oklch(57.9% 0.21 260.3)

  8. Step 700

    700

    #0A57CC

    oklch(49.1% 0.194 260.2)

  9. Step 800

    800

    #0E48A5

    oklch(42.7% 0.161 260.2)

  10. Step 900

    900

    #143D83

    oklch(37.6% 0.127 260.5)

  11. Step 950

    950

    #0D254D

    oklch(27.1% 0.08 260.1)

Export this scale for Tailwind in the Tailwind colors tool

#2271F3 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)#0081F80.039
Deuteranopia (no green cones)#006FF00.013
Tritanopia (no blue cones)#0091A70.159
Achromatopsia (no color)#7878780.210

Harmonies

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

Complementary

The opposite hue (180°).

  • #2271F3

    #2271F3

    oklch(57.9% 0.21 260.3)

  • #9F7100

    #9F7100

    oklch(58% 0.12 80.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2271F3

    #2271F3

    oklch(57.9% 0.21 260.3)

  • #0086B1

    #0086B1

    oklch(58% 0.115 229.7)

  • #7E58EA

    #7E58EA

    oklch(57.9% 0.21 290.3)

Open the analogous palette in the generator

Split complementary

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

  • #2271F3

    #2271F3

    oklch(57.9% 0.21 260.3)

  • #BE5900

    #BE5900

    oklch(57.9% 0.152 50.5)

  • #7F8000

    #7F8000

    oklch(58% 0.127 110.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2271F3

    #2271F3

    oklch(57.9% 0.21 260.3)

  • #DA2942

    #DA2942

    oklch(57.9% 0.209 20.2)

  • #289300

    #289300

    oklch(58% 0.188 140.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2271F3

    #2271F3

    oklch(57.9% 0.21 260.3)

  • #CD2E8B

    #CD2E8B

    oklch(58% 0.21 350.1)

  • #9F7100

    #9F7100

    oklch(58% 0.12 80.3)

  • #008F70

    #008F70

    oklch(57.8% 0.114 170.5)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #2271F3.

Similar named colors

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

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