#227CC4

Closest named color: Windows Blue (#3778BF). oklch(57.1% 0.138 247.9), rgb(34, 124, 196).

Aa

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

About this color

#227CC4 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 57%, its chroma 0.138 and its hue 248°. Its hue sits on the cool side of the wheel. The nearest named color is Windows Blue (#3778BF), ΔE 0.016 away. Black text reads best on it, at 4.74:1.

Hue familyBlues
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.138)
Temperaturecool
Nearest nameWindows Blue (#3778BF)
Black text4.74:1
White text4.42:1

Values

HEX#227CC4
RGBrgb(34, 124, 196)
HSLhsl(207, 70%, 45%)
OKLCHoklch(57.1% 0.138 247.9)

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 #227CC4 4.42:1 AA large text Lc -75.7 Fine for body text
Black text on #227CC4 4.74:1 AA Lc 33.9 Non-text elements, placeholder text
#227CC4 text on white 4.42:1 AA large text Lc 70.2 Content text, not long reading
#227CC4 text on black 4.74:1 AA Lc -31.4 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

    #C8DCEF

    oklch(88.5% 0.034 246.8)

  4. Step 300

    300

    #A2C5E7

    oklch(80.9% 0.061 247.8)

  5. Step 400

    400

    #6DA6DC

    oklch(70.7% 0.1 248.1)

  6. Step 500

    500

    #428FD2

    oklch(63.2% 0.127 247.7)

  7. Step 600

    600 (this color)

    #227CC4

    oklch(57.1% 0.138 247.9)

  8. Step 700

    700

    #0A64A5

    oklch(49.1% 0.128 248)

  9. Step 800

    800

    #0F5286

    oklch(42.8% 0.107 248)

  10. Step 900

    900

    #17446B

    oklch(37.7% 0.083 248.3)

  11. Step 950

    950

    #0F283F

    oklch(27% 0.053 248.7)

Export this scale for Tailwind in the Tailwind colors tool

#227CC4 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)#5A80C70.050
Deuteranopia (no green cones)#4171C30.034
Tritanopia (no blue cones)#008D960.099
Achromatopsia (no color)#7878780.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #227CC4

    #227CC4

    oklch(57.1% 0.138 247.9)

  • #A76700

    #A76700

    oklch(57.1% 0.125 68)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #227CC4

    #227CC4

    oklch(57.1% 0.138 247.9)

  • #0086A0

    #0086A0

    oklch(57.2% 0.103 217.8)

  • #666DC7

    #666DC7

    oklch(57.2% 0.137 277.8)

Open the analogous palette in the generator

Split complementary

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

  • #227CC4

    #227CC4

    oklch(57.1% 0.138 247.9)

  • #BA5636

    #BA5636

    oklch(57.2% 0.138 38.2)

  • #8B7700

    #8B7700

    oklch(57.1% 0.118 97.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #227CC4

    #227CC4

    oklch(57.1% 0.138 247.9)

  • #B95068

    #B95068

    oklch(57.2% 0.137 8.3)

  • #60861B

    #60861B

    oklch(57.1% 0.137 127.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #227CC4

    #227CC4

    oklch(57.1% 0.138 247.9)

  • #AA5494

    #AA5494

    oklch(57.2% 0.138 337.9)

  • #A76700

    #A76700

    oklch(57.1% 0.125 68)

  • #008F58

    #008F58

    oklch(57.2% 0.134 157.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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