#228CF8

Closest named color: Dodger Blue (#1E90FF). oklch(63.9% 0.185 253.6), rgb(34, 140, 248).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-light (64%)
Chromavivid (0.185)
Temperaturecool
Nearest nameDodger Blue (#1E90FF)
Black text6.17:1
White text3.40:1

Values

HEX#228CF8
RGBrgb(34, 140, 248)
HSLhsl(210, 94%, 55%)
OKLCHoklch(63.9% 0.185 253.6)

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 #228CF8 3.40:1 AA large text Lc -66.4 Content text, not long reading
Black text on #228CF8 6.17:1 AA Lc 43.2 Non-text elements, placeholder text
#228CF8 text on white 3.40:1 AA large text Lc 60.9 Content text, not long reading
#228CF8 text on black 6.17:1 AA Lc -40.8 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

    #F0F6FE

    oklch(97.1% 0.012 255.5)

  2. Step 100

    100

    #DEEBFC

    oklch(93.5% 0.027 255.1)

  3. Step 200

    200

    #C3DCFA

    oklch(88.6% 0.049 253.1)

  4. Step 300

    300

    #98C4FA

    oklch(80.9% 0.09 253.9)

  5. Step 400

    400

    #5BA3F8

    oklch(70.6% 0.145 253.9)

  6. Step 500

    500 (this color)

    #228CF8

    oklch(63.9% 0.185 253.6)

  7. Step 600

    600

    #0072D5

    oklch(55.5% 0.175 253.6)

  8. Step 700

    700

    #0060B5

    oklch(49.2% 0.155 253.6)

  9. Step 800

    800

    #004E96

    oklch(42.7% 0.135 253.8)

  10. Step 900

    900

    #00417E

    oklch(37.7% 0.118 253.6)

  11. Step 950

    950

    #05264A

    oklch(26.8% 0.077 253.9)

Export this scale for Tailwind in the Tailwind colors tool

#228CF8 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)#5395FC0.043
Deuteranopia (no green cones)#2483F60.023
Tritanopia (no blue cones)#00A6B60.137
Achromatopsia (no color)#8B8B8B0.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #228CF8

    #228CF8

    oklch(63.9% 0.185 253.6)

  • #BC7D00

    #BC7D00

    oklch(63.9% 0.136 73.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #228CF8

    #228CF8

    oklch(63.9% 0.185 253.6)

  • #009BC1

    #009BC1

    oklch(64% 0.12 223.3)

  • #8176F6

    #8176F6

    oklch(63.9% 0.185 283.7)

Open the analogous palette in the generator

Split complementary

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

  • #228CF8

    #228CF8

    oklch(63.9% 0.185 253.6)

  • #E35C07

    #E35C07

    oklch(64% 0.185 43.8)

  • #9B8F00

    #9B8F00

    oklch(64% 0.135 103.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #228CF8

    #228CF8

    oklch(63.9% 0.185 253.6)

  • #E54F6A

    #E54F6A

    oklch(63.9% 0.185 13.5)

  • #5BA200

    #5BA200

    oklch(64% 0.182 133.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #228CF8

    #228CF8

    oklch(63.9% 0.185 253.6)

  • #D554A8

    #D554A8

    oklch(64% 0.186 343.7)

  • #BC7D00

    #BC7D00

    oklch(63.9% 0.136 73.8)

  • #00A575

    #00A575

    oklch(63.9% 0.136 163.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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