#2298F8

Closest named color: Chefchaouen Blue (#4895EF). oklch(66.6% 0.173 249.3), rgb(34, 152, 248).

Aa

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

About this color

#2298F8 is a medium-light, vivid blue. In OKLCH its lightness is 67%, its chroma 0.173 and its hue 249°. Its hue sits on the cool side of the wheel. The nearest named color is Chefchaouen Blue (#4895EF), ΔE 0.023 away. Black text reads best on it, at 6.91:1.

Hue familyBlues
Lightnessmedium-light (67%)
Chromavivid (0.173)
Temperaturecool
Nearest nameChefchaouen Blue (#4895EF)
Black text6.91:1
White text3.03:1

Values

HEX#2298F8
RGBrgb(34, 152, 248)
HSLhsl(207, 94%, 55%)
OKLCHoklch(66.6% 0.173 249.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 #2298F8 3.03:1 AA large text Lc -61.9 Content text, not long reading
Black text on #2298F8 6.91:1 AA Lc 47.5 Large or bold text, headings
#2298F8 text on white 3.03:1 AA large text Lc 56.6 Large or bold text, headings
#2298F8 text on black 6.91:1 AA Lc -45.2 Large or bold text, headings

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

    #DEECFA

    oklch(93.7% 0.024 248.1)

  3. Step 200

    200

    #C2DCF8

    oklch(88.4% 0.048 250.3)

  4. Step 300

    300

    #96C6F5

    oklch(81% 0.084 248.4)

  5. Step 400

    400

    #57A6F1

    oklch(70.7% 0.135 249.2)

  6. Step 500

    500 (this color)

    #2298F8

    oklch(66.6% 0.173 249.3)

  7. Step 600

    600

    #0076C9

    oklch(55.6% 0.155 249.4)

  8. Step 700

    700

    #0063AA

    oklch(49.1% 0.137 249.4)

  9. Step 800

    800

    #00518C

    oklch(42.7% 0.118 249.2)

  10. Step 900

    900

    #004376

    oklch(37.6% 0.105 249.5)

  11. Step 950

    950

    #032847

    oklch(27.1% 0.07 248.8)

Export this scale for Tailwind in the Tailwind colors tool

#2298F8 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)#699EFC0.056
Deuteranopia (no green cones)#468BF60.036
Tritanopia (no blue cones)#00AFBC0.124
Achromatopsia (no color)#9494940.173

Harmonies

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

Complementary

The opposite hue (180°).

  • #2298F8

    #2298F8

    oklch(66.6% 0.173 249.3)

  • #CC8100

    #CC8100

    oklch(66.6% 0.145 69.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2298F8

    #2298F8

    oklch(66.6% 0.173 249.3)

  • #00A4C6

    #00A4C6

    oklch(66.4% 0.121 219.6)

  • #8084FB

    #8084FB

    oklch(66.6% 0.173 279.1)

Open the analogous palette in the generator

Split complementary

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

  • #2298F8

    #2298F8

    oklch(66.6% 0.173 249.3)

  • #E96738

    #E96738

    oklch(66.7% 0.173 39.5)

  • #A99400

    #A99400

    oklch(66.5% 0.138 99.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2298F8

    #2298F8

    oklch(66.6% 0.173 249.3)

  • #E85E7D

    #E85E7D

    oklch(66.5% 0.172 9.2)

  • #71A711

    #71A711

    oklch(66.5% 0.173 129.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2298F8

    #2298F8

    oklch(66.6% 0.173 249.3)

  • #D663B6

    #D663B6

    oklch(66.6% 0.173 339.3)

  • #CC8100

    #CC8100

    oklch(66.6% 0.145 69.4)

  • #00AF71

    #00AF71

    oklch(66.5% 0.152 159.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2298F8 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.