#2271E8

Closest named color: Cerulean Blue (#056EEE). oklch(57.1% 0.196 259.2), rgb(34, 113, 232).

Aa

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

About this color

#2271E8 is a medium-dark, vivid blue. In OKLCH its lightness is 57%, its chroma 0.196 and its hue 259°. 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.59:1.

Hue familyBlues
Lightnessmedium-dark (57%)
Chromavivid (0.196)
Temperaturecool
Nearest nameCerulean Blue (#056EEE)
Black text4.59:1
White text4.56:1

Values

HEX#2271E8
RGBrgb(34, 113, 232)
HSLhsl(216, 81%, 52%)
OKLCHoklch(57.1% 0.196 259.2)

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 #2271E8 4.56:1 AA Lc -76.6 Fine for body text
Black text on #2271E8 4.59:1 AA Lc 33.0 Non-text elements, placeholder text
#2271E8 text on white 4.56:1 AA Lc 71.1 Content text, not long reading
#2271E8 text on black 4.59:1 AA Lc -30.6 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

    #E0EBFB

    oklch(93.7% 0.025 257.6)

  3. Step 200

    200

    #C6DBFA

    oklch(88.6% 0.048 258)

  4. Step 300

    300

    #9FC2FA

    oklch(80.9% 0.088 259.7)

  5. Step 400

    400

    #69A0F7

    oklch(70.6% 0.141 259.2)

  6. Step 500

    500

    #3F86F4

    oklch(63.1% 0.18 259)

  7. Step 600

    600 (this color)

    #2271E8

    oklch(57.1% 0.196 259.2)

  8. Step 700

    700

    #0E59C5

    oklch(49% 0.182 259.4)

  9. Step 800

    800

    #104A9F

    oklch(42.7% 0.15 259.1)

  10. Step 900

    900

    #163F7E

    oklch(37.7% 0.116 259.1)

  11. Step 950

    950

    #0E254A

    oklch(26.9% 0.075 259.5)

Export this scale for Tailwind in the Tailwind colors tool

#2271E8 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)#1B7FEC0.035
Deuteranopia (no green cones)#006DE60.017
Tritanopia (no blue cones)#008EA20.148
Achromatopsia (no color)#7676760.196

Harmonies

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

Complementary

The opposite hue (180°).

  • #2271E8

    #2271E8

    oklch(57.1% 0.196 259.2)

  • #9C6E00

    #9C6E00

    oklch(57.1% 0.118 79.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2271E8

    #2271E8

    oklch(57.1% 0.196 259.2)

  • #0083AC

    #0083AC

    oklch(57% 0.112 229)

  • #795AE1

    #795AE1

    oklch(57.1% 0.196 289.2)

Open the analogous palette in the generator

Split complementary

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

  • #2271E8

    #2271E8

    oklch(57.1% 0.196 259.2)

  • #BC5600

    #BC5600

    oklch(57.2% 0.152 49.4)

  • #7E7D00

    #7E7D00

    oklch(57.2% 0.124 109.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2271E8

    #2271E8

    oklch(57.1% 0.196 259.2)

  • #D23147

    #D23147

    oklch(57.1% 0.196 19.1)

  • #308F00

    #308F00

    oklch(57.1% 0.181 139.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2271E8

    #2271E8

    oklch(57.1% 0.196 259.2)

  • #C53589

    #C53589

    oklch(57.1% 0.196 349.4)

  • #9C6E00

    #9C6E00

    oklch(57.1% 0.118 79.6)

  • #008D6C

    #008D6C

    oklch(57.2% 0.115 168.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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