#228FCB

Closest named color: Water Blue (#0E87CC). oklch(62% 0.129 239.3), rgb(34, 143, 203).

Aa

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

About this color

#228FCB is a medium-dark, moderately saturated blue. In OKLCH its lightness is 62%, its chroma 0.129 and its hue 239°. Its hue sits on the cool side of the wheel. The nearest named color is Water Blue (#0E87CC), ΔE 0.025 away. Black text reads best on it, at 5.85:1.

Hue familyBlues
Lightnessmedium-dark (62%)
Chromamoderately saturated (0.129)
Temperaturecool
Nearest nameWater Blue (#0E87CC)
Black text5.85:1
White text3.58:1

Values

HEX#228FCB
RGBrgb(34, 143, 203)
HSLhsl(201, 71%, 46%)
OKLCHoklch(62% 0.129 239.3)

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 #228FCB 3.58:1 AA large text Lc -68.5 Content text, not long reading
Black text on #228FCB 5.85:1 AA Lc 41.1 Non-text elements, placeholder text
#228FCB text on white 3.58:1 AA large text Lc 63.0 Content text, not long reading
#228FCB text on black 5.85:1 AA Lc -38.7 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

    #F1F6FB

    oklch(97.1% 0.009 247.9)

  2. Step 100

    100

    #DFECF5

    oklch(93.6% 0.018 237.8)

  3. Step 200

    200

    #C5DDEE

    oklch(88.5% 0.035 238.7)

  4. Step 300

    300

    #9BC7E6

    oklch(80.9% 0.064 239.3)

  5. Step 400

    400

    #61A9D9

    oklch(70.7% 0.101 239.5)

  6. Step 500

    500 (this color)

    #228FCB

    oklch(62% 0.129 239.3)

  7. Step 600

    600

    #007BB4

    oklch(55.5% 0.126 239.3)

  8. Step 700

    700

    #006898

    oklch(49.2% 0.11 238.7)

  9. Step 800

    800

    #00557E

    oklch(42.8% 0.097 239.2)

  10. Step 900

    900

    #024669

    oklch(37.6% 0.084 239.7)

  11. Step 950

    950

    #07293E

    oklch(26.9% 0.055 240.7)

Export this scale for Tailwind in the Tailwind colors tool

#228FCB 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)#7290CE0.068
Deuteranopia (no green cones)#5C80CA0.055
Tritanopia (no blue cones)#009EA40.085
Achromatopsia (no color)#8787870.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #228FCB

    #228FCB

    oklch(62% 0.129 239.3)

  • #BE7027

    #BE7027

    oklch(61.9% 0.129 59)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #228FCB

    #228FCB

    oklch(62% 0.129 239.3)

  • #0097A9

    #0097A9

    oklch(61.9% 0.107 209.6)

  • #6781D4

    #6781D4

    oklch(62.1% 0.129 269.3)

Open the analogous palette in the generator

Split complementary

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

  • #228FCB

    #228FCB

    oklch(62% 0.129 239.3)

  • #C86457

    #C86457

    oklch(61.9% 0.13 29)

  • #A48100

    #A48100

    oklch(61.9% 0.127 89.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #228FCB

    #228FCB

    oklch(62% 0.129 239.3)

  • #C36284

    #C36284

    oklch(62% 0.129 359.3)

  • #7E9027

    #7E9027

    oklch(61.9% 0.129 118.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #228FCB

    #228FCB

    oklch(62% 0.129 239.3)

  • #B067AC

    #B067AC

    oklch(61.9% 0.13 329)

  • #BE7027

    #BE7027

    oklch(61.9% 0.129 59)

  • #449B59

    #449B59

    oklch(61.9% 0.13 149.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #228FCB 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.