#227BC2

Closest named color: Windows Blue (#3778BF). oklch(56.8% 0.136 247.8), rgb(34, 123, 194).

Aa

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

About this color

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

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

Values

HEX#227BC2
RGBrgb(34, 123, 194)
HSLhsl(207, 70%, 45%)
OKLCHoklch(56.8% 0.136 247.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 #227BC2 4.48:1 AA large text Lc -76.2 Fine for body text
Black text on #227BC2 4.68:1 AA Lc 33.4 Non-text elements, placeholder text
#227BC2 text on white 4.48:1 AA large text Lc 70.7 Content text, not long reading
#227BC2 text on black 4.68:1 AA Lc -31.0 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

    #E1EBF5

    oklch(93.5% 0.017 248)

  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

    #6DA6DB

    oklch(70.7% 0.098 247.6)

  6. Step 500

    500

    #438FD1

    oklch(63.2% 0.125 247.5)

  7. Step 600

    600 (this color)

    #227BC2

    oklch(56.8% 0.136 247.8)

  8. Step 700

    700

    #0C64A4

    oklch(49.1% 0.127 247.9)

  9. Step 800

    800

    #115285

    oklch(42.7% 0.105 247.9)

  10. Step 900

    900

    #17446A

    oklch(37.6% 0.081 247.7)

  11. Step 950

    950

    #0F283E

    oklch(26.9% 0.052 247.6)

Export this scale for Tailwind in the Tailwind colors tool

#227BC2 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)#597FC50.049
Deuteranopia (no green cones)#4170C10.034
Tritanopia (no blue cones)#008C950.098
Achromatopsia (no color)#7777770.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #227BC2

    #227BC2

    oklch(56.8% 0.136 247.8)

  • #A66600

    #A66600

    oklch(56.8% 0.125 67.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #227BC2

    #227BC2

    oklch(56.8% 0.136 247.8)

  • #00849E

    #00849E

    oklch(56.6% 0.102 218.1)

  • #656CC5

    #656CC5

    oklch(56.8% 0.136 277.7)

Open the analogous palette in the generator

Split complementary

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

  • #227BC2

    #227BC2

    oklch(56.8% 0.136 247.8)

  • #B85536

    #B85536

    oklch(56.8% 0.136 37.9)

  • #897600

    #897600

    oklch(56.6% 0.117 97.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #227BC2

    #227BC2

    oklch(56.8% 0.136 247.8)

  • #B74F68

    #B74F68

    oklch(56.8% 0.136 7.5)

  • #5F851B

    #5F851B

    oklch(56.8% 0.137 128)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #227BC2

    #227BC2

    oklch(56.8% 0.136 247.8)

  • #A85392

    #A85392

    oklch(56.7% 0.136 338)

  • #A66600

    #A66600

    oklch(56.8% 0.125 67.8)

  • #008D57

    #008D57

    oklch(56.7% 0.133 157.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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