#227ED5

Closest named color: Water Blue (#0E87CC). oklch(58.6% 0.157 251.7), rgb(34, 126, 213).

Aa

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

About this color

#227ED5 is a medium-dark, vivid blue. In OKLCH its lightness is 59%, its chroma 0.157 and its hue 252°. Its hue sits on the cool side of the wheel. The nearest named color is Water Blue (#0E87CC), ΔE 0.031 away. Black text reads best on it, at 5.01:1.

Hue familyBlues
Lightnessmedium-dark (59%)
Chromavivid (0.157)
Temperaturecool
Nearest nameWater Blue (#0E87CC)
Black text5.01:1
White text4.18:1

Values

HEX#227ED5
RGBrgb(34, 126, 213)
HSLhsl(209, 72%, 48%)
OKLCHoklch(58.6% 0.157 251.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 #227ED5 4.18:1 AA large text Lc -73.9 Content text, not long reading
Black text on #227ED5 5.01:1 AA Lc 35.7 Non-text elements, placeholder text
#227ED5 text on white 4.18:1 AA large text Lc 68.4 Content text, not long reading
#227ED5 text on black 5.01:1 AA Lc -33.3 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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E0EBF7

    oklch(93.5% 0.02 250.4)

  3. Step 200

    200

    #C7DBF3

    oklch(88.4% 0.04 253)

  4. Step 300

    300

    #A0C4ED

    oklch(80.8% 0.07 252)

  5. Step 400

    400

    #6AA5E5

    oklch(70.8% 0.113 251.5)

  6. Step 500

    500

    #3E8CDD

    oklch(63% 0.144 251.9)

  7. Step 600

    600 (this color)

    #227ED5

    oklch(58.6% 0.157 251.7)

  8. Step 700

    700

    #0061B0

    oklch(49% 0.147 252)

  9. Step 800

    800

    #0A508E

    oklch(42.7% 0.12 251.7)

  10. Step 900

    900

    #144371

    oklch(37.7% 0.093 251.4)

  11. Step 950

    950

    #0E2742

    oklch(26.9% 0.059 252.4)

Export this scale for Tailwind in the Tailwind colors tool

#227ED5 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)#5384D80.043
Deuteranopia (no green cones)#3475D30.024
Tritanopia (no blue cones)#00939F0.116
Achromatopsia (no color)#7C7C7C0.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #227ED5

    #227ED5

    oklch(58.6% 0.157 251.7)

  • #A96D00

    #A96D00

    oklch(58.5% 0.125 71.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #227ED5

    #227ED5

    oklch(58.6% 0.157 251.7)

  • #008AAA

    #008AAA

    oklch(58.7% 0.108 221.8)

  • #6F6CD5

    #6F6CD5

    oklch(58.5% 0.157 281.7)

Open the analogous palette in the generator

Split complementary

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

  • #227ED5

    #227ED5

    oklch(58.6% 0.157 251.7)

  • #C65523

    #C65523

    oklch(58.7% 0.157 41.8)

  • #8B7E00

    #8B7E00

    oklch(58.7% 0.123 102.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #227ED5

    #227ED5

    oklch(58.6% 0.157 251.7)

  • #C74C64

    #C74C64

    oklch(58.7% 0.157 11.5)

  • #588E0F

    #588E0F

    oklch(58.6% 0.157 131.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #227ED5

    #227ED5

    oklch(58.6% 0.157 251.7)

  • #B85096

    #B85096

    oklch(58.6% 0.157 342)

  • #A96D00

    #A96D00

    oklch(58.5% 0.125 71.6)

  • #009364

    #009364

    oklch(58.6% 0.129 162)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #227ED5 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.