#227CDE

Closest named color: Water Blue (#0E87CC). oklch(58.8% 0.17 254.4), rgb(34, 124, 222).

Aa

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

About this color

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

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

Values

HEX#227CDE
RGBrgb(34, 124, 222)
HSLhsl(211, 74%, 50%)
OKLCHoklch(58.8% 0.17 254.4)

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 #227CDE 4.19:1 AA large text Lc -73.9 Content text, not long reading
Black text on #227CDE 5.00:1 AA Lc 35.7 Non-text elements, placeholder text
#227CDE text on white 4.19:1 AA large text Lc 68.4 Content text, not long reading
#227CDE text on black 5.00: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

    #E0EBF9

    oklch(93.6% 0.022 254.4)

  3. Step 200

    200

    #C7DBF5

    oklch(88.5% 0.042 255)

  4. Step 300

    300

    #9FC4F2

    oklch(81% 0.077 254.1)

  5. Step 400

    400

    #69A3EB

    oklch(70.6% 0.123 254.5)

  6. Step 500

    500

    #3D8AE5

    oklch(63% 0.157 254.6)

  7. Step 600

    600 (this color)

    #227CDE

    oklch(58.8% 0.17 254.4)

  8. Step 700

    700

    #005FB7

    oklch(49.1% 0.158 254.4)

  9. Step 800

    800

    #0A4E94

    oklch(42.7% 0.131 254.5)

  10. Step 900

    900

    #144276

    oklch(37.8% 0.102 254.3)

  11. Step 950

    950

    #0D2745

    oklch(27% 0.064 254)

Export this scale for Tailwind in the Tailwind colors tool

#227CDE 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)#4885E20.039
Deuteranopia (no green cones)#1E74DC0.022
Tritanopia (no blue cones)#0094A20.128
Achromatopsia (no color)#7C7C7C0.170

Harmonies

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

Complementary

The opposite hue (180°).

  • #227CDE

    #227CDE

    oklch(58.8% 0.17 254.4)

  • #A76F00

    #A76F00

    oklch(58.6% 0.124 74.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #227CDE

    #227CDE

    oklch(58.8% 0.17 254.4)

  • #008AAD

    #008AAD

    oklch(58.8% 0.11 223.9)

  • #7469DC

    #7469DC

    oklch(58.8% 0.17 284.2)

Open the analogous palette in the generator

Split complementary

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

  • #227CDE

    #227CDE

    oklch(58.8% 0.17 254.4)

  • #CA5200

    #CA5200

    oklch(58.8% 0.169 44.6)

  • #897F00

    #897F00

    oklch(58.7% 0.124 104)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #227CDE

    #227CDE

    oklch(58.8% 0.17 254.4)

  • #CD465C

    #CD465C

    oklch(58.7% 0.17 14.5)

  • #4D9100

    #4D9100

    oklch(58.8% 0.17 134.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #227CDE

    #227CDE

    oklch(58.8% 0.17 254.4)

  • #BE4A94

    #BE4A94

    oklch(58.7% 0.17 344.4)

  • #A76F00

    #A76F00

    oklch(58.6% 0.124 74.2)

  • #009369

    #009369

    oklch(58.7% 0.124 164.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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