#228FF2

Closest named color: Dodger Blue (#1E90FF). oklch(64.2% 0.175 251.4), rgb(34, 143, 242).

Aa

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

About this color

#228FF2 is a medium-light, vivid blue. In OKLCH its lightness is 64%, its chroma 0.175 and its hue 251°. Its hue sits on the cool side of the wheel. The nearest named color is Dodger Blue (#1E90FF), ΔE 0.019 away. Black text reads best on it, at 6.27:1.

Hue familyBlues
Lightnessmedium-light (64%)
Chromavivid (0.175)
Temperaturecool
Nearest nameDodger Blue (#1E90FF)
Black text6.27:1
White text3.34:1

Values

HEX#228FF2
RGBrgb(34, 143, 242)
HSLhsl(209, 89%, 54%)
OKLCHoklch(64.2% 0.175 251.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 #228FF2 3.34:1 AA large text Lc -65.8 Content text, not long reading
Black text on #228FF2 6.27:1 AA Lc 43.8 Non-text elements, placeholder text
#228FF2 text on white 3.34:1 AA large text Lc 60.3 Content text, not long reading
#228FF2 text on black 6.27:1 AA Lc -41.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

    #F0F6FD

    oklch(97.1% 0.011 252.1)

  2. Step 100

    100

    #DEEBFA

    oklch(93.5% 0.025 251.9)

  3. Step 200

    200

    #C3DCF8

    oklch(88.5% 0.047 251.3)

  4. Step 300

    300

    #98C5F7

    oklch(81% 0.086 251.5)

  5. Step 400

    400

    #5BA5F3

    oklch(70.8% 0.137 251.4)

  6. Step 500

    500 (this color)

    #228FF2

    oklch(64.2% 0.175 251.4)

  7. Step 600

    600

    #0074CE

    oklch(55.5% 0.163 251.5)

  8. Step 700

    700

    #0062AF

    oklch(49.2% 0.144 251.3)

  9. Step 800

    800

    #005091

    oklch(42.8% 0.126 251.5)

  10. Step 900

    900

    #00427A

    oklch(37.7% 0.112 251.7)

  11. Step 950

    950

    #052748

    oklch(27% 0.072 251.7)

Export this scale for Tailwind in the Tailwind colors tool

#228FF2 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)#5D96F60.048
Deuteranopia (no green cones)#3884F00.028
Tritanopia (no blue cones)#00A7B50.128
Achromatopsia (no color)#8C8C8C0.175

Harmonies

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

Complementary

The opposite hue (180°).

  • #228FF2

    #228FF2

    oklch(64.2% 0.175 251.4)

  • #C07C00

    #C07C00

    oklch(64.2% 0.138 71.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #228FF2

    #228FF2

    oklch(64.2% 0.175 251.4)

  • #009CBF

    #009CBF

    oklch(64.2% 0.118 221.3)

  • #7E7BF3

    #7E7BF3

    oklch(64.3% 0.175 281.4)

Open the analogous palette in the generator

Split complementary

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

  • #228FF2

    #228FF2

    oklch(64.2% 0.175 251.4)

  • #E05F27

    #E05F27

    oklch(64.1% 0.174 41.3)

  • #9E8E00

    #9E8E00

    oklch(64.1% 0.134 101.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #228FF2

    #228FF2

    oklch(64.2% 0.175 251.4)

  • #E15571

    #E15571

    oklch(64.1% 0.175 11.4)

  • #64A107

    #64A107

    oklch(64.2% 0.175 131.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #228FF2

    #228FF2

    oklch(64.2% 0.175 251.4)

  • #D05AAB

    #D05AAB

    oklch(64.1% 0.175 341.4)

  • #C07C00

    #C07C00

    oklch(64.2% 0.138 71.3)

  • #00A771

    #00A771

    oklch(64.3% 0.142 161.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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