#227ECA

Closest named color: Windows Blue (#3778BF). oklch(57.9% 0.143 248.8), rgb(34, 126, 202).

Aa

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

About this color

#227ECA is a medium-dark, vivid blue. In OKLCH its lightness is 58%, its chroma 0.143 and its hue 249°. Its hue sits on the cool side of the wheel. The nearest named color is Windows Blue (#3778BF), ΔE 0.022 away. Black text reads best on it, at 4.90:1.

Hue familyBlues
Lightnessmedium-dark (58%)
Chromavivid (0.143)
Temperaturecool
Nearest nameWindows Blue (#3778BF)
Black text4.90:1
White text4.28:1

Values

HEX#227ECA
RGBrgb(34, 126, 202)
HSLhsl(207, 71%, 46%)
OKLCHoklch(57.9% 0.143 248.8)

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 #227ECA 4.28:1 AA large text Lc -74.6 Content text, not long reading
Black text on #227ECA 4.90:1 AA Lc 34.9 Non-text elements, placeholder text
#227ECA text on white 4.28:1 AA large text Lc 69.1 Content text, not long reading
#227ECA text on black 4.90:1 AA Lc -32.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

    #F1F6FB

    oklch(97.1% 0.009 247.9)

  2. Step 100

    100

    #E1EBF6

    oklch(93.6% 0.018 250.6)

  3. Step 200

    200

    #C8DCF0

    oklch(88.6% 0.035 248.2)

  4. Step 300

    300

    #A1C5E9

    oklch(81% 0.064 248.6)

  5. Step 400

    400

    #6CA6DE

    oklch(70.8% 0.103 248.6)

  6. Step 500

    500

    #408ED5

    oklch(63.1% 0.132 248.9)

  7. Step 600

    600 (this color)

    #227ECA

    oklch(57.9% 0.143 248.8)

  8. Step 700

    700

    #0464A8

    oklch(49.2% 0.133 248.6)

  9. Step 800

    800

    #0C5188

    oklch(42.6% 0.111 249.1)

  10. Step 900

    900

    #15446D

    oklch(37.7% 0.086 248.8)

  11. Step 950

    950

    #0E2840

    oklch(27% 0.055 249)

Export this scale for Tailwind in the Tailwind colors tool

#227ECA 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)#5982CD0.048
Deuteranopia (no green cones)#4073C90.033
Tritanopia (no blue cones)#00909A0.103
Achromatopsia (no color)#7A7A7A0.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #227ECA

    #227ECA

    oklch(57.9% 0.143 248.8)

  • #AA6A00

    #AA6A00

    oklch(58% 0.127 68.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #227ECA

    #227ECA

    oklch(57.9% 0.143 248.8)

  • #0088A4

    #0088A4

    oklch(57.9% 0.105 219.1)

  • #696ECC

    #696ECC

    oklch(57.9% 0.142 278.7)

Open the analogous palette in the generator

Split complementary

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

  • #227ECA

    #227ECA

    oklch(57.9% 0.143 248.8)

  • #BF5633

    #BF5633

    oklch(57.9% 0.144 38.6)

  • #8C7A00

    #8C7A00

    oklch(57.9% 0.12 98.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #227ECA

    #227ECA

    oklch(57.9% 0.143 248.8)

  • #BE5069

    #BE5069

    oklch(58% 0.143 8.6)

  • #608919

    #608919

    oklch(57.9% 0.142 128.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #227ECA

    #227ECA

    oklch(57.9% 0.143 248.8)

  • #AF5496

    #AF5496

    oklch(58% 0.143 338.9)

  • #AA6A00

    #AA6A00

    oklch(58% 0.127 68.8)

  • #00915C

    #00915C

    oklch(57.9% 0.133 158.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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