#227EE5

Closest named color: Clear Blue (#247AFD). oklch(59.7% 0.177 255), rgb(34, 126, 229).

Aa

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

About this color

#227EE5 is a medium-dark, vivid blue. In OKLCH its lightness is 60%, its chroma 0.177 and its hue 255°. Its hue sits on the cool side of the wheel. The nearest named color is Clear Blue (#247AFD), ΔE 0.039 away. Black text reads best on it, at 5.18:1.

Hue familyBlues
Lightnessmedium-dark (60%)
Chromavivid (0.177)
Temperaturecool
Nearest nameClear Blue (#247AFD)
Black text5.18:1
White text4.05:1

Values

HEX#227EE5
RGBrgb(34, 126, 229)
HSLhsl(212, 79%, 52%)
OKLCHoklch(59.7% 0.177 255)

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 #227EE5 4.05:1 AA large text Lc -72.7 Content text, not long reading
Black text on #227EE5 5.18:1 AA Lc 36.9 Non-text elements, placeholder text
#227EE5 text on white 4.05:1 AA large text Lc 67.2 Content text, not long reading
#227EE5 text on black 5.18:1 AA Lc -34.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 500.

  1. Step 50

    50

    #F0F6FD

    oklch(97.1% 0.011 252.1)

  2. Step 100

    100

    #DFEBFB

    oklch(93.6% 0.025 255.6)

  3. Step 200

    200

    #C4DBF9

    oklch(88.4% 0.048 255.1)

  4. Step 300

    300

    #9BC4F8

    oklch(81% 0.086 254.6)

  5. Step 400

    400

    #62A3F5

    oklch(70.8% 0.138 255)

  6. Step 500

    500 (this color)

    #227EE5

    oklch(59.7% 0.177 255)

  7. Step 600

    600

    #0071DA

    oklch(55.6% 0.182 254.8)

  8. Step 700

    700

    #005EB9

    oklch(49% 0.162 255.1)

  9. Step 800

    800

    #004D99

    oklch(42.7% 0.14 255)

  10. Step 900

    900

    #09417D

    oklch(37.8% 0.115 254.8)

  11. Step 950

    950

    #092649

    oklch(26.9% 0.074 255.3)

Export this scale for Tailwind in the Tailwind colors tool

#227EE5 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)#4687E90.037
Deuteranopia (no green cones)#1476E30.023
Tritanopia (no blue cones)#0097A60.133
Achromatopsia (no color)#7E7E7E0.177

Harmonies

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

Complementary

The opposite hue (180°).

  • #227EE5

    #227EE5

    oklch(59.7% 0.177 255)

  • #AA7200

    #AA7200

    oklch(59.6% 0.126 74.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #227EE5

    #227EE5

    oklch(59.7% 0.177 255)

  • #008CB2

    #008CB2

    oklch(59.6% 0.113 225.6)

  • #786AE2

    #786AE2

    oklch(59.7% 0.176 285.1)

Open the analogous palette in the generator

Split complementary

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

  • #227EE5

    #227EE5

    oklch(59.7% 0.177 255)

  • #CE5400

    #CE5400

    oklch(59.7% 0.171 44.7)

  • #8B8200

    #8B8200

    oklch(59.6% 0.126 104.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #227EE5

    #227EE5

    oklch(59.7% 0.177 255)

  • #D3465C

    #D3465C

    oklch(59.7% 0.176 15.2)

  • #4C9400

    #4C9400

    oklch(59.6% 0.174 135)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #227EE5

    #227EE5

    oklch(59.7% 0.177 255)

  • #C44A97

    #C44A97

    oklch(59.7% 0.176 344.9)

  • #AA7200

    #AA7200

    oklch(59.6% 0.126 74.9)

  • #00966C

    #00966C

    oklch(59.6% 0.126 164.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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