#228CD8

Closest named color: Water Blue (#0E87CC). oklch(62% 0.146 245.9), rgb(34, 140, 216).

Aa

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

About this color

#228CD8 is a medium-dark, vivid blue. In OKLCH its lightness is 62%, its chroma 0.146 and its hue 246°. Its hue sits on the cool side of the wheel. The nearest named color is Water Blue (#0E87CC), ΔE 0.023 away. Black text reads best on it, at 5.81:1.

Hue familyBlues
Lightnessmedium-dark (62%)
Chromavivid (0.146)
Temperaturecool
Nearest nameWater Blue (#0E87CC)
Black text5.81:1
White text3.61:1

Values

HEX#228CD8
RGBrgb(34, 140, 216)
HSLhsl(205, 73%, 49%)
OKLCHoklch(62% 0.146 245.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 #228CD8 3.61:1 AA large text Lc -68.7 Content text, not long reading
Black text on #228CD8 5.81:1 AA Lc 40.8 Non-text elements, placeholder text
#228CD8 text on white 3.61:1 AA large text Lc 63.2 Content text, not long reading
#228CD8 text on black 5.81:1 AA Lc -38.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 500.

  1. Step 50

    50

    #F0F6FC

    oklch(97% 0.01 247.9)

  2. Step 100

    100

    #DFECF7

    oklch(93.7% 0.02 243.4)

  3. Step 200

    200

    #C4DCF2

    oklch(88.4% 0.04 245.9)

  4. Step 300

    300

    #9BC6ED

    oklch(80.9% 0.072 246.2)

  5. Step 400

    400

    #60A7E4

    oklch(70.7% 0.115 246.3)

  6. Step 500

    500 (this color)

    #228CD8

    oklch(62% 0.146 245.9)

  7. Step 600

    600

    #0078C1

    oklch(55.5% 0.143 246.2)

  8. Step 700

    700

    #0065A3

    oklch(49.1% 0.126 245.9)

  9. Step 800

    800

    #005387

    oklch(42.8% 0.11 245.8)

  10. Step 900

    900

    #024571

    oklch(37.8% 0.096 245.8)

  11. Step 950

    950

    #072842

    oklch(26.9% 0.061 246.8)

Export this scale for Tailwind in the Tailwind colors tool

#228CD8 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)#688FDB0.058
Deuteranopia (no green cones)#4D7FD70.041
Tritanopia (no blue cones)#009EA80.102
Achromatopsia (no color)#8787870.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #228CD8

    #228CD8

    oklch(62% 0.146 245.9)

  • #BD7200

    #BD7200

    oklch(62% 0.138 65.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #228CD8

    #228CD8

    oklch(62% 0.146 245.9)

  • #0096B0

    #0096B0

    oklch(62% 0.11 215.8)

  • #6F7BDD

    #6F7BDD

    oklch(61.9% 0.147 276)

Open the analogous palette in the generator

Split complementary

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

  • #228CD8

    #228CD8

    oklch(62% 0.146 245.9)

  • #CE6143

    #CE6143

    oklch(62% 0.146 36.3)

  • #9D8500

    #9D8500

    oklch(62% 0.128 96.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #228CD8

    #228CD8

    oklch(62% 0.146 245.9)

  • #CC5B79

    #CC5B79

    oklch(62% 0.146 5.7)

  • #70951D

    #70951D

    oklch(62% 0.147 126.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #228CD8

    #228CD8

    oklch(62% 0.146 245.9)

  • #BB60A7

    #BB60A7

    oklch(62% 0.146 336.1)

  • #BD7200

    #BD7200

    oklch(62% 0.138 65.9)

  • #129F5F

    #129F5F

    oklch(61.9% 0.146 156)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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